2 #include "window_private.h"
4 #include "display_private.h"
11 void Window::platform_init()
16 void Window::platform_cleanup()
20 void Window::set_title(const string &)
24 void Window::platform_reconfigure(bool)
28 void Window::show_cursor(bool)
32 void Window::warp_pointer(int, int)
36 void Window::platform_set_touch_input()
40 void Window::platform_show()
44 void Window::platform_hide()
48 bool Window::event(const Event &evnt)
53 signal_input_event.emit(evnt);
56 priv->window = display.get_private().native_window;
57 display.remove_window(*this);
58 display.add_window(*this);
59 priv->signal_window_acquired.emit(priv->window);
60 signal_got_focus.emit();
63 options.width = ANativeWindow_getWidth(priv->window);
64 options.height = ANativeWindow_getHeight(priv->window);
65 signal_resize.emit(options.width, options.height);
67 case WINDOW_DESTROYED:
68 signal_lost_focus.emit();
69 priv->signal_window_lost.emit();
71 display.remove_window(*this);
72 display.add_window(*this);
81 } // namespace Graphics