|
| Application (int argc, char **argv) |
|
virtual void | initialize (const std::string &title, Size defaultSize) |
|
virtual void | windowStateChange (EventSemantics::WindowEventType type) |
|
virtual void | windowSizeChange (EventSemantics::WindowEventType type, Size size) |
|
virtual void | windowPositionChange (EventSemantics::WindowEventType type, Position< int > &position) |
|
virtual bool | keyboardEventCallback (const SDL_KeyboardEvent &keyboardEvent) |
|
virtual bool | mouseMotionEventCallback (const SDL_MouseMotionEvent &mouseMotionEvent) |
|
virtual bool | mouseButtonEventCallback (const SDL_MouseButtonEvent &mouseButtonEvent) |
|
virtual bool | mouseWheelEventCallback (const SDL_MouseWheelEvent &mouseWheelEvent) |
|
virtual bool | fingerTouchEventCallback (const SDL_TouchFingerEvent &fingerTouchEvent) |
|
virtual bool | textInputEventCallback (const SDL_TextInputEvent &textInputEvent) |
|
gm::Context & | context () |
|
std::shared_ptr< Screen > & | screen () |
|
void | layout () |
|
std::shared_ptr< Widget > | pointerWidget (const Position< int > &position) |
|
Padding | windowBorders () const noexcept |
|
gm::SdlWindow & | getSdlWindow () |
|
void | capturePointerWidget (std::shared_ptr< Widget > widget) |
|
void | captureScrollWheelWidget (std::shared_ptr< Widget > widget) |
|
void | registerKeyboardShortcut (SDL_Keycode keycode, const std::shared_ptr< Widget > &widget, uint32_t shortcutCode) |
|
void | redrawBackground () |
|
bool | keyboardFound () const noexcept |
|
virtual void | run () |
|
|
std::shared_ptr< Screen > | mScreen {} |
|
EventSemantics | mEventSemantics |
|
gm::GraphicsModel | mGraphicsModel {} |
|
EventSemantics::WindowEventType | mAppState {EventSemantics::Restored} |
|
InputParser | mInputParser |
|
std::shared_ptr< Widget > | mPointerWidget {} |
|
std::shared_ptr< Widget > | mClickFocusWidget {} |
|
std::shared_ptr< Widget > | mDragFocusWidget {} |
|
std::shared_ptr< Widget > | mScrollFocusWidget {} |
|
std::shared_ptr< Widget > | mKeyFocusWidget {} |
|
std::map< SDL_Keycode, std::pair< uint32_t, std::weak_ptr< Widget > > > | mKeyboardShortcuts {} |
|
bool | mMouseButtonPressed {false} |
|
uint | mMouseButtonId {0} |
|
Position< int > | mMousePosition {} |
|
bool | mKeyboardFound |
|
|
static constexpr std::string_view | UsbDeviceByPath {"/dev/input/by-path/"} |
|
static constexpr std::string_view | KeyboardPathRegEx {".*-kbd"} |
|
The documentation for this class was generated from the following files: