44 #ifndef _MAIN_WINDOW_INTERFACE_H_ 45 #define _MAIN_WINDOW_INTERFACE_H_ 67 #define IVT_SHIFT_KEY 1 68 #define IVT_CONTROL_KEY 2 virtual bool SetValue(WIDGET_HANDLE widget, int value)=0
virtual WIDGET_HANDLE AddImage(int x, int y, int width, int height, WIDGET_HANDLE parent=0)=0
virtual bool GetValue(WIDGET_HANDLE widget, int &value)=0
virtual bool SetImage(WIDGET_HANDLE widget, const CByteImage *pImage)=0
virtual WIDGET_HANDLE AddGLWidget(int x, int y, int width, int height, WIDGET_HANDLE parent=0)=0
virtual int GetModifierKeyState()=0
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
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 void SetEventCallback(CMainWindowEventInterface *callback)=0
virtual WIDGET_HANDLE AddCheckBox(int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0)=0
virtual void Hide(WIDGET_HANDLE widget=0)=0
GLsizei const GLfloat * value
virtual bool GetText(WIDGET_HANDLE widget, char *text, int len)=0
virtual WIDGET_HANDLE AddButton(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)=0
virtual bool SwapBuffersGLWidget(WIDGET_HANDLE widget)=0
Interface for the creation of GUIs with the GUI toolkit of the IVT.
virtual void SetSize(int width, int height, WIDGET_HANDLE widget=0)
GLenum GLsizei GLsizei height
virtual void Show(WIDGET_HANDLE widget=0)=0
virtual bool MakeCurrentGLWidget(WIDGET_HANDLE widget)=0
virtual WIDGET_HANDLE AddTextEdit(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)=0
virtual ~CMainWindowInterface()
virtual bool SetText(WIDGET_HANDLE widget, const char *text)=0
Interface for the event mechanism of GUIs using the GUI toolkit of the IVT.
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
static void callback(IplImage *pIplImage)