#include <Win32_Platform.h>
Public Member Functions | |
void | DestroyWindow () |
void | Exit (int exitcode) |
Render::DisplayId | GetDisplay (int screen) |
int | GetDisplayCount () |
void | GetWindowSize (int *w, int *h) const |
PlatformCore (Application *app, HINSTANCE hinst) | |
void | PlayMusicFile (const char *fileName) |
int | Run () |
void | SetMouseMode (MouseMode mm) |
RenderDevice * | SetupGraphics (const SetupGraphicsDeviceSet &setupGraphicsDesc, const char *type, const Render::RendererParams &rp) |
bool | SetupWindow (int w, int h) |
void | SetWindowTitle (const char *title) |
void | ShowWindow (bool visible) |
~PlatformCore () | |
Private Member Functions | |
LRESULT | WindowProc (UINT msg, WPARAM wp, LPARAM lp) |
Static Private Member Functions | |
static LRESULT CALLBACK | systemWindowProc (HWND window, UINT msg, WPARAM wp, LPARAM lp) |
Private Attributes | |
HCURSOR | Cursor |
int | ExitCode |
int | Height |
HINSTANCE | hInstance |
HWND | hWnd |
MouseMode | MMode |
int | Modifiers |
bool | Quit |
int | Width |
POINT | WindowCenter |
String | WindowTitle |
Definition at line 38 of file Win32_Platform.h.
OVR::Platform::Win32::PlatformCore::PlatformCore | ( | Application * | app, |
HINSTANCE | hinst | ||
) |
Definition at line 35 of file Win32_Platform.cpp.
OVR::Platform::Win32::PlatformCore::~PlatformCore | ( | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 42 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::DestroyWindow | ( | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 88 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::Exit | ( | int | exitcode | ) | [inline, virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 64 of file Win32_Platform.h.
Render::DisplayId OVR::Platform::Win32::PlatformCore::GetDisplay | ( | int | screen | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 503 of file Win32_Platform.cpp.
int OVR::Platform::Win32::PlatformCore::GetDisplayCount | ( | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 475 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::GetWindowSize | ( | int * | w, |
int * | h | ||
) | const [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 132 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::PlayMusicFile | ( | const char * | fileName | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 444 of file Win32_Platform.cpp.
Definition at line 403 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::SetMouseMode | ( | MouseMode | mm | ) | [virtual] |
Reimplemented from OVR::Platform::PlatformCore.
Definition at line 111 of file Win32_Platform.cpp.
RenderDevice * OVR::Platform::Win32::PlatformCore::SetupGraphics | ( | const SetupGraphicsDeviceSet & | setupGraphicsDesc, |
const char * | type, | ||
const Render::RendererParams & | rp | ||
) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 429 of file Win32_Platform.cpp.
bool OVR::Platform::Win32::PlatformCore::SetupWindow | ( | int | w, |
int | h | ||
) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 46 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::SetWindowTitle | ( | const char * | title | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 139 of file Win32_Platform.cpp.
void OVR::Platform::Win32::PlatformCore::ShowWindow | ( | bool | visible | ) | [virtual] |
Implements OVR::Platform::PlatformCore.
Definition at line 106 of file Win32_Platform.cpp.
LRESULT CALLBACK OVR::Platform::Win32::PlatformCore::systemWindowProc | ( | HWND | window, |
UINT | msg, | ||
WPARAM | wp, | ||
LPARAM | lp | ||
) | [static, private] |
Definition at line 230 of file Win32_Platform.cpp.
LRESULT OVR::Platform::Win32::PlatformCore::WindowProc | ( | UINT | msg, |
WPARAM | wp, | ||
LPARAM | lp | ||
) | [private] |
Definition at line 255 of file Win32_Platform.cpp.
HCURSOR OVR::Platform::Win32::PlatformCore::Cursor [private] |
Definition at line 48 of file Win32_Platform.h.
int OVR::Platform::Win32::PlatformCore::ExitCode [private] |
Definition at line 43 of file Win32_Platform.h.
int OVR::Platform::Win32::PlatformCore::Height [private] |
Definition at line 44 of file Win32_Platform.h.
HINSTANCE OVR::Platform::Win32::PlatformCore::hInstance [private] |
Definition at line 41 of file Win32_Platform.h.
HWND OVR::Platform::Win32::PlatformCore::hWnd [private] |
Definition at line 40 of file Win32_Platform.h.
Definition at line 46 of file Win32_Platform.h.
int OVR::Platform::Win32::PlatformCore::Modifiers [private] |
Definition at line 49 of file Win32_Platform.h.
bool OVR::Platform::Win32::PlatformCore::Quit [private] |
Definition at line 42 of file Win32_Platform.h.
int OVR::Platform::Win32::PlatformCore::Width [private] |
Definition at line 44 of file Win32_Platform.h.
POINT OVR::Platform::Win32::PlatformCore::WindowCenter [private] |
Definition at line 47 of file Win32_Platform.h.
Definition at line 50 of file Win32_Platform.h.