2 #include "display_private.h"
4 #include "window_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);
62 options.width = ANativeWindow_getWidth(priv->window);
63 options.height = ANativeWindow_getHeight(priv->window);
64 signal_resize.emit(options.width, options.height);
66 case WINDOW_DESTROYED:
67 priv->signal_window_lost.emit();
69 display.remove_window(*this);
70 display.add_window(*this);
79 } // namespace Graphics