Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | List of all members
sw::gui::INativeWindow Class Referenceabstract

Interface for native window sing OS specific ffunctions. More...

#include <INativeWindow.h>

Inheritance diagram for sw::gui::INativeWindow:
sw::gui::MockWindow sw::gui::Win32ApiWindow

Public Member Functions

 INativeWindow ()=default
 
 ~INativeWindow ()=default
 
virtual uint16 GetWidth () const =0
 
virtual uint16 GetHeight () const =0
 
virtual uint16 GetClientWidth () const =0
 
virtual uint16 GetClientHeight () const =0
 
virtual WindowHandler GetHandle () const =0
 
virtual std::string GetTitle () const =0
 
virtual void Show ()=0
 
virtual void Hide ()=0
 
virtual void SetTitle (const std::string &newTitle)=0
 

Detailed Description

Interface for native window sing OS specific ffunctions.

Natywne okno powinno udostępniać przynajmniej swój render target i swapchain. Ponadto może zawierać funkcje do obsługi prawdziwego okna, ale nie jest to konieczne. GUI nie musi samo obsługiwać prawdziwych okien, może mieć je dostarczone przez aplikację.

Constructor & Destructor Documentation

sw::gui::INativeWindow::INativeWindow ( )
default
sw::gui::INativeWindow::~INativeWindow ( )
default

Member Function Documentation

virtual uint16 sw::gui::INativeWindow::GetClientHeight ( ) const
pure virtual
virtual uint16 sw::gui::INativeWindow::GetClientWidth ( ) const
pure virtual
virtual WindowHandler sw::gui::INativeWindow::GetHandle ( ) const
pure virtual
virtual uint16 sw::gui::INativeWindow::GetHeight ( ) const
pure virtual
virtual std::string sw::gui::INativeWindow::GetTitle ( ) const
pure virtual
virtual uint16 sw::gui::INativeWindow::GetWidth ( ) const
pure virtual
virtual void sw::gui::INativeWindow::Hide ( )
pure virtual
virtual void sw::gui::INativeWindow::SetTitle ( const std::string &  newTitle)
pure virtual
virtual void sw::gui::INativeWindow::Show ( )
pure virtual

The documentation for this class was generated from the following file: