38 #include "../Core/Signals/signal_v1.h"
39 #include "../Core/Signals/signal_v2.h"
40 #include "../Core/Signals/signal_v3.h"
48 class CL_GUITopLevelWindow;
50 class CL_GUIWindowManager_Impl;
126 bool is_null()
const;
134 CL_WindowManagerType get_window_manager_type()
const;
146 CL_GUITopLevelWindow *handle,
147 CL_GUITopLevelWindow *owner,
154 void destroy_window(CL_GUITopLevelWindow *handle);
160 void enable_window(CL_GUITopLevelWindow *handle,
bool enable);
167 bool has_focus(CL_GUITopLevelWindow *handle)
const;
174 void set_visible(CL_GUITopLevelWindow *handle,
bool visible,
bool activate_root_win);
181 void set_geometry(CL_GUITopLevelWindow *handle,
const CL_Rect &geometry,
bool client_area);
189 CL_Rect get_geometry(CL_GUITopLevelWindow *handle,
bool client_area)
const;
198 CL_Point screen_to_window(CL_GUITopLevelWindow *handle,
const CL_Point &screen_point,
bool client_area)
const;
207 CL_Point window_to_screen(CL_GUITopLevelWindow *handle,
const CL_Point &window_point,
bool client_area)
const;
261 void end_paint(CL_GUITopLevelWindow *handle,
const CL_Rect &update_region);
267 void request_repaint(CL_GUITopLevelWindow *handle,
const CL_Rect &update_region);
272 void bring_to_front(CL_GUITopLevelWindow *handle);
279 bool is_minimized(CL_GUITopLevelWindow *handle)
const;
286 bool is_maximized(CL_GUITopLevelWindow *handle)
const;
289 void process_message();
295 void capture_mouse(CL_GUITopLevelWindow *handle,
bool state);
308 void set_cursor(CL_GUITopLevelWindow *handle,
const CL_Cursor &cursor);
322 void setup_painting();
325 void complete_painting();
332 CL_SharedPtr<CL_GUIWindowManager_Impl> impl;