ReactOS 0.4.16-dev-814-g656a5dc
|
#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 184 of file paint.c.
Referenced by draw_space(), and draw_text_with_style().
|
static |
Definition at line 912 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 931 of file paint.c.
Referenced by editor_draw().
|
static |
Definition at line 457 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 283 of file paint.c.
Referenced by draw_run().
|
static |
Definition at line 713 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 344 of file paint.c.
Referenced by draw_text_with_style().
|
static |
Definition at line 382 of file paint.c.
Referenced by draw_run().
Definition at line 260 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 1206 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_MouseMove(), and ME_UpdateRepaint().
|
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 218 of file paint.c.
Referenced by draw_text().
|
static |
Definition at line 333 of file paint.c.
Referenced by draw_text_with_style().
|
static |
Definition at line 202 of file paint.c.
Referenced by draw_para_number(), draw_space(), and draw_text().
Definition at line 233 of file paint.c.
Referenced by draw_underline().
Definition at line 447 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 552 of file paint.c.
Referenced by draw_paragraph().
|
static |
Definition at line 524 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_GetParaBorderWidth().
int ME_GetParaBorderWidth | ( | const ME_Context * | c, |
int | flags | ||
) |
Definition at line 537 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_WrapTextParagraph().
void ME_InvalidateSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1247 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 119 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_RewrapRepaint(), scroll_abs(), and table_handle_tab().
void ME_RewrapRepaint | ( | ME_TextEditor * | editor | ) |
Definition at line 156 of file paint.c.
Referenced by editor_handle_message(), fnTextSrv_OnTxInPlaceActivate(), fnTextSrv_OnTxPropertyBitsChange(), and ME_SetZoom().
void ME_ScrollDown | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1132 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 1142 of file paint.c.
Referenced by editor_handle_message().
void ME_ScrollUp | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1127 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 1304 of file paint.c.
Referenced by editor_handle_message().
int ME_twips2pointsX | ( | const ME_Context * | c, |
int | x | ||
) |
Definition at line 167 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 175 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 129 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 1147 of file paint.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), ME_Repaint(), ME_RewrapRepaint(), ME_UpdateRepaint(), and scroll_abs().
void scroll_abs | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y, | ||
BOOL | notify | ||
) |
Definition at line 1087 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 1117 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 1122 of file paint.c.
Referenced by editor_handle_message(), ME_ScrollDown(), ME_ScrollUp(), and ME_UpdateScrollBar().
|
static |
Definition at line 1070 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 498 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_GetParaBorderWidth().
unsigned pen_style |
Definition at line 498 of file paint.c.
Referenced by ME_DrawParaDecoration().
Definition at line 498 of file paint.c.
Referenced by draw_table_borders(), DrawFrame(), ME_GetBorderPenWidth(), and ME_GetParaBorderWidth().