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_show()
40 void Window::platform_hide()
44 bool Window::event(const Event &evnt)
49 signal_input_event.emit(evnt);
52 priv->window = display.get_private().native_window;
53 display.remove_window(*this);
54 display.add_window(*this);
55 priv->signal_window_acquired.emit(priv->window);
58 options.width = ANativeWindow_getWidth(priv->window);
59 options.height = ANativeWindow_getHeight(priv->window);
60 signal_resize.emit(options.width, options.height);
62 case WINDOW_DESTROYED:
63 priv->signal_window_lost.emit();
65 display.remove_window(*this);
66 display.add_window(*this);
75 } // namespace Graphics