|
void | set_title (const std::string &) override |
|
void | cursor_position (int32_t &, int32_t &) override |
|
void | show_cursor (bool) override |
|
void | lock_cursor (bool) override |
|
void | destroy_window () override |
|
void | check_events () override |
|
void | initialize_input_controller (InputState &controller) override |
|
std::shared_ptr< SoundDriver > | create_sound_driver (const std::string &from_config) override |
|
virtual bool | create_window (uint16_t width, uint16_t height, uint8_t bpp, bool fullscreen, bool enable_vsync) |
|
void | swap_buffers () |
|
uint16_t | width () const override |
|
uint16_t | height () const override |
|
bool | is_fullscreen () const |
|
bool | vsync_enabled () const |
|
float | aspect_ratio () const |
|
void | set_logging_level (LogLevel level) |
|
LogLevel | logging_level () const |
|
void | reset () |
| Window::reset. More...
|
|
Vec2 | coordinate_from_normalized (Ratio rx, Ratio ry) |
|
void | on_finger_down (TouchPointID touch_id, float normalized_x, float normalized_y, float pressure=1.0) |
|
void | on_finger_up (TouchPointID touch_id, float normalized_x, float normalized_y) |
|
void | on_finger_motion (TouchPointID touch_id, float normalized_x, float normalized_y, float dx, float dy) |
|
void | on_key_down (KeyboardCode code, ModifierKeyState modifiers) |
|
void | on_key_up (KeyboardCode code, ModifierKeyState modifiers) |
|
void | on_game_controller_button_down (GameControllerIndex index, JoystickButton button) |
|
void | on_game_controller_button_up (GameControllerIndex index, JoystickButton button) |
|
void | on_mouse_down (MouseID id, uint8_t mouse_button, int32_t x, int32_t y, bool touch_device) |
|
void | on_mouse_up (MouseID id, uint8_t mouse_button, int32_t x, int32_t y, bool touch_device) |
|
void | on_mouse_move (MouseID id, int32_t x, int32_t y, bool touch_device) |
|
std::size_t | screen_count () const |
|
Screen * | screen (const std::string &name) const |
|
void | each_screen (std::function< void(std::string, Screen *)> callback) |
|
Screen * | _create_screen (const std::string &name, uint16_t width, uint16_t height, ScreenFormat format, uint16_t refresh_rate) |
|
void | _destroy_screen (const std::string &name) |
|
bool | initialize_assets_and_devices () |
|
void | _clean_up () |
|
StageNode * | audio_listener () |
|
void | set_audio_listener (StageNode *node) |
|
bool | has_explicit_audio_listener () const |
|
bool | has_context () const |
|
bool | has_focus () const |
|
void | set_has_focus (bool v=true) |
|
void | set_escape_to_quit (bool value=true) |
|
bool | escape_to_quit_enabled () const |
|
| S_DEFINE_PROPERTY (app, &Window::application_) |
|
| S_DEFINE_PROPERTY (renderer, &Window::renderer_) |
|
| S_DEFINE_PROPERTY (data, &Window::data_carrier_) |
|
| S_DEFINE_PROPERTY (input, &Window::input_manager_) |
|
| S_DEFINE_PROPERTY (input_state, &Window::input_state_) |
|
| S_DEFINE_PROPERTY (compositor, &Window::compositor_) |
|
virtual void | set_clear_every_frame (uint32_t clear_flags=BUFFER_CLEAR_ALL, const smlt::Color &color=smlt::Color::black()) |
|
virtual uint32_t | clear_every_frame_flags () const |
|
virtual smlt::Color | clear_every_frame_color () const |
|
void | register_event_listener (EventListener *listener) |
|
void | unregister_event_listener (EventListener *listener) |
|
void | each_event_listener (std::function< void(EventListener *)> callback) |
|