|
|
virtual | ~CL_DisplayWindowProvider () |
|
|
virtual CL_Rect | get_geometry () const =0 |
| Returns the position and size of the window frame. More...
|
|
virtual CL_Rect | get_viewport () const =0 |
| Returns the drawable area of the window. More...
|
|
virtual bool | has_focus () const =0 |
| Returns true if window has focus. More...
|
|
virtual bool | is_minimized () const =0 |
| Returns true if the window is minimized. More...
|
|
virtual bool | is_maximized () const =0 |
| Returns true if the window is maximized. More...
|
|
virtual bool | is_visible () const =0 |
| Returns true if the window is visible. More...
|
|
virtual bool | is_fullscreen () const =0 |
| Returns true if the window is fullscreen. More...
|
|
virtual CL_Size | get_minimum_size (bool client_area) const =0 |
| Returns the minimum size of the window. More...
|
|
virtual CL_Size | get_maximum_size (bool client_area) const =0 |
| Returns the maximum size of the window. More...
|
|
virtual CL_String | get_title () const =0 |
| Returns the maximum size of the window. More...
|
|
virtual CL_GraphicContext & | get_gc ()=0 |
| Return the graphic context for the window. More...
|
|
virtual CL_InputContext & | get_ic ()=0 |
| Return the input context for the window. More...
|
|
virtual Display * | get_display () const =0 |
| Returns the X11 display handle. More...
|
|
virtual Window | get_window () const =0 |
| Handle to X11 window handle. More...
|
|
virtual bool | is_clipboard_text_available () const =0 |
| Returns true if text is available in the clipboard. More...
|
|
virtual bool | is_clipboard_image_available () const =0 |
| Returns true if an image is available in the clipboard. More...
|
|
virtual CL_String | get_clipboard_text () const =0 |
| Returns the text stored in the clipboard. More...
|
|
virtual CL_PixelBuffer | get_clipboard_image () const =0 |
| Returns the image stored in the clipboard. More...
|
|
|
virtual CL_Point | client_to_screen (const CL_Point &client)=0 |
| Convert from window client coordinates to screen coordinates. More...
|
|
virtual CL_Point | screen_to_client (const CL_Point &screen)=0 |
| Convert from screen coordinates to client coordinates. More...
|
|
virtual void | capture_mouse (bool capture)=0 |
| Capture/Release the mouse. More...
|
|
virtual void | request_repaint (const CL_Rect &rect)=0 |
| Invalidates a region of a screen, causing a repaint. More...
|
|
virtual void | destroy ()=0 |
| Destroys the display window provider. More...
|
|
virtual void | create (CL_DisplayWindowSite *site, const CL_DisplayWindowDescription &description)=0 |
| Creates window, assigning site and description to provider. More...
|
|
virtual void | show_system_cursor ()=0 |
| Shows the mouse cursor. More...
|
|
virtual CL_CursorProvider * | create_cursor (const CL_SpriteDescription &sprite_description, const CL_Point &hotspot)=0 |
| Creates a new custom cursor. More...
|
|
virtual void | set_cursor (CL_CursorProvider *cursor)=0 |
| Sets the current cursor icon. More...
|
|
virtual void | set_cursor (enum CL_StandardCursor type)=0 |
| Sets the current cursor icon. More...
|
|
virtual void | hide_system_cursor ()=0 |
| Hides the mouse cursor. More...
|
|
virtual void | set_title (const CL_StringRef &new_title)=0 |
| Change window title. More...
|
|
virtual void | set_position (const CL_Rect &pos, bool client_area)=0 |
| Set window position and size. More...
|
|
virtual void | set_size (int width, int height, bool client_area)=0 |
| Set size. More...
|
|
virtual void | set_minimum_size (int width, int height, bool client_area)=0 |
| Set minimum size. More...
|
|
virtual void | set_maximum_size (int width, int height, bool client_area)=0 |
| Set maximum size. More...
|
|
virtual void | set_enabled (bool enable)=0 |
| Enables or disables a window. More...
|
|
virtual void | minimize ()=0 |
| Minimizes the window. More...
|
|
virtual void | restore ()=0 |
| Restores the window. More...
|
|
virtual void | maximize ()=0 |
| Maximizes the window. More...
|
|
virtual void | show (bool activate)=0 |
| Displays the window in its current size and position. More...
|
|
virtual void | hide ()=0 |
| Hides the window. More...
|
|
virtual void | bring_to_front ()=0 |
| Raise window on top of other windows. More...
|
|
virtual void | flip (int interval)=0 |
| Flip opengl buffers. More...
|
|
virtual void | update (const CL_Rect &rect)=0 |
| Copy a region of the backbuffer to the frontbuffer. More...
|
|
virtual void | set_clipboard_text (const CL_StringRef &text)=0 |
| Stores text in the clipboard. More...
|
|
virtual void | set_clipboard_image (const CL_PixelBuffer &buf)=0 |
| Stores an image in the clipboard. More...
|
|
virtual void | set_large_icon (const CL_PixelBuffer &image)=0 |
| Sets the large icon used for this window. More...
|
|
virtual void | set_small_icon (const CL_PixelBuffer &image)=0 |
| Sets the small icon used for this window. More...
|
|
Interface for implementing a CL_DisplayWindow target.