ReactOS 0.4.15-dev-7131-ge4d03f4
|
#include <consrv.h>
#include <intrin.h>
#include <windowsx.h>
#include <shellapi.h>
#include <debug.h>
#include "concfg/font.h"
#include "guiterm.h"
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | _GUICONSOLE_MENUITEM |
Macros | |
#define | NDEBUG |
#define | CONGUI_MIN_WIDTH 10 |
#define | CONGUI_MIN_HEIGHT 10 |
#define | CONGUI_UPDATE_TIME 0 |
#define | CONGUI_UPDATE_TIMER 1 |
#define | CURSOR_BLINK_TIME 500 |
#define | GWLP_CONWND_ALLOC (2 * sizeof(LONG_PTR)) |
#define | GWLP_CONSOLE_LEADER_PID 0 |
#define | GWLP_CONSOLE_LEADER_TID 4 |
#define | IS_WORD_SEP(c) ((c) == L'\0' || (c) == L' ' || (c) == L'\t' || (c) == L'\r' || (c) == L'\n') |
Typedefs | |
typedef struct _GUICONSOLE_MENUITEM | GUICONSOLE_MENUITEM |
typedef struct _GUICONSOLE_MENUITEM * | PGUICONSOLE_MENUITEM |
Variables | |
HICON | ghDefaultIcon = NULL |
HICON | ghDefaultIconSm = NULL |
HCURSOR | ghDefaultCursor = NULL |
static const GUICONSOLE_MENUITEM | GuiConsoleEditMenuItems [] |
static const GUICONSOLE_MENUITEM | GuiConsoleMainMenuItems [] |
const COLORREF | s_Colors [16] |
#define IS_WORD_SEP | ( | c | ) | ((c) == L'\0' || (c) == L' ' || (c) == L'\t' || (c) == L'\r' || (c) == L'\n') |
typedef struct _GUICONSOLE_MENUITEM * PGUICONSOLE_MENUITEM |
|
static |
Definition at line 188 of file conwnd.c.
Referenced by AppendMenuItems(), ConWndProc(), and CreateSysMenu().
Definition at line 2272 of file conwnd.c.
Referenced by RegisterConWndClass().
|
static |
Definition at line 2051 of file conwnd.c.
Referenced by OnCommand(), OnKey(), and OnMouse().
|
static |
Definition at line 492 of file conwnd.c.
Referenced by InitFonts().
Definition at line 2258 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 810 of file conwnd.c.
Referenced by PaintSelectionRect(), and UpdateSelection().
Definition at line 242 of file conwnd.c.
Referenced by GuiConsoleInputThread().
VOID DeleteFonts | ( | PGUI_CONSOLE_DATA | GuiData | ) |
Definition at line 481 of file conwnd.c.
Referenced by InitFonts(), and OnNcDestroy().
VOID GetSelectionBeginEnd | ( | PCOORD | Begin, |
PCOORD | End, | ||
PCOORD | SelectionAnchor, | ||
PSMALL_RECT | SmallRect | ||
) |
Definition at line 789 of file conwnd.c.
Referenced by CreateSelectionRgn(), and GuiCopyFromTextModeBuffer().
|
static |
Definition at line 420 of file conwnd.c.
Referenced by ConWndProc(), and OnNcDestroy().
BOOL InitFonts | ( | _Inout_ PGUI_CONSOLE_DATA | GuiData, |
_In_reads_or_z_(LF_FACESIZE) PCWSTR | FaceName, | ||
_In_ ULONG | FontWeight, | ||
_In_ ULONG | FontFamily, | ||
_In_ COORD | FontSize, | ||
_In_opt_ UINT | CodePage, | ||
_In_ BOOL | UseDefaultFallback | ||
) |
Definition at line 521 of file conwnd.c.
Referenced by GuiApplyUserSettings(), GuiSetCodePage(), and OnNcCreate().
VOID InvalidateCell | ( | PGUI_CONSOLE_DATA | GuiData, |
SHORT | x, | ||
SHORT | y | ||
) |
Definition at line 88 of file guiterm.c.
Referenced by GuiSetCursorInfo(), GuiSetScreenInfo(), GuiWriteStream(), and OnTimer().
|
static |
Definition at line 300 of file conwnd.c.
Referenced by EmbeddedPointerMarshall(), EmbeddedPointerMemorySize(), EmbeddedPointerUnmarshall(), OnCommand(), and WmipIoControl().
|
static |
Definition at line 722 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1419 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 356 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 2206 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 759 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 2094 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1145 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1600 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 2192 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 630 of file conwnd.c.
Referenced by ConWndProc().
Definition at line 1440 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1043 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1098 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1466 of file conwnd.c.
Referenced by ConWndProc(), and OnMouse().
|
static |
Definition at line 2126 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 1310 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 900 of file conwnd.c.
Referenced by OnPaint().
|
static |
Definition at line 2074 of file conwnd.c.
Referenced by DECLARE_INTERFACE_(), OnCommand(), OnMouse(), and CConsole::ReadLine().
|
static |
Definition at line 136 of file conwnd.c.
Referenced by GuiInit().
|
static |
Definition at line 428 of file conwnd.c.
Referenced by ConWndProc(), and OnSize().
|
static |
Definition at line 315 of file conwnd.c.
Referenced by OnCommand().
|
static |
Definition at line 274 of file conwnd.c.
Referenced by ConWndProc(), and OnCommand().
VOID SetConWndConsoleLeaderCID | ( | IN PGUI_CONSOLE_DATA | GuiData | ) |
Definition at line 48 of file conwnd.c.
Referenced by GuiRefreshInternalInfo().
|
static |
Definition at line 920 of file conwnd.c.
Referenced by Copy(), Mark(), OnKey(), OnMouse(), and SelectAll().
Definition at line 75 of file conwnd.c.
Referenced by GuiInitFrontEnd(), GuiSetMouseCursor(), and RegisterConWndClass().
Definition at line 73 of file conwnd.c.
Referenced by GuiChangeIcon(), GuiDeinitFrontEnd(), GuiInitFrontEnd(), OnNcCreate(), and RegisterConWndClass().
Definition at line 74 of file conwnd.c.
Referenced by GuiChangeIcon(), GuiDeinitFrontEnd(), GuiInitFrontEnd(), and RegisterConWndClass().
|
static |
Definition at line 84 of file conwnd.c.
Referenced by ConWndProc().
|
static |
Definition at line 96 of file conwnd.c.
Referenced by CreateSysMenu().