#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 () | |
Public Member Functions inherited from CMainWindowInterface | |
virtual | ~CMainWindowInterface () |
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.
CWin32MainWindow::~CWin32MainWindow | ( | ) |
Definition at line 682 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 837 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 911 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1032 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1076 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 773 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 874 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 990 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 953 of file Win32MainWindow.cpp.
|
private |
Definition at line 1480 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1469 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1177 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1336 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1441 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1408 of file Win32MainWindow.cpp.
|
inlinevirtual |
Implements CMainWindowInterface.
Definition at line 70 of file Win32MainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1220 of file Win32MainWindow.cpp.
|
virtual |
Reimplemented from CMainWindowInterface.
Definition at line 1455 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1198 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1363 of file Win32MainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1426 of file Win32MainWindow.cpp.
|
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.
|
private |
Definition at line 83 of file Win32MainWindow.h.
|
private |
Definition at line 85 of file Win32MainWindow.h.
|
private |
Definition at line 79 of file Win32MainWindow.h.
|
private |
Definition at line 80 of file Win32MainWindow.h.
|
staticprivate |
Definition at line 82 of file Win32MainWindow.h.
|
staticprivate |
Definition at line 81 of file Win32MainWindow.h.
|
private |
Definition at line 87 of file Win32MainWindow.h.