#include <Win32MainWindow.h>

Public Member Functions | |
| WIDGET_HANDLE | AddButton (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddCheckBox (int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddComboBox (int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddGLWidget (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddImage (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddLabel (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| 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) |
| WIDGET_HANDLE | AddTextEdit (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| CWin32MainWindow (int x, int y, int width, int height, const char *title) | |
| int | GetModifierKeyState () |
| bool | GetText (WIDGET_HANDLE widget, char *text, int len) |
| bool | GetValue (WIDGET_HANDLE widget, int &value) |
| void | Hide (WIDGET_HANDLE widget=0) |
| bool | MakeCurrentGLWidget (WIDGET_HANDLE widget) |
| void | SetEventCallback (CMainWindowEventInterface *callback) |
| bool | SetImage (WIDGET_HANDLE widget, const CByteImage *pImage) |
| void | SetSize (int width, int height, WIDGET_HANDLE widget=0) |
| bool | SetText (WIDGET_HANDLE widget, const char *text) |
| bool | SetValue (WIDGET_HANDLE widget, int value) |
| void | Show (WIDGET_HANDLE widget=0) |
| bool | SwapBuffersGLWidget (WIDGET_HANDLE widget) |
| LRESULT CALLBACK | WindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| ~CWin32MainWindow () | |
Private Member Functions | |
| Win32Widget * | FindWidget (HWND handle) |
Private Attributes | |
| bool | m_did_quit |
| CMainWindowEventInterface * | m_event_callback |
| HINSTANCE | m_hInstance |
| HWND | m_hWnd |
| std::vector< Win32Widget * > | m_widgets |
Static Private Attributes | |
| static int | m_quit_count = 0 |
| static int | m_ref_count = 0 |
Definition at line 34 of file Win32MainWindow.h.
| CWin32MainWindow::CWin32MainWindow | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | title | ||
| ) |
Definition at line 583 of file Win32MainWindow.cpp.
Definition at line 682 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddButton | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 837 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddCheckBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| bool | checked, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 911 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddComboBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | num_entries, | ||
| const char ** | entries, | ||
| int | current_entry, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1032 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddGLWidget | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1076 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddImage | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 773 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddLabel | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 874 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddSlider | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | min_value, | ||
| int | max_value, | ||
| int | step, | ||
| int | value, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 990 of file Win32MainWindow.cpp.
| WIDGET_HANDLE CWin32MainWindow::AddTextEdit | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 953 of file Win32MainWindow.cpp.
| Win32Widget * CWin32MainWindow::FindWidget | ( | HWND | handle | ) | [private] |
Definition at line 1480 of file Win32MainWindow.cpp.
| int CWin32MainWindow::GetModifierKeyState | ( | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1469 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::GetText | ( | WIDGET_HANDLE | widget, |
| char * | text, | ||
| int | len | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1177 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::GetValue | ( | WIDGET_HANDLE | widget, |
| int & | value | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1336 of file Win32MainWindow.cpp.
| void CWin32MainWindow::Hide | ( | WIDGET_HANDLE | widget = 0 | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1441 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::MakeCurrentGLWidget | ( | WIDGET_HANDLE | widget | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1408 of file Win32MainWindow.cpp.
| void CWin32MainWindow::SetEventCallback | ( | CMainWindowEventInterface * | callback | ) | [inline, virtual] |
Implements CMainWindowInterface.
Definition at line 70 of file Win32MainWindow.h.
| bool CWin32MainWindow::SetImage | ( | WIDGET_HANDLE | widget, |
| const CByteImage * | pImage | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1220 of file Win32MainWindow.cpp.
| void CWin32MainWindow::SetSize | ( | int | width, |
| int | height, | ||
| WIDGET_HANDLE | widget = 0 |
||
| ) | [virtual] |
Reimplemented from CMainWindowInterface.
Definition at line 1455 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::SetText | ( | WIDGET_HANDLE | widget, |
| const char * | text | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1198 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::SetValue | ( | WIDGET_HANDLE | widget, |
| int | value | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1363 of file Win32MainWindow.cpp.
| void CWin32MainWindow::Show | ( | WIDGET_HANDLE | widget = 0 | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1426 of file Win32MainWindow.cpp.
| bool CWin32MainWindow::SwapBuffersGLWidget | ( | WIDGET_HANDLE | widget | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 1392 of file Win32MainWindow.cpp.
| LRESULT CALLBACK CWin32MainWindow::WindowProc | ( | HWND | hWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
Definition at line 134 of file Win32MainWindow.cpp.
bool CWin32MainWindow::m_did_quit [private] |
Definition at line 83 of file Win32MainWindow.h.
Definition at line 85 of file Win32MainWindow.h.
HINSTANCE CWin32MainWindow::m_hInstance [private] |
Definition at line 79 of file Win32MainWindow.h.
HWND CWin32MainWindow::m_hWnd [private] |
Definition at line 80 of file Win32MainWindow.h.
int CWin32MainWindow::m_quit_count = 0 [static, private] |
Definition at line 82 of file Win32MainWindow.h.
int CWin32MainWindow::m_ref_count = 0 [static, private] |
Definition at line 81 of file Win32MainWindow.h.
std::vector<Win32Widget*> CWin32MainWindow::m_widgets [private] |
Definition at line 87 of file Win32MainWindow.h.