8 #ifndef _GTK_MAIN_WINDOW_H_ 9 #define _GTK_MAIN_WINDOW_H_ 73 void Destroy(GtkWidget *widget);
GtkWidget * m_fixed_container
void Destroy(GtkWidget *widget)
WIDGET_HANDLE AddLabel(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
GtkWidget * m_main_window
CMainWindowEventInterface * m_event_callback
CGTKMainWindow(int x, int y, int width, int height, const char *title)
bool SetImage(WIDGET_HANDLE widget, const CByteImage *pImage)
virtual ~CGTKMainWindow()
WIDGET_HANDLE AddImage(int x, int y, int width, int height, 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)
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
WIDGET_HANDLE AddTextEdit(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)
void SetEventCallback(CMainWindowEventInterface *callback)
int GetModifierKeyState()
GLsizei const GLfloat * value
bool SetText(WIDGET_HANDLE widget, const char *text)
bool GetText(WIDGET_HANDLE widget, char *text, int len)
Interface for the creation of GUIs with the GUI toolkit of the IVT.
bool GetValue(WIDGET_HANDLE widget, int &value)
GLenum GLsizei GLsizei height
CMainWindowEventInterface * GetEventCallback()
void Hide(WIDGET_HANDLE widget=0)
bool SetValue(WIDGET_HANDLE widget, int value)
bool SwapBuffersGLWidget(WIDGET_HANDLE widget)
bool MakeCurrentGLWidget(WIDGET_HANDLE widget)
void Show(WIDGET_HANDLE widget=0)
Interface for the event mechanism of GUIs using the GUI toolkit of the IVT.
static void callback(IplImage *pIplImage)
WIDGET_HANDLE AddGLWidget(int x, int y, int width, int height, WIDGET_HANDLE parent=0)
std::vector< CGTKMainWindowWidget * > m_widgets
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)