|
Otclient 1.0
14/8/2020
|
#include <win32window.h>


Public Member Functions | |
| WIN32Window () | |
| void | init () |
| void | terminate () |
| void | move (const Point &pos) |
| void | resize (const Size &size) |
| void | show () |
| void | hide () |
| void | maximize () |
| void | poll () |
| void | swapBuffers () |
| void | showMouse () |
| void | hideMouse () |
| void | displayFatalError (const std::string &message) |
| void | setMouseCursor (int cursorId) |
| void | restoreMouseCursor () |
| void | setTitle (const std::string &title) |
| void | setMinimumSize (const Size &minimumSize) |
| void | setFullscreen (bool fullscreen) |
| void | setVerticalSync (bool enable) |
| void | setIcon (const std::string &file) |
| void | setClipboardText (const std::string &text) |
| Size | getDisplaySize () |
| std::string | getClipboardText () |
| std::string | getPlatformType () |
Public Member Functions inherited from PlatformWindow | |
| int | loadMouseCursor (const std::string &file, const Point &hotSpot) |
| int | getDisplayWidth () |
| int | getDisplayHeight () |
| Size | getUnmaximizedSize () |
| Size | getSize () |
| Size | getMinimumSize () |
| int | getWidth () |
| int | getHeight () |
| Point | getUnmaximizedPos () |
| Point | getPosition () |
| int | getX () |
| int | getY () |
| Point | getMousePosition () |
| int | getKeyboardModifiers () |
| bool | isKeyPressed (Fw::Key keyCode) |
| bool | isMouseButtonPressed (Fw::MouseButton mouseButton) |
| bool | isVisible () |
| bool | isMaximized () |
| bool | isFullscreen () |
| bool | hasFocus () |
| void | setOnClose (const std::function< void()> &onClose) |
| void | setOnResize (const OnResizeCallback &onResize) |
| void | setOnInputEvent (const OnInputEventCallback &onInputEvent) |
Protected Member Functions | |
| int | internalLoadMouseCursor (const ImagePtr &image, const Point &hotSpot) |
Protected Member Functions inherited from PlatformWindow | |
| void | updateUnmaximizedCoords () |
| void | processKeyDown (Fw::Key keyCode) |
| void | processKeyUp (Fw::Key keyCode) |
| void | releaseAllKeys () |
| void | fireKeysPress () |
Friends | |
| struct | WindowProcProxy |
Additional Inherited Members | |
Protected Attributes inherited from PlatformWindow | |
| std::map< int, Fw::Key > | m_keyMap |
| std::map< Fw::Key, stdext::boolean< false > > | m_keysState |
| std::map< Fw::Key, ticks_t > | m_firstKeysPress |
| std::map< Fw::Key, ticks_t > | m_lastKeysPress |
| Timer | m_keyPressTimer |
| Size | m_size |
| Size | m_minimumSize |
| Point | m_position |
| Size | m_unmaximizedSize |
| Point | m_unmaximizedPos |
| InputEvent | m_inputEvent |
| stdext::boolean< false > | m_mouseButtonStates [4] |
| stdext::boolean< false > | m_created |
| stdext::boolean< false > | m_visible |
| stdext::boolean< false > | m_focused |
| stdext::boolean< false > | m_fullscreen |
| stdext::boolean< false > | m_maximized |
| std::function< void()> | m_onClose |
| OnResizeCallback | m_onResize |
| OnInputEventCallback | m_onInputEvent |
Definition at line 41 of file win32window.h.
| WIN32Window::WIN32Window | ( | ) |
|
virtual |
Reimplemented from PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
protectedvirtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
virtual |
Implements PlatformWindow.
|
friend |
Definition at line 52 of file win32window.h.