Public Member Functions | Private Attributes | Static Private Attributes
CGTKMainWindow Class Reference

#include <GTKMainWindow.h>

Inheritance diagram for CGTKMainWindow:
Inheritance graph
[legend]

List of all members.

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)
CMainWindowEventInterfaceGetEventCallback ()
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 ()

Private Attributes

bool m_bDestroyed
CMainWindowEventInterfacem_event_callback
GtkWidget * m_fixed_container
GtkWidget * m_main_window
std::vector
< CGTKMainWindowWidget * > 
m_widgets

Static Private Attributes

static int m_ref_count = 0

Detailed Description

Definition at line 33 of file GTKMainWindow.h.


Constructor & Destructor Documentation

CGTKMainWindow::CGTKMainWindow ( int  x,
int  y,
int  width,
int  height,
const char *  title 
)

Definition at line 517 of file GTKMainWindow.cpp.

Definition at line 537 of file GTKMainWindow.cpp.


Member Function Documentation

WIDGET_HANDLE CGTKMainWindow::AddButton ( int  x,
int  y,
int  width,
int  height,
const char *  text,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 600 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddCheckBox ( int  x,
int  y,
int  width,
int  height,
const char *  text,
bool  checked,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 636 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddComboBox ( int  x,
int  y,
int  width,
int  height,
int  num_entries,
const char **  entries,
int  current_entry,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 701 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddGLWidget ( int  x,
int  y,
int  width,
int  height,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 728 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddImage ( int  x,
int  y,
int  width,
int  height,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 560 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddLabel ( int  x,
int  y,
int  width,
int  height,
const char *  text,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 618 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddSlider ( int  x,
int  y,
int  width,
int  height,
int  min_value,
int  max_value,
int  step,
int  value,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 677 of file GTKMainWindow.cpp.

WIDGET_HANDLE CGTKMainWindow::AddTextEdit ( int  x,
int  y,
int  width,
int  height,
const char *  text,
WIDGET_HANDLE  parent = 0 
) [virtual]

Implements CMainWindowInterface.

Definition at line 655 of file GTKMainWindow.cpp.

void CGTKMainWindow::Destroy ( GtkWidget *  widget)

Definition at line 502 of file GTKMainWindow.cpp.

Definition at line 70 of file GTKMainWindow.h.

Implements CMainWindowInterface.

Definition at line 1015 of file GTKMainWindow.cpp.

bool CGTKMainWindow::GetText ( WIDGET_HANDLE  widget,
char *  text,
int  len 
) [virtual]

Implements CMainWindowInterface.

Definition at line 796 of file GTKMainWindow.cpp.

bool CGTKMainWindow::GetValue ( WIDGET_HANDLE  widget,
int &  value 
) [virtual]

Implements CMainWindowInterface.

Definition at line 890 of file GTKMainWindow.cpp.

void CGTKMainWindow::Hide ( WIDGET_HANDLE  widget = 0) [virtual]

Implements CMainWindowInterface.

Definition at line 1001 of file GTKMainWindow.cpp.

Implements CMainWindowInterface.

Definition at line 964 of file GTKMainWindow.cpp.

Implements CMainWindowInterface.

Definition at line 67 of file GTKMainWindow.h.

bool CGTKMainWindow::SetImage ( WIDGET_HANDLE  widget,
const CByteImage pImage 
) [virtual]

Implements CMainWindowInterface.

Definition at line 856 of file GTKMainWindow.cpp.

bool CGTKMainWindow::SetText ( WIDGET_HANDLE  widget,
const char *  text 
) [virtual]

Implements CMainWindowInterface.

Definition at line 827 of file GTKMainWindow.cpp.

bool CGTKMainWindow::SetValue ( WIDGET_HANDLE  widget,
int  value 
) [virtual]

Implements CMainWindowInterface.

Definition at line 916 of file GTKMainWindow.cpp.

void CGTKMainWindow::Show ( WIDGET_HANDLE  widget = 0) [virtual]

Implements CMainWindowInterface.

Definition at line 989 of file GTKMainWindow.cpp.

Implements CMainWindowInterface.

Definition at line 942 of file GTKMainWindow.cpp.


Member Data Documentation

Definition at line 85 of file GTKMainWindow.h.

Definition at line 76 of file GTKMainWindow.h.

GtkWidget* CGTKMainWindow::m_fixed_container [private]

Definition at line 81 of file GTKMainWindow.h.

GtkWidget* CGTKMainWindow::m_main_window [private]

Definition at line 80 of file GTKMainWindow.h.

int CGTKMainWindow::m_ref_count = 0 [static, private]

Definition at line 83 of file GTKMainWindow.h.

Definition at line 78 of file GTKMainWindow.h.


The documentation for this class was generated from the following files:


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Thu Jun 6 2019 21:46:58