#include <gui_window_manager.h>
Inheritance diagram for CL_GUIWindowManager:

Public Types | |
Enumerations | |
| enum | CL_WindowManagerType { cl_wm_type_system, cl_wm_type_texture } |
Public Member Functions | |
Construction | |
| CL_GUIWindowManager (CL_GUIWindowManagerProvider *provider) | |
| Constructs a window manager. | |
| CL_GUIWindowManager (const CL_GUIWindowManager ©) | |
| Constructs a GUIWindowManager. | |
| ~CL_GUIWindowManager () | |
Attributes | |
| bool | is_null () |
| Is Null. | |
| CL_GUIWindowManagerProvider * | get_provider () const |
| Retrieves the provider. | |
| CL_WindowManagerType | get_window_manager_type () const |
| Get Window manager type. | |
Operations | |
| void | set_site (CL_GUIWindowManagerSite *site) |
| Set site. | |
| void | create_window (CL_GUITopLevelWindow *handle, CL_GUITopLevelWindow *owner, CL_GUITopLevelDescription description) |
| void | destroy_window (CL_GUITopLevelWindow *handle) |
| Destroy window. | |
| void | enable_window (CL_GUITopLevelWindow *handle, bool enable) |
| Enable window. | |
| bool | has_focus (CL_GUITopLevelWindow *handle) const |
| Has focus. | |
| void | set_visible (CL_GUITopLevelWindow *handle, bool visible, bool activate_root_win) |
| Set visible. | |
| void | set_geometry (CL_GUITopLevelWindow *handle, const CL_Rect &geometry, bool client_area) |
| Set geometry. | |
| CL_Rect | get_geometry (CL_GUITopLevelWindow *handle, bool client_area) const |
| Get geometry. | |
| CL_Point | screen_to_window (CL_GUITopLevelWindow *handle, const CL_Point &screen_point, bool client_area) const |
| Screen to window. | |
| CL_Point | window_to_screen (CL_GUITopLevelWindow *handle, const CL_Point &window_point, bool client_area) const |
| Window to screen. | |
| CL_GraphicContext & | get_gc (CL_GUITopLevelWindow *handle) const |
| Get gc. | |
| CL_InputContext & | get_ic (CL_GUITopLevelWindow *handle) const |
| Get ic. | |
| CL_GraphicContext | begin_paint (CL_GUITopLevelWindow *handle, const CL_Rect &update_region) |
| Begin paint. | |
| void | set_cliprect (CL_GUITopLevelWindow *handle, CL_GraphicContext &gc, const CL_Rect &rect) |
| Set cliprect. | |
| void | reset_cliprect (CL_GUITopLevelWindow *handle, CL_GraphicContext &gc) |
| Reset cliprect. | |
| void | push_cliprect (CL_GUITopLevelWindow *handle, CL_GraphicContext &gc, const CL_Rect &rect) |
| Push cliprect. | |
| void | pop_cliprect (CL_GUITopLevelWindow *handle, CL_GraphicContext &gc) |
| Pop cliprect. | |
| void | end_paint (CL_GUITopLevelWindow *handle, const CL_Rect &update_region) |
| End paint. | |
| void | request_repaint (CL_GUITopLevelWindow *handle, const CL_Rect &update_region) |
| Request repaint. | |
| void | bring_to_front (CL_GUITopLevelWindow *handle) |
| Bring to front. | |
| bool | is_minimized (CL_GUITopLevelWindow *handle) const |
| Is minimized. | |
| bool | is_maximized (CL_GUITopLevelWindow *handle) const |
| Is maximized. | |
| void | process_message () |
| Process message. | |
| void | capture_mouse (CL_GUITopLevelWindow *handle, bool state) |
| Capture mouse. | |
| CL_DisplayWindow | get_display_window (CL_GUITopLevelWindow *handle) const |
| Get display window. | |
| void | set_cursor (CL_GUITopLevelWindow *handle, const CL_Cursor &cursor) |
| Set cursor. | |
| void | set_cursor (CL_GUITopLevelWindow *handle, enum CL_StandardCursor type) |
| Set cursor. | |
| void | update () |
| Perform any updates. | |
| void | setup_painting () |
| Initial setup for painting all top level windows. | |
| void | complete_painting () |
| Final completion for painting all top level windows. | |
|
|
|
|
|
Constructs a window manager.
|
|
|
Constructs a GUIWindowManager.
|
|
|
|
|
||||||||||||
|
Begin paint.
|
|
|
Bring to front.
|
|
||||||||||||
|
Capture mouse.
|
|
|
Final completion for painting all top level windows.
|
|
||||||||||||||||
|
|
|
|
Destroy window.
|
|
||||||||||||
|
Enable window.
|
|
||||||||||||
|
End paint.
|
|
|
Get display window.
|
|
|
Get gc.
|
|
||||||||||||
|
Get geometry.
|
|
|
Get ic.
|
|
|
Retrieves the provider.
Reimplemented in CL_GUIWindowManagerSystem, and CL_GUIWindowManagerTexture. |
|
|
Get Window manager type.
|
|
|
Has focus.
|
|
|
Is maximized.
|
|
|
Is minimized.
|
|
|
Is Null.
|
|
||||||||||||
|
Pop cliprect.
|
|
|
Process message.
|
|
||||||||||||||||
|
Push cliprect.
|
|
||||||||||||
|
Request repaint.
|
|
||||||||||||
|
Reset cliprect.
|
|
||||||||||||||||
|
Screen to window.
|
|
||||||||||||||||
|
Set cliprect.
|
|
||||||||||||
|
Set cursor.
|
|
||||||||||||
|
Set cursor.
|
|
||||||||||||||||
|
Set geometry.
|
|
|
Set site.
|
|
||||||||||||||||
|
Set visible.
|
|
|
Initial setup for painting all top level windows.
|
|
|
Perform any updates. This is called by CL_GUIManager::exec(), after all messages has been processed |
|
||||||||||||||||
|
Window to screen.
|
1.4.6