Public Member Functions | |
State (C4ConsoleGUI *console) | |
BOOL | RegisterConsoleWindowClass (HINSTANCE hInst) |
bool | AddMenuItem (HMENU hMenu, DWORD dwID, const char *szString, bool fEnabled=true) |
State (C4ConsoleGUI *console) | |
~State () | |
void | CreateBitmaps (C4AbstractApp *application) |
void | UpdateMenuText (C4ConsoleGUI &console, HMENU hMenu) |
void | PropertyDlgInitLayout () |
void | PropertyDlgUpdateSize () |
void | ConsoleInitLayout () |
void | ConsoleUpdateSize () |
class C4ConsoleGUI * | GetOwner () |
Public Attributes | |
HWND | hPropertyDlg |
HBITMAP | hbmMouse |
HBITMAP | hbmMouse2 |
HBITMAP | hbmCursor |
HBITMAP | hbmCursor2 |
HBITMAP | hbmBrush |
HBITMAP | hbmBrush2 |
HBITMAP | hbmPlay |
HBITMAP | hbmPlay2 |
HBITMAP | hbmHalt |
HBITMAP | hbmHalt2 |
int | MenuIndexFile |
int | MenuIndexPlayer |
int | MenuIndexViewport |
int | MenuIndexNet |
int | MenuIndexHelp |
int | property_dlg_inputarea_height |
int | property_dlg_margin |
int | property_dlg_okbutton_width |
HWND | console_handle |
int | console_default_width |
int | console_default_height |
int | console_margin |
int | console_wide_margin |
int | console_button_height |
int | console_ok_button_width |
int | console_status_width |
Protected Types | |
typedef class InternalState< class C4ConsoleGUI > | Super |
Definition at line 652 of file C4Console.cpp.
|
protectedinherited |
Definition at line 172 of file C4ConsoleGUI.h.
|
inline |
Definition at line 654 of file C4Console.cpp.
|
inline |
Definition at line 94 of file C4ConsoleWin32.cpp.
References console_button_height, console_default_height, console_default_width, console_handle, console_margin, console_ok_button_width, console_status_width, console_wide_margin, hbmBrush, hbmBrush2, hbmCursor, hbmCursor2, hbmHalt, hbmHalt2, hbmMouse, hbmMouse2, hbmPlay, hbmPlay2, hPropertyDlg, MenuIndexFile, MenuIndexHelp, MenuIndexNet, MenuIndexPlayer, MenuIndexViewport, property_dlg_inputarea_height, property_dlg_margin, and property_dlg_okbutton_width.
|
inline |
bool C4ConsoleGUI::State::AddMenuItem | ( | HMENU | hMenu, |
DWORD | dwID, | ||
const char * | szString, | ||
bool | fEnabled = true |
||
) |
|
inline |
Definition at line 227 of file C4ConsoleWin32.cpp.
References console_button_height, console_default_height, console_default_width, console_handle, console_margin, console_ok_button_width, console_status_width, console_wide_margin, and IDC_STATICTIME.
|
inline |
Definition at line 247 of file C4ConsoleWin32.cpp.
References console_button_height, console_default_width, console_handle, console_margin, console_ok_button_width, console_status_width, console_wide_margin, IDC_BUTTONHALT, IDC_BUTTONMODEDRAW, IDC_BUTTONMODEEDIT, IDC_BUTTONMODEPLAY, IDC_BUTTONPLAY, IDC_COMBOINPUT, IDC_EDITOUTPUT, IDC_STATICCURSOR, IDC_STATICFRAME, and IDC_STATICTIME.
|
inline |
Definition at line 139 of file C4ConsoleWin32.cpp.
References hbmBrush, hbmBrush2, hbmCursor, hbmCursor2, hbmHalt, hbmHalt2, hbmMouse, hbmMouse2, hbmPlay, hbmPlay2, IDB_BRUSH, IDB_BRUSH2, IDB_CURSOR, IDB_CURSOR2, IDB_HALT, IDB_HALT2, IDB_MOUSE, IDB_MOUSE2, IDB_PLAY, and IDB_PLAY2.
|
inlineinherited |
Definition at line 47 of file C4ConsoleGUI.h.
|
inline |
Definition at line 182 of file C4ConsoleWin32.cpp.
References hPropertyDlg, property_dlg_inputarea_height, property_dlg_margin, and property_dlg_okbutton_width.
|
inline |
Definition at line 196 of file C4ConsoleWin32.cpp.
References hPropertyDlg, IDC_COMBOINPUT, IDC_EDITOUTPUT, property_dlg_inputarea_height, property_dlg_margin, and property_dlg_okbutton_width.
BOOL C4ConsoleGUI::State::RegisterConsoleWindowClass | ( | HINSTANCE | hInst | ) |
|
inline |
Definition at line 154 of file C4ConsoleWin32.cpp.
References C4Window::Active, IDM_FILE_CLOSE, IDM_FILE_OPEN, IDM_FILE_OPENWPLRS, IDM_FILE_QUIT, IDM_FILE_RECORD, IDM_FILE_SAVE, IDM_FILE_SAVEAS, IDM_FILE_SAVEGAMEAS, IDM_HELP_ABOUT, IDM_PLAYER_JOIN, IDM_VIEWPORT_NEW, LoadResStr(), LoadResStrW(), MenuIndexFile, MenuIndexHelp, MenuIndexPlayer, MenuIndexViewport, and SetMenuItemText().
int C4ConsoleGUI::State::console_button_height |
Definition at line 90 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
int C4ConsoleGUI::State::console_default_height |
Definition at line 87 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), and State().
int C4ConsoleGUI::State::console_default_width |
Definition at line 87 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
HWND C4ConsoleGUI::State::console_handle |
Definition at line 86 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
int C4ConsoleGUI::State::console_margin |
Definition at line 88 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
int C4ConsoleGUI::State::console_ok_button_width |
Definition at line 91 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
int C4ConsoleGUI::State::console_status_width |
Definition at line 92 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
int C4ConsoleGUI::State::console_wide_margin |
Definition at line 89 of file C4ConsoleWin32.cpp.
Referenced by ConsoleInitLayout(), ConsoleUpdateSize(), and State().
HBITMAP C4ConsoleGUI::State::hbmBrush |
Definition at line 72 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmBrush2 |
Definition at line 73 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmCursor |
Definition at line 70 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmCursor2 |
Definition at line 71 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmHalt |
Definition at line 76 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmHalt2 |
Definition at line 77 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmMouse |
Definition at line 68 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmMouse2 |
Definition at line 69 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmPlay |
Definition at line 74 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HBITMAP C4ConsoleGUI::State::hbmPlay2 |
Definition at line 75 of file C4ConsoleWin32.cpp.
Referenced by CreateBitmaps(), State(), and ~State().
HWND C4ConsoleGUI::State::hPropertyDlg |
Definition at line 67 of file C4ConsoleWin32.cpp.
Referenced by PropertyDlgInitLayout(), PropertyDlgUpdateSize(), and State().
int C4ConsoleGUI::State::MenuIndexFile |
Definition at line 78 of file C4ConsoleWin32.cpp.
Referenced by State(), and UpdateMenuText().
int C4ConsoleGUI::State::MenuIndexHelp |
Definition at line 82 of file C4ConsoleWin32.cpp.
Referenced by State(), and UpdateMenuText().
int C4ConsoleGUI::State::MenuIndexNet |
Definition at line 81 of file C4ConsoleWin32.cpp.
Referenced by State().
int C4ConsoleGUI::State::MenuIndexPlayer |
Definition at line 79 of file C4ConsoleWin32.cpp.
Referenced by State(), and UpdateMenuText().
int C4ConsoleGUI::State::MenuIndexViewport |
Definition at line 80 of file C4ConsoleWin32.cpp.
Referenced by State(), and UpdateMenuText().
int C4ConsoleGUI::State::property_dlg_inputarea_height |
Definition at line 83 of file C4ConsoleWin32.cpp.
Referenced by PropertyDlgInitLayout(), PropertyDlgUpdateSize(), and State().
int C4ConsoleGUI::State::property_dlg_margin |
Definition at line 84 of file C4ConsoleWin32.cpp.
Referenced by PropertyDlgInitLayout(), PropertyDlgUpdateSize(), and State().
int C4ConsoleGUI::State::property_dlg_okbutton_width |
Definition at line 85 of file C4ConsoleWin32.cpp.
Referenced by PropertyDlgInitLayout(), PropertyDlgUpdateSize(), and State().