#include <vgui_wx.h>
Inheritance diagram for vgui_wx:

Provides functions for controlling the event loop and creating new windows and dialogs.
Definition at line 23 of file vgui_wx.h.
Public Member Functions | |
| virtual vgui_dialog_extensions_impl * | produce_dialog_extension (char const *name) |
Static Public Member Functions | |
| static vgui_wx * | instance () |
| Singleton method instance. | |
| static vgui_toolkit * | lookup (char const *) |
| static vcl_vector< vgui_toolkit * > * | registry () |
Private Member Functions | |
| virtual vcl_string | name () const |
| Returns the name of the GUI toolkit ("wx"). | |
| vgui_wx () | |
| Constructor - default. | |
| virtual | ~vgui_wx () |
| Destructor. | |
| virtual void | init (int &, char **) |
| Initialize the wxWidgets GUI framework. | |
| virtual void | uninit () |
| virtual void | run () |
| Run the event loop. | |
| virtual void | run_one_event () |
| Run the next event. | |
| virtual void | run_till_idle () |
| Run until event queue is empty. | |
| virtual void | flush () |
| Clear all events from the queue. | |
| virtual void | add_event (const vgui_event &) |
| Add an event to the queue. | |
| virtual void | quit () |
| Quit the application. | |
| virtual vgui_window * | produce_window (int width, int height, const vgui_menu &menubar, const char *title="vgui wx window") |
| Create a new window with a menubar. | |
| virtual vgui_window * | produce_window (int width, int height, const char *title="vgui wx popup") |
| Create a new window. | |
| virtual vgui_dialog_impl * | produce_dialog (const char *name) |
| Create a new dialog window. | |
Private Attributes | |
| vcl_vector< vgui_window * > | windows_to_delete_ |
| Handle to windows created that need deleting. | |
| bool | adaptor_embedded_ |
| True if we are embedding vgui_adaptor into wxWidgets app. | |
|
|
Constructor - default.
Definition at line 48 of file vgui_wx.cxx. |
|
|
Destructor.
Definition at line 57 of file vgui_wx.cxx. |
|
|
Add an event to the queue.
Reimplemented from vgui_toolkit. Definition at line 222 of file vgui_wx.cxx. |
|
|
Clear all events from the queue.
Reimplemented from vgui_toolkit. Definition at line 215 of file vgui_wx.cxx. |
|
||||||||||||
|
Initialize the wxWidgets GUI framework.
Reimplemented from vgui_toolkit. Definition at line 65 of file vgui_wx.cxx. |
|
|
Singleton method instance.
Definition at line 38 of file vgui_wx.cxx. |
|
|
Definition at line 28 of file vgui_toolkit.cxx. |
|
|
Returns the name of the GUI toolkit ("wx").
Implements vgui_toolkit. Definition at line 45 of file vgui_wx.cxx. |
|
|
Create a new dialog window.
Reimplemented from vgui_toolkit. Definition at line 265 of file vgui_wx.cxx. |
|
|
Reimplemented in vgui_mfc. Definition at line 90 of file vgui_toolkit.cxx. |
|
||||||||||||||||
|
Create a new window.
Reimplemented from vgui_toolkit. Definition at line 256 of file vgui_wx.cxx. |
|
||||||||||||||||||||
|
Create a new window with a menubar.
Reimplemented from vgui_toolkit. Definition at line 246 of file vgui_wx.cxx. |
|
|
Quit the application.
Reimplemented from vgui_toolkit. Definition at line 229 of file vgui_wx.cxx. |
|
|
Definition at line 22 of file vgui_toolkit.cxx. |
|
|
Run the event loop.
Implements vgui_toolkit. Definition at line 179 of file vgui_wx.cxx. |
|
|
Run the next event.
Reimplemented from vgui_toolkit. Definition at line 196 of file vgui_wx.cxx. |
|
|
Run until event queue is empty.
Reimplemented from vgui_toolkit. Definition at line 203 of file vgui_wx.cxx. |
|
|
Reimplemented from vgui_toolkit. Definition at line 133 of file vgui_wx.cxx. |
|
|
True if we are embedding vgui_adaptor into wxWidgets app.
|
|
|
Handle to windows created that need deleting.
|
1.4.4