Interface for the creation of GUIs with the GUI toolkit of the IVT. More...
#include <MainWindowInterface.h>

Public Member Functions | |
| virtual WIDGET_HANDLE | AddButton (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddCheckBox (int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddComboBox (int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddGLWidget (int x, int y, int width, int height, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddImage (int x, int y, int width, int height, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddLabel (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddSlider (int x, int y, int width, int height, int min_value, int max_value, int step, int value, WIDGET_HANDLE parent=0)=0 |
| virtual WIDGET_HANDLE | AddTextEdit (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)=0 |
| virtual int | GetModifierKeyState ()=0 |
| virtual bool | GetText (WIDGET_HANDLE widget, char *text, int len)=0 |
| virtual bool | GetValue (WIDGET_HANDLE widget, int &value)=0 |
| virtual void | Hide (WIDGET_HANDLE widget=0)=0 |
| virtual bool | MakeCurrentGLWidget (WIDGET_HANDLE widget)=0 |
| virtual void | SetEventCallback (CMainWindowEventInterface *callback)=0 |
| virtual bool | SetImage (WIDGET_HANDLE widget, const CByteImage *pImage)=0 |
| virtual void | SetSize (int width, int height, WIDGET_HANDLE widget=0) |
| virtual bool | SetText (WIDGET_HANDLE widget, const char *text)=0 |
| virtual bool | SetValue (WIDGET_HANDLE widget, int value)=0 |
| virtual void | Show (WIDGET_HANDLE widget=0)=0 |
| virtual bool | SwapBuffersGLWidget (WIDGET_HANDLE widget)=0 |
| virtual | ~CMainWindowInterface () |
Interface for the creation of GUIs with the GUI toolkit of the IVT.
Definition at line 81 of file MainWindowInterface.h.
| virtual CMainWindowInterface::~CMainWindowInterface | ( | ) | [inline, virtual] |
Definition at line 85 of file MainWindowInterface.h.
| virtual WIDGET_HANDLE CMainWindowInterface::AddButton | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddCheckBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| bool | checked, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddComboBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | num_entries, | ||
| const char ** | entries, | ||
| int | current_entry, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddGLWidget | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddImage | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddLabel | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddSlider | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | min_value, | ||
| int | max_value, | ||
| int | step, | ||
| int | value, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual WIDGET_HANDLE CMainWindowInterface::AddTextEdit | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual int CMainWindowInterface::GetModifierKeyState | ( | ) | [pure virtual] |
Implemented in CWin32MainWindow, CQtMainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::GetText | ( | WIDGET_HANDLE | widget, |
| char * | text, | ||
| int | len | ||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::GetValue | ( | WIDGET_HANDLE | widget, |
| int & | value | ||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual void CMainWindowInterface::Hide | ( | WIDGET_HANDLE | widget = 0 | ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::MakeCurrentGLWidget | ( | WIDGET_HANDLE | widget | ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual void CMainWindowInterface::SetEventCallback | ( | CMainWindowEventInterface * | callback | ) | [pure virtual] |
Implemented in CWin32MainWindow, CQtMainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::SetImage | ( | WIDGET_HANDLE | widget, |
| const CByteImage * | pImage | ||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual void CMainWindowInterface::SetSize | ( | int | width, |
| int | height, | ||
| WIDGET_HANDLE | widget = 0 |
||
| ) | [inline, virtual] |
Reimplemented in CWin32MainWindow.
Definition at line 116 of file MainWindowInterface.h.
| virtual bool CMainWindowInterface::SetText | ( | WIDGET_HANDLE | widget, |
| const char * | text | ||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::SetValue | ( | WIDGET_HANDLE | widget, |
| int | value | ||
| ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual void CMainWindowInterface::Show | ( | WIDGET_HANDLE | widget = 0 | ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.
| virtual bool CMainWindowInterface::SwapBuffersGLWidget | ( | WIDGET_HANDLE | widget | ) | [pure virtual] |
Implemented in CQtMainWindow, CWin32MainWindow, CGTKMainWindow, and CCocoaMainWindow.