#include "C4Include.h"
#include "C4ForbidLibraryCompilation.h"
#include "platform/C4Window.h"
#include "C4Version.h"
#include "editor/C4Console.h"
#include "editor/C4ViewportWindow.h"
#include "game/C4Application.h"
#include "game/C4FullScreen.h"
#include "game/C4GraphicsSystem.h"
#include "game/C4Viewport.h"
#include "graphics/C4DrawGL.h"
#include "gui/C4MouseControl.h"
#include "lib/C4Rect.h"
#include "platform/C4AppWin32Impl.h"
#include "platform/StdRegistry.h"
#include "res/resource.h"
#include "platform/C4windowswrapper.h"
#include <mmsystem.h>
#include <shellapi.h>
Go to the source code of this file.
Macros | |
#define | C4ViewportClassName L"C4Viewport" |
#define | C4FullScreenClassName L"C4FullScreen" |
#define | ConsoleDlgClassName L"C4GUIdlg" |
#define | ConsoleDlgWindowStyle (WS_VISIBLE | WS_POPUP | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX) |
#define | CDSE_ERROR(error) case error: sLastError = LoadResStr("IDS_ERR_" #error); break |
Functions | |
LRESULT APIENTRY | FullScreenWinProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
bool | ConsoleHandleWin32KeyboardMessage (MSG *msg) |
LRESULT APIENTRY | ViewportWinProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
LRESULT APIENTRY | DialogWinProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
int | GLMonitorInfoEnumCount |
#define C4FullScreenClassName L"C4FullScreen" |
Definition at line 43 of file C4WindowWin32.cpp.
#define C4ViewportClassName L"C4Viewport" |
Definition at line 42 of file C4WindowWin32.cpp.
#define CDSE_ERROR | ( | error | ) | case error: sLastError = LoadResStr("IDS_ERR_" #error); break |
#define ConsoleDlgClassName L"C4GUIdlg" |
Definition at line 44 of file C4WindowWin32.cpp.
#define ConsoleDlgWindowStyle (WS_VISIBLE | WS_POPUP | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX) |
Definition at line 45 of file C4WindowWin32.cpp.
bool ConsoleHandleWin32KeyboardMessage | ( | MSG * | msg | ) |
Definition at line 252 of file C4WindowWin32.cpp.
References C4Game::DoKeyboardInput(), and Game.
LRESULT APIENTRY DialogWinProc | ( | HWND | hwnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 494 of file C4WindowWin32.cpp.
References GET_X_LPARAM, GET_Y_LPARAM, C4GUI::Screen::GetDialog(), and pGUI.
LRESULT APIENTRY FullScreenWinProc | ( | HWND | hwnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 86 of file C4WindowWin32.cpp.
References GET_X_LPARAM, and GET_Y_LPARAM.
LRESULT APIENTRY ViewportWinProc | ( | HWND | hwnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 271 of file C4WindowWin32.cpp.
References C4ViewportList::GetViewport(), and Viewports.
int GLMonitorInfoEnumCount |
Definition at line 888 of file C4WindowWin32.cpp.