|
| virtual | ~DisplayWindowProvider () |
| |
| virtual void | bring_to_front ()=0 |
| | Raise window on top of other windows.
|
| |
| virtual void | capture_mouse (bool capture)=0 |
| | Capture/Release the mouse.
|
| |
| virtual Point | client_to_screen (const Point &client)=0 |
| | Convert from window client coordinates to screen coordinates.
|
| |
| virtual void | create (DisplayWindowSite *site, const DisplayWindowDescription &description)=0 |
| | Creates window, assigning site and description to provider.
|
| |
| virtual CursorProvider * | create_cursor (const CursorDescription &cursor_description)=0 |
| | Creates a new custom cursor.
|
| |
| virtual void | enable_alpha_channel (const Rect &blur_rect)=0 |
| |
| virtual void | extend_frame_into_client_area (int left, int top, int right, int bottom)=0 |
| |
| virtual void | flip (int interval)=0 |
| | Flip the window display buffers.
|
| |
| virtual PixelBuffer | get_clipboard_image () const =0 |
| | Returns the image stored in the clipboard.
|
| |
| virtual std::string | get_clipboard_text () const =0 |
| | Returns the text stored in the clipboard.
|
| |
| virtual std::vector< InputDevice > & | get_game_controllers ()=0 |
| | Returns the game controller input device.
|
| |
| virtual GraphicContext & | get_gc ()=0 |
| | Returns the graphic context for the window.
|
| |
| virtual Rect | get_geometry () const =0 |
| | Returns the position and size of the window frame.
|
| |
| virtual DisplayWindowHandle | get_handle () const =0 |
| |
| virtual InputDevice & | get_keyboard ()=0 |
| | Returns the keyboard input device.
|
| |
| virtual Size | get_maximum_size (bool client_area) const =0 |
| | Returns the maximum size of the window.
|
| |
| virtual Size | get_minimum_size (bool client_area) const =0 |
| | Returns the minimum size of the window.
|
| |
| virtual InputDevice & | get_mouse ()=0 |
| | Returns the mouse input device.
|
| |
| virtual float | get_pixel_ratio () const =0 |
| |
| virtual std::string | get_title () const =0 |
| | Returns the maximum size of the window.
|
| |
| virtual Rect | get_viewport () const =0 |
| | Returns the drawable area of the window.
|
| |
| virtual bool | has_focus () const =0 |
| | Returns true if window has focus.
|
| |
| virtual void | hide ()=0 |
| | Hides the window.
|
| |
| virtual void | hide_system_cursor ()=0 |
| | Hides the mouse cursor.
|
| |
| virtual bool | is_clipboard_image_available () const =0 |
| | Returns true if an image is available in the clipboard.
|
| |
| virtual bool | is_clipboard_text_available () const =0 |
| | Returns true if text is available in the clipboard.
|
| |
| virtual bool | is_fullscreen () const =0 |
| | Returns true if the window is fullscreen.
|
| |
| virtual bool | is_maximized () const =0 |
| | Returns true if the window is maximized.
|
| |
| virtual bool | is_minimized () const =0 |
| | Returns true if the window is minimized.
|
| |
| virtual bool | is_visible () const =0 |
| | Returns true if the window is visible.
|
| |
| virtual void | maximize ()=0 |
| | Maximizes the window.
|
| |
| virtual void | minimize ()=0 |
| | Minimizes the window.
|
| |
| virtual void | request_repaint ()=0 |
| | Invalidates the screen, causing a repaint.
|
| |
| virtual void | restore ()=0 |
| | Restores the window.
|
| |
| virtual Point | screen_to_client (const Point &screen)=0 |
| | Convert from screen coordinates to client coordinates.
|
| |
| virtual void | set_clipboard_image (const PixelBuffer &buf)=0 |
| | Stores an image in the clipboard.
|
| |
| virtual void | set_clipboard_text (const std::string &text)=0 |
| | Stores text in the clipboard.
|
| |
| virtual void | set_cursor (CursorProvider *cursor)=0 |
| | Sets the current cursor icon.
|
| |
| virtual void | set_cursor (StandardCursor type)=0 |
| | Sets the current cursor icon.
|
| |
| virtual void | set_enabled (bool enable)=0 |
| | Enables or disables input into this window.
|
| |
| virtual void | set_large_icon (const PixelBuffer &image)=0 |
| | Sets the large icon used for this window.
|
| |
| virtual void | set_maximum_size (int width, int height, bool client_area)=0 |
| |
| virtual void | set_minimum_size (int width, int height, bool client_area)=0 |
| |
| virtual void | set_pixel_ratio (float ratio)=0 |
| |
| virtual void | set_position (const Rect &pos, bool client_area)=0 |
| | Sets the position and size of this window on the screen.
|
| |
| virtual void | set_size (int width, int height, bool client_area)=0 |
| |
| virtual void | set_small_icon (const PixelBuffer &image)=0 |
| | Sets the small icon used for this window.
|
| |
| virtual void | set_title (const std::string &new_title)=0 |
| | Change window title.
|
| |
| virtual void | show (bool activate)=0 |
| | Displays the window in its current size and position.
|
| |
| virtual void | show_system_cursor ()=0 |
| | Shows the mouse cursor.
|
| |
| virtual void | toggle_fullscreen ()=0 |
| |
Interface for implementing a DisplayWindow target.