|
| CWinApp (const char *appName=nullptr) |
|
int | Run () |
|
virtual bool | InitApplication () |
|
virtual bool | SaveAllModified () |
|
void | SetDialogBkColor () |
|
HCURSOR | LoadStandardCursor (const char *lpszCursorName) |
|
HCURSOR | LoadCursor (const char *lpszResourceName) |
|
HCURSOR | LoadCursor (unsigned int nIDResource) |
|
HCURSOR | SetCursor (HCURSOR hCursor) |
|
void | BeginWaitCursor () |
|
void | EndWaitCursor () |
|
void | DoWaitCursor (int nCode) override |
|
void | AddDocTemplate (CDocTemplate *pTemplate) |
|
void | CloseAllDocuments (bool bEndSession) |
|
unsigned int | GetProfileInt (const char *lpszSection, const char *lpszEntry, int nDefault) |
|
void | WriteProfileInt (const char *lpszSection, const char *lpszEntry, int nValue) |
|
CString | GetProfileString (const char *lpszSection, const char *lpszEntry, const char *lpszDefault=nullptr) |
|
bool | WriteProfileString (const char *lpszSection, const char *lpszEntry, const char *lpszValue) |
|
virtual void | OnFileNew () |
|
virtual void | OnFileOpen () |
|
virtual void | OnFilePrintSetup () |
|
CHandleMap< CGdiObject > * | afxMapHGDIOBJ (bool bCreate=false) |
|
CHandleMap< CDC > * | afxMapHDC (bool bCreate=false) |
|
CHandleMap< CWnd > * | afxMapWnd (bool bCreate=false) |
|
void | AfxUnlockTempMaps () |
|
void | setDirectory (const char *folder) |
|
void | setPalette (const Graphics::Palette &pal) |
|
byte | getColor (COLORREF color) const |
|
Graphics::Screen * | getScreen () |
|
void | addResources (const Common::Path &file) |
|
void | removeResources (const Common::Path &file) |
|
HRSRC | findResource (const char *lpName, const char *lpType) |
|
size_t | sizeofResource (HRSRC hResInfo) |
|
HGLOBAL | loadResource (HRSRC hResInfo) |
|
void * | lockResource (HGLOBAL hResData) |
|
void | unlockResource (HGLOBAL hResData) |
|
bool | freeResource (HGLOBAL hResData) |
|
const Libs::Resources & | getResources () const |
|
int | addFontResource (const char *fontName) |
|
bool | removeFontResource (const char *fontName) |
|
HFONT | createFont (int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, byte bItalic, byte bUnderline, byte cStrikeOut, byte nCharSet, byte nOutPrecision, byte nClipPrecision, byte nQuality, byte nPitchAndFamily, const char *lpszFacename) |
|
HFONT | getFont (const char *lpszFacename, int nHeight) |
|
HFONT | getDefaultFont () |
|
HPEN | getDefaultPen () const |
|
HBRUSH | getDefaultBrush () |
|
HPALETTE | getSystemPalette () |
|
const char * | AfxRegisterWndClass (unsigned int nClassStyle, HCURSOR hCursor, HBRUSH hbrBackground, HICON hIcon) |
|
bool | GetClassInfo (HINSTANCE hInstance, const char *lpClassName, LPWNDCLASS lpWndClass) |
|
virtual const AFX_MSGMAP * | GetMessageMap () const |
|
void | BeginWaitCursor () |
|
void | EndWaitCursor () |
|
void | RestoreWaitCursor () |
|
bool | OnCmdMsg (unsigned int nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo) |
|
| CObject (const CObject &)=default |
|
CObject & | operator= (const CObject &)=default |
|
virtual const CRuntimeClass * | GetRuntimeClass () const |
|
virtual void | AssertValid () const |
|
virtual void | Dump (CDumpContext &dc) const |
|
bool | IsKindOf (const CRuntimeClass *pClass) const |
|
void | runEventLoop () |
|
void | SetActiveWindow (CWnd *wnd) |
|
void | PopActiveWindow () |
|
CWnd * | GetActiveWindow () const |
|
void | doModal (CWnd *wnd) |
|
void | checkMessages () |
|
bool | pollEvents (Common::Event &event) |
|
bool | PeekMessage (LPMSG lpMsg, HWND hWnd, unsigned int wMsgFilterMin, unsigned int wMsgFilterMax, unsigned int wRemoveMsg) |
|
bool | PostMessage (HWND hWnd, unsigned int Msg, WPARAM wParam, LPARAM lParam) |
|
void | TranslateMessage (LPMSG lpMsg) |
|
void | DispatchMessage (LPMSG lpMsg) |
|
bool | shouldQuit () const |
|
bool | isQuitting () const |
|
void | quit () |
|
void | SetCapture (HWND hWnd) |
|
void | ReleaseCapture () |
|
HWND | GetCapture () const |
|
Common::Point | getMousePos () const |
|
void | setMousePos (const Common::Point &pt) |
|
void | SetFocus (CWnd *wnd) |
|
CWnd * | GetFocus () const |
|
MMRESULT | joySetCapture (HWND hwnd, unsigned int uJoyID, unsigned int uPeriod, bool fChanged) |
|
MMRESULT | joySetThreshold (unsigned int uJoyID, unsigned int uThreshold) |
|
MMRESULT | joyGetPos (unsigned int uJoyID, LPJOYINFO pji) |
|
MMRESULT | joyReleaseCapture (unsigned int uJoyID) |
|
HHOOK | HookKeyboard (HOOKPROC proc) |
|
void | UnhookKeyboard (HHOOK hook) |
|
uintptr | SetTimer (HWND hWnd, uintptr nIDEvent, unsigned int nElapse, void(CALLBACK *lpfnTimer)(HWND, unsigned int, uintptr, uint32)) |
|
bool | KillTimer (HWND hWnd, uintptr nIDEvent) |
|
void | pause () |
|
WndList & | afxUpdateWnds () |
|
virtual bool | OnIdle (long lCount) |
|
void | setKeybinder (KeybindProc proc) |
|
void | setFocusChangeProc (FocusChangeProc proc) |
|