The window interface for creating rendering windows on each OS.
More...
#include <Iwindow.h>
Public Member Functions |
| IWindow () |
| Constructor.
|
virtual | ~IWindow () |
| Destructor.
|
virtual bool | Init (int Width, int Height, int Bits, bool Fullscreen, int ra)=0 |
| Initialize the window.
|
virtual bool | Run ()=0 |
| Recive messages from OS and handle them.
|
virtual void | SetCaption (const char *name)=0 |
| Sets window caption.
|
virtual void | SetCursor (CURSOR_TYPES cur)=0 |
virtual void | Show () |
| Show the window.
|
virtual void | Hide () |
| Hide the window.
|
virtual void * | GetHandler ()=0 |
virtual void | SendQuitEvent () |
virtual void | Resize (unsigned int width, unsigned int height, bool fullscreen) |
| Resize window.
|
| KgeUnknown () |
| Constructor.
|
virtual | ~KgeUnknown () |
| Destructor.
|
virtual void | AddRef () |
| Add a reference to the object.
|
virtual void | DecRef () |
| Decrease a reference from the object. if its reference count get 0 then the object will destroy.
|
u32 | GetRefCount () |
| Return resource reference count.
|
const char * | GetDebugText () |
| returns the instance debug text.
|
Detailed Description
The window interface for creating rendering windows on each OS.
Definition at line 39 of file Iwindow.h.
Constructor & Destructor Documentation
kge::io::IWindow::IWindow |
( |
| ) |
|
|
inline |
virtual kge::io::IWindow::~IWindow |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual void* kge::io::IWindow::GetHandler |
( |
| ) |
|
|
pure virtual |
virtual void kge::io::IWindow::Hide |
( |
| ) |
|
|
inlinevirtual |
Hide the window.
Definition at line 66 of file Iwindow.h.
virtual bool kge::io::IWindow::Init |
( |
int |
Width, |
|
|
int |
Height, |
|
|
int |
Bits, |
|
|
bool |
Fullscreen, |
|
|
int |
ra |
|
) |
| |
|
pure virtual |
virtual void kge::io::IWindow::Resize |
( |
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
bool |
fullscreen |
|
) |
| |
|
inlinevirtual |
Resize window.
Definition at line 75 of file Iwindow.h.
virtual bool kge::io::IWindow::Run |
( |
| ) |
|
|
pure virtual |
Recive messages from OS and handle them.
virtual void kge::io::IWindow::SendQuitEvent |
( |
| ) |
|
|
inlinevirtual |
virtual void kge::io::IWindow::SetCaption |
( |
const char * |
name | ) |
|
|
pure virtual |
virtual void kge::io::IWindow::SetCursor |
( |
CURSOR_TYPES |
cur | ) |
|
|
pure virtual |
virtual void kge::io::IWindow::Show |
( |
| ) |
|
|
inlinevirtual |
Show the window.
Definition at line 63 of file Iwindow.h.
virtual void kge::io::IWindow::ToFullScreen |
( |
| ) |
|
|
protectedpure virtual |
Member Data Documentation
bool kge::io::IWindow::m_bFullscreen |
|
protected |
u32 kge::io::IWindow::m_iBits |
|
protected |
u32 kge::io::IWindow::m_iHeight |
|
protected |
u32 kge::io::IWindow::m_iWidth |
|
protected |
The documentation for this class was generated from the following file: