8 #ifndef _WIN32_MAIN_WINDOW_H_ 9 #define _WIN32_MAIN_WINDOW_H_ 73 LRESULT CALLBACK
WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
WIDGET_HANDLE AddTextEdit(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
bool SetImage(WIDGET_HANDLE widget, const CByteImage *pImage)
std::vector< Win32Widget * > m_widgets
WIDGET_HANDLE AddLabel(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
void SetEventCallback(CMainWindowEventInterface *callback)
Win32Widget * FindWidget(HWND handle)
CWin32MainWindow(int x, int y, int width, int height, const char *title)
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
WIDGET_HANDLE AddComboBox(int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0)
bool GetText(WIDGET_HANDLE widget, char *text, int len)
void Hide(WIDGET_HANDLE widget=0)
LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
bool MakeCurrentGLWidget(WIDGET_HANDLE widget)
bool SetValue(WIDGET_HANDLE widget, int value)
bool SetText(WIDGET_HANDLE widget, const char *text)
bool SwapBuffersGLWidget(WIDGET_HANDLE widget)
GLsizei const GLfloat * value
WIDGET_HANDLE AddCheckBox(int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0)
Interface for the creation of GUIs with the GUI toolkit of the IVT.
CMainWindowEventInterface * m_event_callback
bool GetValue(WIDGET_HANDLE widget, int &value)
GLenum GLsizei GLsizei height
WIDGET_HANDLE AddImage(int x, int y, int width, int height, WIDGET_HANDLE parent=0)
int GetModifierKeyState()
void SetSize(int width, int height, WIDGET_HANDLE widget=0)
void Show(WIDGET_HANDLE widget=0)
WIDGET_HANDLE AddButton(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
Interface for the event mechanism of GUIs using the GUI toolkit of the IVT.
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)
static void callback(IplImage *pIplImage)
WIDGET_HANDLE AddGLWidget(int x, int y, int width, int height, WIDGET_HANDLE parent=0)