|
Blender
V2.93
|
#include <GHOST_SystemWin32.h>
Inherits GHOST_System.
Static Public Member Functions | |
| static GHOST_ContextD3D * | createOffscreenContextD3D () |
| static GHOST_TSuccess | disposeContextD3D (GHOST_ContextD3D *context) |
| static GHOST_TSuccess | pushDragDropEvent (GHOST_TEventType eventType, GHOST_TDragnDropTypes draggedObjectType, GHOST_WindowWin32 *window, int mouseX, int mouseY, void *data) |
Static Public Member Functions inherited from GHOST_ISystem | |
| static GHOST_TSuccess | createSystem () |
| static GHOST_TSuccess | disposeSystem () |
| static GHOST_ISystem * | getSystem () |
Protected Member Functions | |
| GHOST_TSuccess | init () |
| GHOST_TSuccess | exit () |
| GHOST_TKey | convertKey (short vKey, short ScanCode, short extend) const |
| GHOST_TKey | hardKey (RAWINPUT const &raw, bool *r_keyDown, bool *r_is_repeated_modifier) |
| GHOST_TKey | processSpecialKey (short vKey, short scanCode) const |
| void | retrieveModifierKeys (GHOST_ModifierKeys &keys) const |
| void | storeModifierKeys (const GHOST_ModifierKeys &keys) |
| void | handleKeyboardChange (void) |
| int | toggleConsole (int action) |
Protected Member Functions inherited from GHOST_System | |
| GHOST_System () | |
| virtual | ~GHOST_System () |
| GHOST_TSuccess | createFullScreenWindow (GHOST_Window **window, const GHOST_DisplaySetting &settings, const bool stereoVisual, const bool alphaBackground=0) |
Protected Member Functions inherited from GHOST_ISystem | |
| GHOST_ISystem () | |
| virtual | ~GHOST_ISystem () |
Static Protected Member Functions | |
| static GHOST_EventButton * | processButtonEvent (GHOST_TEventType type, GHOST_WindowWin32 *window, GHOST_TButtonMask mask) |
| static void | processPointerEvent (UINT type, GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam, bool &eventhandled) |
| static GHOST_EventCursor * | processCursorEvent (GHOST_WindowWin32 *window) |
| static void | processWheelEvent (GHOST_WindowWin32 *window, WPARAM wParam, LPARAM lParam) |
| static GHOST_EventKey * | processKeyEvent (GHOST_WindowWin32 *window, RAWINPUT const &raw) |
| static GHOST_Event * | processWindowEvent (GHOST_TEventType type, GHOST_WindowWin32 *window) |
| static void | processMinMaxInfo (MINMAXINFO *minmax) |
| static LRESULT WINAPI | s_wndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
| GHOST_ModifierKeys | m_modifierKeys |
| unsigned short | m_keycode_last_repeat_key |
| bool | m_hasPerformanceCounter |
| __int64 | m_freq |
| __int64 | m_start |
| __int64 | m_lfstart |
| bool | m_hasAltGr |
| WORD | m_langId |
| HKL | m_keylayout |
| int | m_consoleStatus |
| int | m_wheelDeltaAccum |
Protected Attributes inherited from GHOST_System | |
| GHOST_DisplayManager * | m_displayManager |
| GHOST_TimerManager * | m_timerManager |
| GHOST_WindowManager * | m_windowManager |
| GHOST_EventManager * | m_eventManager |
| GHOST_DisplaySetting | m_preFullScreenSetting |
| GHOST_TTabletAPI | m_tabletAPI |
| bool | m_is_debug_enabled |
Additional Inherited Members | |
Public Attributes inherited from GHOST_System | |
| bool | m_nativePixel |
| bool | m_windowFocus |
Static Protected Attributes inherited from GHOST_ISystem | |
| static GHOST_ISystem * | m_system = NULL |
WIN32 Implementation of GHOST_System class.
Definition at line 51 of file GHOST_SystemWin32.h.
| GHOST_SystemWin32::GHOST_SystemWin32 | ( | ) |
Constructor.
Definition at line 197 of file GHOST_SystemWin32.cpp.
References GHOST_ASSERT, handleKeyboardChange(), GHOST_DisplayManager::initialize(), m_consoleStatus, GHOST_System::m_displayManager, and PROCESS_PER_MONITOR_DPI_AWARE.
| GHOST_SystemWin32::~GHOST_SystemWin32 | ( | ) |
|
protected |
Converts raw WIN32 key codes from the wndproc to GHOST keys.
| vKey | The virtual key from hardKey. |
| ScanCode | The ScanCode of pressed key (similar to PS/2 Set 1). |
| extend | Flag if key is not primly (left or right). |
Definition at line 735 of file GHOST_SystemWin32.cpp.
References GHOST_ISystem::getSystem(), GHOST_kKey0, GHOST_kKeyA, GHOST_kKeyAccentGrave, GHOST_kKeyApp, GHOST_kKeyBackslash, GHOST_kKeyBackSpace, GHOST_kKeyCapsLock, GHOST_kKeyComma, GHOST_kKeyDelete, GHOST_kKeyDownArrow, GHOST_kKeyDownPage, GHOST_kKeyEnd, GHOST_kKeyEnter, GHOST_kKeyEqual, GHOST_kKeyEsc, GHOST_kKeyF1, GHOST_kKeyGrLess, GHOST_kKeyHome, GHOST_kKeyInsert, GHOST_kKeyLeftAlt, GHOST_kKeyLeftArrow, GHOST_kKeyLeftBracket, GHOST_kKeyLeftControl, GHOST_kKeyLeftShift, GHOST_kKeyMediaFirst, GHOST_kKeyMediaLast, GHOST_kKeyMediaPlay, GHOST_kKeyMediaStop, GHOST_kKeyMinus, GHOST_kKeyNumLock, GHOST_kKeyNumpad0, GHOST_kKeyNumpad1, GHOST_kKeyNumpad2, GHOST_kKeyNumpad3, GHOST_kKeyNumpad4, GHOST_kKeyNumpad5, GHOST_kKeyNumpad6, GHOST_kKeyNumpad7, GHOST_kKeyNumpad8, GHOST_kKeyNumpad9, GHOST_kKeyNumpadAsterisk, GHOST_kKeyNumpadEnter, GHOST_kKeyNumpadMinus, GHOST_kKeyNumpadPeriod, GHOST_kKeyNumpadPlus, GHOST_kKeyNumpadSlash, GHOST_kKeyOS, GHOST_kKeyPause, GHOST_kKeyPeriod, GHOST_kKeyPrintScreen, GHOST_kKeyQuote, GHOST_kKeyRightAlt, GHOST_kKeyRightArrow, GHOST_kKeyRightBracket, GHOST_kKeyRightControl, GHOST_kKeyRightShift, GHOST_kKeyScrollLock, GHOST_kKeySemicolon, GHOST_kKeySlash, GHOST_kKeySpace, GHOST_kKeyTab, GHOST_kKeyUnknown, GHOST_kKeyUpArrow, GHOST_kKeyUpPage, processSpecialKey(), VK_BACK_QUOTE, VK_BACK_SLASH, VK_CLOSE_BRACKET, VK_COMMA, VK_EQUALS, VK_GR_LESS, VK_MEDIA_NEXT_TRACK, VK_MEDIA_PLAY_PAUSE, VK_MEDIA_PREV_TRACK, VK_MEDIA_STOP, VK_MINUS, VK_OPEN_BRACKET, VK_PERIOD, VK_QUOTE, VK_SEMICOLON, and VK_SLASH.
Referenced by hardKey().
|
virtual |
Create a new offscreen context. Never explicitly delete the window, use disposeContext() instead.
Create a new offscreen context. Never explicitly delete the window, use disposeContext() instead.
Implements GHOST_System.
Definition at line 331 of file GHOST_SystemWin32.cpp.
References context, GHOST_GLSettings::flags, GHOST_glDebugContext, GHOST_OPENGL_WGL_RESET_NOTIFICATION_STRATEGY, and NULL.
|
static |
Create a new offscreen DirectX context. Never explicitly delete the context, use disposeContext() instead. This is for GHOST internal, Win32 specific use, so it can be called statically.
Create a new offscreen DirectX 11 context. Never explicitly delete the window, use disposeContext() instead.
Definition at line 435 of file GHOST_SystemWin32.cpp.
References context, GHOST_kFailure, and NULL.
|
virtual |
Create a new window. The new window is added to the list of windows managed. Never explicitly delete the window, use disposeWindow() instead.
| title | The name of the window. (displayed in the title bar of the window if the OS supports it). |
| left | The coordinate of the left edge of the window. |
| top | The coordinate of the top edge of the window. |
| width | The width the window. |
| height | The height the window. |
| state | The state of the window when opened. |
| type | The type of drawing context installed in this window. |
| glSettings | Misc OpenGL settings. |
| exclusive | Use to show the window ontop and ignore others (used fullscreen). |
| parentWindow | Parent window. |
Implements GHOST_ISystem.
Definition at line 285 of file GHOST_SystemWin32.cpp.
References GHOST_WindowManager::addWindow(), GHOST_GLSettings::flags, GHOST_WindowWin32::getValid(), GHOST_glAlphaBackground, GHOST_glDebugContext, GHOST_glStereoVisual, GHOST_PRINT, height, left, GHOST_System::m_windowManager, NULL, GHOST_WindowManager::setActiveWindow(), state, top, type, and width.
|
virtual |
Dispose of a context.
| context | Pointer to the context to be disposed. |
Implements GHOST_ISystem.
Definition at line 423 of file GHOST_SystemWin32.cpp.
References context, and GHOST_kSuccess.
|
static |
Dispose of a DirectX context. This is for GHOST internal, Win32 specific use, so it can be called statically.
| context | Pointer to the context to be disposed. |
Definition at line 459 of file GHOST_SystemWin32.cpp.
References context, and GHOST_kSuccess.
|
protectedvirtual |
Closes the system down.
Reimplemented from GHOST_System.
Definition at line 635 of file GHOST_SystemWin32.cpp.
References GHOST_System::exit().
|
virtual |
Returns the dimensions of all displays on this system.
Implements GHOST_ISystem.
Definition at line 279 of file GHOST_SystemWin32.cpp.
|
virtual |
Returns the state of the mouse buttons (outside the message queue).
| buttons | The state of the buttons. |
Implements GHOST_System.
Definition at line 560 of file GHOST_SystemWin32.cpp.
References GHOST_kButtonMaskLeft, GHOST_kButtonMaskMiddle, GHOST_kButtonMaskRight, GHOST_kSuccess, and GHOST_Buttons::set().
|
virtual |
Returns unsigned char from CUT_BUFFER0
| selection | Used by X11 only. |
Implements GHOST_System.
Definition at line 1827 of file GHOST_SystemWin32.cpp.
References alloc_utf_8_from_16(), buffer, len, and NULL.
|
virtual |
Returns the current location of the cursor (location in screen coordinates)
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Definition at line 516 of file GHOST_SystemWin32.cpp.
References GHOST_kFailure, GHOST_kSuccess, Freestyle::Nature::POINT, x, and y.
Referenced by processCursorEvent().
|
virtual |
Returns the dimensions of the main display on this system.
Implements GHOST_ISystem.
Definition at line 273 of file GHOST_SystemWin32.cpp.
|
virtual |
Returns the system time. Returns the number of milliseconds since the start of the system process. This overloaded method uses the high frequency timer if available.
Reimplemented from GHOST_System.
Definition at line 251 of file GHOST_SystemWin32.cpp.
References count, m_hasPerformanceCounter, performanceCounterToMillis(), and tickCountToMillis().
Referenced by processButtonEvent(), processCursorEvent(), processEvents(), processKeyEvent(), processWheelEvent(), processWindowEvent(), and pushDragDropEvent().
|
virtual |
Returns the state of all modifier keys.
| keys | The state of all modifier keys (true == pressed). |
Implements GHOST_System.
Definition at line 534 of file GHOST_SystemWin32.cpp.
References GHOST_kModifierKeyLeftAlt, GHOST_kModifierKeyLeftControl, GHOST_kModifierKeyLeftShift, GHOST_kModifierKeyOS, GHOST_kModifierKeyRightAlt, GHOST_kModifierKeyRightControl, GHOST_kModifierKeyRightShift, GHOST_kSuccess, and GHOST_ModifierKeys::set().
|
virtual |
Returns the number of displays on this system.
Implements GHOST_ISystem.
Definition at line 265 of file GHOST_SystemWin32.cpp.
References GHOST_DisplayManager::getNumDisplays(), GHOST_ASSERT, and GHOST_System::m_displayManager.
|
inlineprotected |
Check current key layout for AltGr
Definition at line 463 of file GHOST_SystemWin32.h.
References m_hasAltGr, m_keylayout, and m_langId.
Referenced by GHOST_SystemWin32(), and s_wndProc().
|
protected |
Catches raw WIN32 key codes from WM_INPUT in the wndproc.
| raw | RawInput structure with detailed info about the key event. |
| keyDown | Pointer flag that specify if a key is down. |
| vk | Pointer to virtual key. |
Definition at line 640 of file GHOST_SystemWin32.cpp.
References convertKey(), GHOST_ModifierKeys::get(), GHOST_ISystem::getSystem(), GHOST_kKeyLeftAlt, GHOST_kKeyLeftControl, GHOST_kKeyLeftShift, GHOST_kKeyRightAlt, GHOST_kKeyRightControl, GHOST_kKeyRightShift, GHOST_kKeyUnknown, GHOST_kModifierKeyLeftAlt, GHOST_kModifierKeyLeftControl, GHOST_kModifierKeyLeftShift, GHOST_kModifierKeyRightAlt, GHOST_kModifierKeyRightControl, GHOST_kModifierKeyRightShift, retrieveModifierKeys(), GHOST_ModifierKeys::set(), and storeModifierKeys().
Referenced by processKeyEvent().
|
protectedvirtual |
Initializes the system. For now, it just registers the window class (WNDCLASS).
Reimplemented from GHOST_System.
Definition at line 578 of file GHOST_SystemWin32.cpp.
References GHOST_kFailure, GHOST_PRINT, GHOST_System::init(), initRawInput(), L, m_freq, m_hasPerformanceCounter, m_lfstart, m_start, NULL, and s_wndProc().
| GHOST_TUns64 GHOST_SystemWin32::performanceCounterToMillis | ( | __int64 | perf_ticks | ) | const |
This method converts performance counter measurements into milliseconds since the start of the system process.
Definition at line 237 of file GHOST_SystemWin32.cpp.
References m_freq, m_start, and t.
Referenced by getMilliSeconds(), and GHOST_WindowWin32::getPointerInfo().
|
staticprotected |
Creates mouse button event.
| type | The type of event to create. |
| window | The window receiving the event (the active window). |
| mask | The button mask of this event. |
Definition at line 931 of file GHOST_SystemWin32.cpp.
References getMilliSeconds(), GHOST_ISystem::getSystem(), GHOST_WindowWin32::getTabletData(), GHOST_kEventButtonDown, GHOST_kEventButtonUp, mask(), MousePressed, MouseReleased, type, and GHOST_WindowWin32::updateMouseCapture().
Referenced by s_wndProc().
|
staticprotected |
Creates cursor event.
| window | The window receiving the event (the active window). |
Definition at line 1025 of file GHOST_SystemWin32.cpp.
References bounds(), GHOST_WindowWin32::getClientBounds(), GHOST_Window::getCursorGrabAccum(), GHOST_Window::getCursorGrabAxis(), GHOST_Window::getCursorGrabBounds(), GHOST_Window::getCursorGrabModeIsWarp(), getCursorPosition(), getMilliSeconds(), GHOST_ISystem::getSystem(), GHOST_WindowWin32::getTabletData(), GHOST_kEventCursorMove, GHOST_kFailure, GHOST_kTabletNative, GHOST_WindowWin32::m_tabletInRange, NULL, GHOST_Window::setCursorGrabAccum(), setCursorPosition(), and GHOST_WindowWin32::useTabletAPI().
Referenced by s_wndProc().
|
virtual |
Gets events from the system and stores them in the queue.
| waitForEvent | Flag to wait for an event (or return immediately). |
Implements GHOST_ISystem.
Definition at line 466 of file GHOST_SystemWin32.cpp.
References GHOST_TimerManager::fireTimers(), getMilliSeconds(), GHOST_EventManager::getNumEvents(), GHOST_System::getTimerManager(), GHOST_kFireTimeNever, GHOST_System::m_eventManager, next, GHOST_TimerManager::nextFireTime(), and NULL.
|
staticprotected |
Creates a key event and updates the key data stored locally (m_modifierKeys). In most cases this is a straightforward conversion of key codes. For the modifier keys however, we want to distinguish left and right keys.
| window | The window receiving the event (the active window). |
| raw | RawInput structure with detailed info about the key event. |
Definition at line 1105 of file GHOST_SystemWin32.cpp.
References conv_utf_16_to_8(), getMilliSeconds(), GHOST_ISystem::getSystem(), GHOST_kEventKeyDown, GHOST_kEventKeyUp, hardKey(), m_keycode_last_repeat_key, m_keylayout, NULL, r, and state.
Referenced by s_wndProc().
|
staticprotected |
Handles minimum window size.
| minmax | The MINMAXINFO structure. |
Definition at line 1223 of file GHOST_SystemWin32.cpp.
Referenced by s_wndProc().
|
staticprotected |
Creates tablet events from pointer events.
| type | The type of pointer event. |
| window | The window receiving the event (the active window). |
| wParam | The wParam from the wndproc. |
| lParam | The lParam from the wndproc. |
| eventhandled | True if the method handled the event. |
Definition at line 948 of file GHOST_SystemWin32.cpp.
References GHOST_WindowWin32::getPointerInfo(), GHOST_ISystem::getSystem(), GHOST_kEventButtonDown, GHOST_kEventButtonUp, GHOST_kEventCursorMove, GHOST_kSuccess, GHOST_kTabletNative, GHOST_WindowWin32::m_tabletInRange, MousePressed, MouseReleased, GHOST_System::pushEvent(), setCursorPosition(), time, type, GHOST_WindowWin32::updateMouseCapture(), GHOST_WindowWin32::useTabletAPI(), WM_POINTERDOWN, WM_POINTERENTER, WM_POINTERLEAVE, WM_POINTERUP, and WM_POINTERUPDATE.
Referenced by s_wndProc().
|
protected |
Process special keys (VK_OEM_*), to see if current key layout gives us anything special, like ! on french AZERTY.
| vKey | The virtual key from hardKey. |
| scanCode | The ScanCode of pressed key (similar to PS/2 Set 1). |
This function was added in response to bug T25715. This is going to be a long list T42426.
Definition at line 718 of file GHOST_SystemWin32.cpp.
References GHOST_kKeyAccentGrave, GHOST_kKeyF13, GHOST_kKeyUnknown, and m_langId.
Referenced by convertKey().
|
staticprotected |
Handles a mouse wheel event.
| window | The window receiving the event (the active window). |
| wParam | The wParam from the wndproc. |
| lParam | The lParam from the wndproc. |
Definition at line 1083 of file GHOST_SystemWin32.cpp.
References abs(), getMilliSeconds(), GHOST_ISystem::getSystem(), m_wheelDeltaAccum, and GHOST_System::pushEvent().
Referenced by s_wndProc().
|
staticprotected |
Creates a window event.
| type | The type of event to create. |
| window | The window receiving the event (the active window). |
Definition at line 1188 of file GHOST_SystemWin32.cpp.
References GHOST_WindowWin32::bringTabletContextToFront(), getMilliSeconds(), GHOST_ISystem::getSystem(), GHOST_System::getWindowManager(), GHOST_kEventWindowActivate, GHOST_WindowManager::setActiveWindow(), and type.
Referenced by s_wndProc().
|
static |
Creates a drag'n'drop event and pushes it immediately onto the event queue. Called by GHOST_DropTargetWin32 class.
| eventType | The type of drag'n'drop event |
| draggedObjectType | The type object concerned (currently array of file names, string, ?bitmap) |
| mouseX | x mouse coordinate (in window coordinates) |
| mouseY | y mouse coordinate |
| window | The window on which the event occurred |
Definition at line 1211 of file GHOST_SystemWin32.cpp.
References data, getMilliSeconds(), GHOST_ISystem::getSystem(), and GHOST_System::pushEvent().
Referenced by GHOST_DropTargetWin32::DragEnter(), GHOST_DropTargetWin32::DragLeave(), GHOST_DropTargetWin32::DragOver(), and GHOST_DropTargetWin32::Drop().
|
virtual |
Puts buffer to system clipboard.
| selection | Used by X11 only. |
Implements GHOST_System.
Definition at line 1884 of file GHOST_SystemWin32.cpp.
References buffer, conv_utf_8_to_16(), count_utf_16_from_8(), data, len, and NULL.
|
inlineprotected |
Returns the local state of the modifier keys (from the message queue).
| keys | The state of the keys. |
Definition at line 453 of file GHOST_SystemWin32.h.
References m_modifierKeys.
Referenced by hardKey().
|
staticprotected |
Windows call back routine for our window class.
Definition at line 1294 of file GHOST_SystemWin32.cpp.
References GHOST_ModifierKeys::clear(), GHOST_System::dispatchEvents(), GHOST_Window::getCursorShape(), GHOST_Window::getCursorVisibility(), GHOST_System::getEventManager(), GHOST_WindowWin32::getState(), GHOST_ISystem::getSystem(), GHOST_ASSERT, GHOST_kButtonMaskButton4, GHOST_kButtonMaskButton5, GHOST_kButtonMaskLeft, GHOST_kButtonMaskMiddle, GHOST_kButtonMaskRight, GHOST_kEventButtonDown, GHOST_kEventButtonUp, GHOST_kEventImeComposition, GHOST_kEventImeCompositionEnd, GHOST_kEventImeCompositionStart, GHOST_kEventKeyDown, GHOST_kEventWindowActivate, GHOST_kEventWindowClose, GHOST_kEventWindowDeactivate, GHOST_kEventWindowDPIHintChanged, GHOST_kEventWindowMove, GHOST_kEventWindowSize, GHOST_kEventWindowUpdate, GHOST_kStandardCursorDefault, GHOST_PRINT, handleKeyboardChange(), GHOST_WindowWin32::loadCursor(), GHOST_WindowWin32::lostMouseCapture(), GHOST_WindowWin32::m_inLiveResize, m_keycode_last_repeat_key, m_wheelDeltaAccum, NULL, Freestyle::Nature::POINT, processButtonEvent(), processCursorEvent(), processKeyEvent(), processMinMaxInfo(), processPointerEvent(), processWheelEvent(), GHOST_WindowWin32::processWin32TabletActivateEvent(), GHOST_WindowWin32::processWin32TabletEvent(), GHOST_WindowWin32::processWin32TabletInitEvent(), processWindowEvent(), GHOST_System::pushEvent(), GHOST_EventManager::removeTypeEvents(), GHOST_WindowWin32::setState(), storeModifierKeys(), UINT, WM_DPICHANGED, WM_POINTERDOWN, WM_POINTERENTER, WM_POINTERLEAVE, WM_POINTERUP, and WM_POINTERUPDATE.
Referenced by init().
|
virtual |
Updates the location of the cursor (location in screen coordinates).
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Definition at line 527 of file GHOST_SystemWin32.cpp.
References GHOST_kFailure, GHOST_kSuccess, x, and y.
Referenced by processCursorEvent(), and processPointerEvent().
|
virtual |
Show a system message box
| title | The title of the message box. |
| message | The message to display. |
| help_label | Help button label. |
| continue_label | Continue button label. |
| link | An optional hyperlink. |
| dialog_options | Options how to display the message. |
Reimplemented from GHOST_System.
Definition at line 1917 of file GHOST_SystemWin32.cpp.
References alloc_utf16_from_8(), free(), GHOST_DialogError, GHOST_DialogWarning, GHOST_kSuccess, L, and NULL.
|
inlineprotected |
Stores the state of the modifier keys locally. For internal use only! param keys The new state of the modifier keys.
Definition at line 458 of file GHOST_SystemWin32.h.
References m_modifierKeys.
Referenced by hardKey(), and s_wndProc().
| GHOST_TUns64 GHOST_SystemWin32::tickCountToMillis | ( | __int64 | ticks | ) | const |
This method converts system ticks into milliseconds since the start of the system process.
Definition at line 246 of file GHOST_SystemWin32.cpp.
References m_lfstart.
Referenced by getMilliSeconds().
|
protectedvirtual |
Toggles console
| action |
|
Implements GHOST_ISystem.
Definition at line 2029 of file GHOST_SystemWin32.cpp.
References FALSE, isStartedFromCommandPrompt(), and m_consoleStatus.
Referenced by ~GHOST_SystemWin32().
|
protected |
Console status.
Definition at line 447 of file GHOST_SystemWin32.h.
Referenced by GHOST_SystemWin32(), and toggleConsole().
|
protected |
High frequency timer variable.
Definition at line 434 of file GHOST_SystemWin32.h.
Referenced by init(), and performanceCounterToMillis().
|
protected |
AltGr on current keyboard layout.
Definition at line 440 of file GHOST_SystemWin32.h.
Referenced by handleKeyboardChange().
|
protected |
State variable set at initialization.
Definition at line 432 of file GHOST_SystemWin32.h.
Referenced by getMilliSeconds(), and init().
|
protected |
The virtual-key code (VKey) of the last press event. Used to detect repeat events.
Definition at line 430 of file GHOST_SystemWin32.h.
Referenced by processKeyEvent(), and s_wndProc().
|
protected |
Stores keyboard layout.
Definition at line 444 of file GHOST_SystemWin32.h.
Referenced by handleKeyboardChange(), and processKeyEvent().
|
protected |
Language identifier.
Definition at line 442 of file GHOST_SystemWin32.h.
Referenced by handleKeyboardChange(), and processSpecialKey().
|
protected |
Low frequency timer variable.
Definition at line 438 of file GHOST_SystemWin32.h.
Referenced by init(), and tickCountToMillis().
|
protected |
The current state of the modifier keys.
Definition at line 428 of file GHOST_SystemWin32.h.
Referenced by retrieveModifierKeys(), and storeModifierKeys().
|
protected |
High frequency timer variable.
Definition at line 436 of file GHOST_SystemWin32.h.
Referenced by init(), and performanceCounterToMillis().
|
protected |
Wheel delta accumulator.
Definition at line 450 of file GHOST_SystemWin32.h.
Referenced by processWheelEvent(), and s_wndProc().