|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Platform/Linux/LinuxWindow.hpp>
Public Member Functions | |
| LinuxWindow () | |
| ~LinuxWindow () override | |
| void | activate () final |
| void | deactivate () final |
| String | getTitle () const final |
| void | setTitle (const String &title) final |
| Vector2 | getSize () const final |
| void | resize (double width, double height) final |
| void | close () final |
| bool | isFullscreen () const final |
| void | setFullscreen (bool fullscreen) final |
Public Member Functions inherited from CeresEngine::PlatformWindow | |
| PlatformWindow (const PlatformWindowProperties &properties) | |
| virtual | ~PlatformWindow ()=default |
| void | resize (const Vector2 size) |
| Resizes the window. | |
| virtual double | getScalingFactor () const =0 |
| Gets the DPI scaling factor for this window. | |
| void | sendEvent (const AnyInputEvent &event) |
| Sends a new event through the window. | |
Private Attributes | |
| UPtr< Pimpl > | m |
| The pointer-to-implementation. | |
| PlatformWindowProperties | mProperties |
Friends | |
| struct | Pimpl |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::PlatformWindow | |
| const PlatformWindowProperties & | properties |
| Generates a hash for the provided type. | |
| Event< void(PlatformWindow &, Vector2)> | didResize |
| A signal that gets dispatched whenever the window gets resized. | |
| Event< void(PlatformWindow &)> | didClose |
| A signal that gets dispatched whenever the window gets closed. | |
| Event< void(const AnyInputEvent &)> | onEvent |
| An event fired when any input event is received on the window. | |
| Event< void(const KeyEvent &)> | onKeyDown |
| An event fired when a key down event is received. | |
| Event< void(const KeyEvent &)> | onKeyUp |
| An event fired when a key up event is received. | |
| Event< void(const MouseEvent &)> | onMouseDown |
| An event fired when a mouse down event is received. | |
| Event< void(const MouseEvent &)> | onMouseUp |
| An event fired when a mouse up event is received. | |
| Event< void(const MouseEvent &)> | onMouseMove |
| An event fired when a mouse move event is received. | |
| Event< void(const MouseEvent &)> | onMouseDrag |
| An event fired when a mouse drag eent is received. | |
| Event< void(const MouseEvent &)> | onMouseScroll |
| An event fired when a mouse scroll event is received. | |
| Event< void(const TextEvent &)> | onTextInput |
| An event fired when a text input event is received. | |
| Event< void(const Rect2 &newRect, const Rect2 &oldRect)> | didChangeFrame |
| Event< bool()> | windowShouldClose |
| CeresEngine::LinuxWindow::LinuxWindow | ( | ) |
|
override |
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
|
finalvirtual |
Implements CeresEngine::PlatformWindow.
Implements CeresEngine::PlatformWindow.
Implements CeresEngine::PlatformWindow.
Implements CeresEngine::PlatformWindow.
|
private |