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


Public Member Functions | |
| X11Window () | |
| 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 | 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 | |
| virtual void | displayFatalError (const std::string &) |
| 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 () |
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 38 of file x11window.h.
| X11Window::X11Window | ( | ) |
Definition at line 32 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 1031 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 1026 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 1070 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 553 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 855 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 211 of file x11window.cpp.
|
protectedvirtual |
Implements PlatformWindow.
Definition at line 892 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 560 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 524 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 584 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 533 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 886 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 1018 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 946 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 987 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 936 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 874 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 930 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 969 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 541 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 850 of file x11window.cpp.

|
virtual |
Implements PlatformWindow.
Definition at line 841 of file x11window.cpp.
|
virtual |
Implements PlatformWindow.
Definition at line 220 of file x11window.cpp.