35 #include "gui_component.h"
36 #include "../Core/Signals/signal_v1.h"
37 #include "../Core/Signals/signal_v2.h"
38 #include "../Core/Signals/signal_v3.h"
50 class GUITopLevelWindow;
51 class GUIWindowManagerProvider;
52 class GUIWindowManager_Impl;
124 bool is_null()
const;
132 WindowManagerType get_window_manager_type()
const;
144 GUITopLevelWindow *handle,
145 GUITopLevelWindow *owner,
152 void destroy_window(GUITopLevelWindow *handle);
158 void enable_window(GUITopLevelWindow *handle,
bool enable);
165 bool has_focus(GUITopLevelWindow *handle)
const;
172 void set_visible(GUITopLevelWindow *handle,
bool visible,
bool activate_root_win);
179 void set_geometry(GUITopLevelWindow *handle,
const Rect &geometry,
bool client_area);
187 Rect get_geometry(GUITopLevelWindow *handle,
bool client_area)
const;
196 Point screen_to_window(GUITopLevelWindow *handle,
const Point &screen_point,
bool client_area)
const;
205 Point window_to_screen(GUITopLevelWindow *handle,
const Point &window_point,
bool client_area)
const;
212 Canvas& get_canvas(GUITopLevelWindow *handle)
const;
227 Canvas begin_paint(GUITopLevelWindow *handle,
const Rect &update_region);
234 void set_cliprect(GUITopLevelWindow *handle,
Canvas &canvas,
const Rect &rect);
240 void reset_cliprect(GUITopLevelWindow *handle,
Canvas &canvas);
247 void push_cliprect(GUITopLevelWindow *handle,
Canvas &canvas,
const Rect &rect);
253 void pop_cliprect(GUITopLevelWindow *handle,
Canvas &canvas);
259 void end_paint(
Canvas &canvas, GUITopLevelWindow *handle,
const Rect &update_region);
265 void request_repaint(GUITopLevelWindow *handle,
const Rect &update_region);
270 void bring_to_front(GUITopLevelWindow *handle);
277 bool is_minimized(GUITopLevelWindow *handle)
const;
284 bool is_maximized(GUITopLevelWindow *handle)
const;
287 void process_message();
293 void capture_mouse(GUITopLevelWindow *handle,
bool state);
300 DisplayWindow get_display_window(GUITopLevelWindow *handle)
const;
306 void set_cursor(GUITopLevelWindow *handle,
const Cursor &cursor);
312 void set_cursor(GUITopLevelWindow *handle,
enum StandardCursor type);
324 std::shared_ptr<GUIWindowManager_Impl> impl;
Callback_v2< GUITopLevelWindow *, const InputEvent & > * func_input_received
Pointer to close notification callback function.
Definition: gui_window_manager.h:80
WindowManagerType
Definition: gui_window_manager.h:91
StandardCursor
Standard Cursor.
Definition: display_window.h:67
2D Graphics Canvas
Definition: canvas.h:70
Callback_v1< GUITopLevelWindow * > * func_focus_lost
Pointer to focus lost notification callback function.
Definition: gui_window_manager.h:62
Mouse cursor class.
Definition: cursor.h:48
GUI window manager site.
Definition: gui_window_manager.h:55
Definition: gui_window_manager.h:93
Callback_v1< GUITopLevelWindow * > * func_focus_gained
Pointer to focus gained notification callback function.
Definition: gui_window_manager.h:65
GUI base component class.
Definition: gui_component.h:80
2D (left,top,right,bottom) rectangle structure - Integer
Definition: rect.h:453
GUI window manager interface.
Definition: gui_window_manager_provider.h:50
GUI window manager interface.
Definition: gui_window_manager.h:85
Callback_v2.
Definition: callback_v2.h:156
Callback_v1< GUITopLevelWindow * > * func_close
Pointer to close notification callback function.
Definition: gui_window_manager.h:74
2D (x,y) point structure - Integer
Definition: point.h:63
InputContext.
Definition: input_context.h:45
Callback_v2< GUITopLevelWindow *, const Size & > * func_resize
Pointer to focus gained notification callback function.
Definition: gui_window_manager.h:68
Display window description class.
Definition: display_window_description.h:53
Top-level window class.
Definition: display_window.h:85
Callback_v2< GUITopLevelWindow *, const Rect & > * func_paint
Pointer to paint notification callback function.
Definition: gui_window_manager.h:71
Callback_v1< GUITopLevelWindow * > * func_destroy
Pointer to destroy notification callback function.
Definition: gui_window_manager.h:77