#include <GTKMainWindow.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) |
CGTKMainWindow (int x, int y, int width, int height, const char *title) | |
void | Destroy (GtkWidget *widget) |
CMainWindowEventInterface * | GetEventCallback () |
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) |
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) |
virtual | ~CGTKMainWindow () |
Public Member Functions inherited from CMainWindowInterface | |
virtual void | SetSize (int width, int height, WIDGET_HANDLE widget=0) |
virtual | ~CMainWindowInterface () |
Private Attributes | |
bool | m_bDestroyed |
CMainWindowEventInterface * | m_event_callback |
GtkWidget * | m_fixed_container |
GtkWidget * | m_main_window |
std::vector< CGTKMainWindowWidget * > | m_widgets |
Static Private Attributes | |
static int | m_ref_count = 0 |
Definition at line 33 of file GTKMainWindow.h.
CGTKMainWindow::CGTKMainWindow | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
const char * | title | ||
) |
Definition at line 517 of file GTKMainWindow.cpp.
|
virtual |
Definition at line 537 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 600 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 636 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 701 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 728 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 560 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 618 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 677 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 655 of file GTKMainWindow.cpp.
void CGTKMainWindow::Destroy | ( | GtkWidget * | widget | ) |
Definition at line 502 of file GTKMainWindow.cpp.
|
inline |
Definition at line 70 of file GTKMainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1015 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 796 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 890 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 1001 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 964 of file GTKMainWindow.cpp.
|
inlinevirtual |
Implements CMainWindowInterface.
Definition at line 67 of file GTKMainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 856 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 827 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 916 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 989 of file GTKMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 942 of file GTKMainWindow.cpp.
|
private |
Definition at line 85 of file GTKMainWindow.h.
|
private |
Definition at line 76 of file GTKMainWindow.h.
|
private |
Definition at line 81 of file GTKMainWindow.h.
|
private |
Definition at line 80 of file GTKMainWindow.h.
|
staticprivate |
Definition at line 83 of file GTKMainWindow.h.
|
private |
Definition at line 78 of file GTKMainWindow.h.