Public Member Functions | Static Public Member Functions
vgui_toolkit Class Reference

Base class for toolkit implementations. More...

#include <vgui_toolkit.h>

Inheritance diagram for vgui_toolkit:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vgui_toolkit ()
virtual ~vgui_toolkit ()
virtual void init (int &, char **)
virtual void uninit ()
virtual vcl_string name () const =0
virtual vgui_windowproduce_window (int width, int height, vgui_menu const &menubar, char const *title)
virtual vgui_windowproduce_window (int width, int height, char const *title)
virtual vgui_dialog_implproduce_dialog (char const *name)
virtual
vgui_dialog_extensions_impl
produce_dialog_extension (char const *name)
virtual void run ()=0
virtual void run_one_event ()
virtual void run_till_idle ()
virtual void flush ()
virtual void add_event (vgui_event const &)
virtual void quit ()

Static Public Member Functions

static vgui_toolkitlookup (char const *)
static vcl_vector
< vgui_toolkit * > * 
registry ()

Detailed Description

Base class for toolkit implementations.

The toolkit is responsible for opening the initial window, and running the main event loop. An example derived class is vgui_mfc .

Definition at line 31 of file vgui_toolkit.h.


Constructor & Destructor Documentation

vgui_toolkit::vgui_toolkit ( )

Definition at line 40 of file vgui_toolkit.cxx.

vgui_toolkit::~vgui_toolkit ( ) [virtual]

Definition at line 47 of file vgui_toolkit.cxx.


Member Function Documentation

void vgui_toolkit::add_event ( vgui_event const &  ) [virtual]

Reimplemented in vgui_win32, vgui_wx, and vgui_mfc.

Definition at line 124 of file vgui_toolkit.cxx.

void vgui_toolkit::flush ( void  ) [virtual]

Reimplemented in vgui_win32, vgui_gtk, vgui_gtk2, vgui_wx, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 119 of file vgui_toolkit.cxx.

void vgui_toolkit::init ( int &  ,
char **   
) [virtual]

Reimplemented in vgui_gtk, vgui_gtk2, vgui_mfc, vgui_win32, vgui_qt, vgui_qt, vgui_wx, and vgui_glut_impl.

Definition at line 64 of file vgui_toolkit.cxx.

vgui_toolkit * vgui_toolkit::lookup ( char const *  name) [static]

Definition at line 28 of file vgui_toolkit.cxx.

virtual vcl_string vgui_toolkit::name ( ) const [pure virtual]
vgui_dialog_impl * vgui_toolkit::produce_dialog ( char const *  name) [virtual]

Reimplemented in vgui_wx, vgui_gtk, vgui_gtk2, vgui_win32, vgui_mfc, vgui_qt, and vgui_qt.

Definition at line 84 of file vgui_toolkit.cxx.

vgui_dialog_extensions_impl * vgui_toolkit::produce_dialog_extension ( char const *  name) [virtual]

Reimplemented in vgui_win32, and vgui_mfc.

Definition at line 90 of file vgui_toolkit.cxx.

vgui_window * vgui_toolkit::produce_window ( int  width,
int  height,
vgui_menu const &  menubar,
char const *  title 
) [virtual]

Reimplemented in vgui_wx, vgui_gtk, vgui_gtk2, vgui_win32, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 67 of file vgui_toolkit.cxx.

vgui_window * vgui_toolkit::produce_window ( int  width,
int  height,
char const *  title 
) [virtual]

Reimplemented in vgui_wx, vgui_gtk, vgui_gtk2, vgui_win32, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 76 of file vgui_toolkit.cxx.

void vgui_toolkit::quit ( void  ) [virtual]

Reimplemented in vgui_win32, vgui_wx, vgui_gtk, vgui_gtk2, vgui_mfc, and vgui_glut_impl.

Definition at line 96 of file vgui_toolkit.cxx.

vcl_vector< vgui_toolkit * > * vgui_toolkit::registry ( ) [static]

Definition at line 22 of file vgui_toolkit.cxx.

void vgui_toolkit::run ( void  ) [pure virtual]

Implemented in vgui_win32, vgui_gtk, vgui_gtk2, vgui_wx, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 103 of file vgui_toolkit.cxx.

void vgui_toolkit::run_one_event ( void  ) [virtual]

Reimplemented in vgui_win32, vgui_gtk, vgui_gtk2, vgui_wx, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 108 of file vgui_toolkit.cxx.

void vgui_toolkit::run_till_idle ( void  ) [virtual]

Reimplemented in vgui_win32, vgui_gtk, vgui_gtk2, vgui_wx, vgui_mfc, vgui_qt, vgui_qt, and vgui_glut_impl.

Definition at line 114 of file vgui_toolkit.cxx.

void vgui_toolkit::uninit ( void  ) [virtual]

Reimplemented in vgui_mfc, vgui_win32, and vgui_wx.

Definition at line 129 of file vgui_toolkit.cxx.


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