|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "editor.h"
Go to the source code of this file.
Macros | |
| #define | DD(x) ((para->fmt.wBorders & (x)) ? (pen_width + 1) : 0) |
Variables | |
| struct { | |
| unsigned width: 8 | |
| unsigned pen_style: 4 | |
| unsigned dble: 1 | |
| } | border_details [] |
| static const COLORREF | pen_colors [16] |
|
static |
Definition at line 188 of file paint.c.
Referenced by draw_space(), and draw_text_with_style().
|
static |
Definition at line 916 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 935 of file paint.c.
Referenced by editor_draw().
|
static |
Definition at line 461 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 287 of file paint.c.
Referenced by draw_run().
|
static |
Definition at line 717 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 348 of file paint.c.
Referenced by draw_text_with_style().
|
static |
Definition at line 386 of file paint.c.
Referenced by draw_run().
Definition at line 264 of file paint.c.
Referenced by draw_space(), and draw_text().
| void editor_draw | ( | ME_TextEditor * | editor, |
| HDC | hDC, | ||
| const RECT * | update | ||
| ) |
Definition at line 33 of file paint.c.
Referenced by fnTextSrv_TxDraw().
| void editor_ensure_visible | ( | ME_TextEditor * | editor, |
| ME_Cursor * | cursor | ||
| ) |
Definition at line 1210 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_MouseMove(), ME_UpdateRepaint(), and set_selection().
|
inlinestatic |
Definition at line 28 of file paint.c.
Referenced by draw_paragraph(), draw_table_borders(), editor_draw(), and ME_DrawParaDecoration().
|
static |
|
static |
Definition at line 222 of file paint.c.
Referenced by draw_text().
|
static |
Definition at line 337 of file paint.c.
Referenced by draw_text_with_style().
|
static |
Definition at line 206 of file paint.c.
Referenced by draw_para_number(), draw_space(), and draw_text().
Definition at line 237 of file paint.c.
Referenced by draw_underline().
Definition at line 451 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 556 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 528 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_GetParaBorderWidth().
| int ME_GetParaBorderWidth | ( | const ME_Context * | c, |
| int | flags | ||
| ) |
Definition at line 541 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_WrapTextParagraph().
| void ME_InvalidateSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1253 of file paint.c.
Referenced by editor_handle_message(), fnTextSrv_OnTxPropertyBitsChange(), ME_ArrowKey(), ME_LButtonDown(), ME_MouseMove(), set_selection(), and table_handle_tab().
| void ME_Repaint | ( | ME_TextEditor * | editor | ) |
Definition at line 121 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_RewrapRepaint(), scroll_abs(), set_selection(), and table_handle_tab().
| void ME_RewrapRepaint | ( | ME_TextEditor * | editor | ) |
Definition at line 160 of file paint.c.
Referenced by editor_handle_message(), fnTextSrv_OnTxInPlaceActivate(), fnTextSrv_OnTxPropertyBitsChange(), ITextDocument2Old_fnUnfreeze(), and ME_SetZoom().
| void ME_ScrollDown | ( | ME_TextEditor * | editor, |
| int | cy | ||
| ) |
Definition at line 1136 of file paint.c.
Referenced by editor_handle_message(), and ME_ArrowPageDown().
| void ME_ScrollLeft | ( | ME_TextEditor * | editor, |
| int | cx | ||
| ) |
| void ME_ScrollRight | ( | ME_TextEditor * | editor, |
| int | cx | ||
| ) |
Definition at line 1146 of file paint.c.
Referenced by editor_handle_message().
| void ME_ScrollUp | ( | ME_TextEditor * | editor, |
| int | cy | ||
| ) |
Definition at line 1131 of file paint.c.
Referenced by editor_handle_message(), and ME_ArrowPageUp().
| BOOL ME_SetZoom | ( | ME_TextEditor * | editor, |
| int | numerator, | ||
| int | denominator | ||
| ) |
Definition at line 1310 of file paint.c.
Referenced by editor_handle_message().
| int ME_twips2pointsX | ( | const ME_Context * | c, |
| int | x | ||
| ) |
Definition at line 171 of file paint.c.
Referenced by adjust_para_y(), draw_table_borders(), ME_BeginRow(), ME_GetRunSizeCommon(), ME_InitContext(), and ME_WrapTextParagraph().
| int ME_twips2pointsY | ( | const ME_Context * | c, |
| int | y | ||
| ) |
Definition at line 179 of file paint.c.
Referenced by adjust_para_y(), calc_y_offset(), draw_table_borders(), ME_DrawParaDecoration(), ME_GetParaLineSpace(), ME_LogFontFromStyle(), and ME_WrapTextParagraph().
| void ME_UpdateRepaint | ( | ME_TextEditor * | editor, |
| BOOL | update_now | ||
| ) |
Definition at line 132 of file paint.c.
Referenced by editor_copy_or_cut(), editor_handle_message(), fnTextSrv_TxSetText(), handle_enter(), handle_wm_char(), IRichEditOle_fnInsertObject(), ME_KeyDown(), ME_Redo(), ME_ReplaceSel(), ME_StreamIn(), ME_Undo(), and paste_emf().
| void ME_UpdateScrollBar | ( | ME_TextEditor * | editor | ) |
Definition at line 1151 of file paint.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), ME_Repaint(), ME_RewrapRepaint(), ME_UpdateRepaint(), scroll_abs(), set_textfont_prop(), and textrange_set_font().
| void scroll_abs | ( | ME_TextEditor * | editor, |
| int | x, | ||
| int | y, | ||
| BOOL | notify | ||
| ) |
Definition at line 1091 of file paint.c.
Referenced by editor_ensure_visible(), editor_handle_message(), ITextRange_fnScrollIntoView(), scroll_h_abs(), and scroll_v_abs().
| void scroll_h_abs | ( | ME_TextEditor * | editor, |
| int | x, | ||
| BOOL | notify | ||
| ) |
Definition at line 1121 of file paint.c.
Referenced by editor_ensure_visible(), editor_handle_message(), ME_ScrollLeft(), ME_ScrollRight(), and ME_UpdateScrollBar().
| void scroll_v_abs | ( | ME_TextEditor * | editor, |
| int | y, | ||
| BOOL | notify | ||
| ) |
Definition at line 1126 of file paint.c.
Referenced by editor_handle_message(), ME_ScrollDown(), ME_ScrollUp(), and ME_UpdateScrollBar().
|
static |
Definition at line 1074 of file paint.c.
Referenced by ME_UpdateScrollBar(), and scroll_abs().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |
| const struct { ... } border_details[] |
Referenced by ME_DrawParaDecoration(), ME_GetBorderPenWidth(), and ME_GetParaBorderWidth().
| unsigned dble |
Definition at line 502 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_GetParaBorderWidth().
| unsigned pen_style |
Definition at line 502 of file paint.c.
Referenced by ME_DrawParaDecoration().
Definition at line 502 of file paint.c.
Referenced by draw_table_borders(), DrawFrame(), ME_GetBorderPenWidth(), and ME_GetParaBorderWidth().