#include <vgui_win32.h>
Public Member Functions | |
~vgui_win32 () | |
vgui_window * | get_current_window () |
void | set_current_window (HWND) |
void | remove_current_window () |
int | find_window (HWND) |
void | dump_window_stack () |
vgui_dialog_impl * | get_current_dialog () |
void | remove_current_dialog () |
virtual void | init (int &, char **) |
virtual void | uninit () |
virtual vcl_string | name () const |
virtual vgui_window * | produce_window (int width, int height, vgui_menu const &menubar, char const *title) |
virtual vgui_window * | produce_window (int width, int height, char const *title) |
virtual vgui_dialog_impl * | produce_dialog (char const *name) |
virtual vgui_dialog_extensions_impl * | produce_dialog_extension (char const *name) |
virtual void | run () |
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_win32 * | instance () |
static vgui_toolkit * | lookup (char const *) |
static vcl_vector < vgui_toolkit * > * | registry () |
Protected Member Functions | |
vgui_win32 () | |
BOOL | ProcessShellCommand (int argc, char **argv) |
BOOL | PumpMessage () |
Protected Attributes | |
HINSTANCE | hInstance_ |
HINSTANCE | hPrevInstance_ |
PSTR | szCmdLine_ |
int | iCmdShow_ |
char * | szAppName_ |
vcl_vector< vgui_window * > | windows_to_delete |
vgui_window * | current_window |
vcl_vector< vgui_dialog_impl * > | dialogs_to_delete |
vgui_dialog_impl * | current_dialog |
Static Protected Attributes | |
static vgui_win32 * | instance_ = 0 |
Definition at line 31 of file vgui_win32.h.
vgui_win32::~vgui_win32 | ( | ) |
Definition at line 37 of file vgui_win32.cxx.
vgui_win32::vgui_win32 | ( | ) | [protected] |
Definition at line 22 of file vgui_win32.cxx.
void vgui_win32::add_event | ( | vgui_event const & | e | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 223 of file vgui_win32.cxx.
void vgui_win32::dump_window_stack | ( | ) | [inline] |
Definition at line 264 of file vgui_win32.cxx.
int vgui_win32::find_window | ( | HWND | hwnd | ) | [inline] |
Definition at line 250 of file vgui_win32.cxx.
void vgui_win32::flush | ( | void | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 215 of file vgui_win32.cxx.
vgui_dialog_impl* vgui_win32::get_current_dialog | ( | ) | [inline] |
Definition at line 44 of file vgui_win32.h.
vgui_window* vgui_win32::get_current_window | ( | ) | [inline] |
Definition at line 37 of file vgui_win32.h.
void vgui_win32::init | ( | int & | argc, |
char ** | argv | ||
) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 69 of file vgui_win32.cxx.
vgui_win32 * vgui_win32::instance | ( | ) | [static] |
Definition at line 14 of file vgui_win32.cxx.
vgui_toolkit * vgui_toolkit::lookup | ( | char const * | name | ) | [static, inherited] |
Definition at line 28 of file vgui_toolkit.cxx.
virtual vcl_string vgui_win32::name | ( | void | ) | const [inline, virtual] |
Implements vgui_toolkit.
Definition at line 54 of file vgui_win32.h.
BOOL vgui_win32::ProcessShellCommand | ( | int | argc, |
char ** | argv | ||
) | [protected] |
Definition at line 43 of file vgui_win32.cxx.
vgui_dialog_impl * vgui_win32::produce_dialog | ( | char const * | name | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 154 of file vgui_win32.cxx.
vgui_dialog_extensions_impl * vgui_win32::produce_dialog_extension | ( | char const * | name | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 164 of file vgui_win32.cxx.
vgui_window * vgui_win32::produce_window | ( | int | width, |
int | height, | ||
vgui_menu const & | menubar, | ||
char const * | title | ||
) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 135 of file vgui_win32.cxx.
vgui_window * vgui_win32::produce_window | ( | int | width, |
int | height, | ||
char const * | title | ||
) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 145 of file vgui_win32.cxx.
BOOL vgui_win32::PumpMessage | ( | ) | [protected] |
Definition at line 236 of file vgui_win32.cxx.
void vgui_win32::quit | ( | void | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 229 of file vgui_win32.cxx.
vcl_vector< vgui_toolkit * > * vgui_toolkit::registry | ( | ) | [static, inherited] |
Definition at line 22 of file vgui_toolkit.cxx.
void vgui_win32::remove_current_dialog | ( | ) |
Definition at line 300 of file vgui_win32.cxx.
void vgui_win32::remove_current_window | ( | ) |
Definition at line 292 of file vgui_win32.cxx.
void vgui_win32::run | ( | void | ) | [virtual] |
Implements vgui_toolkit.
Definition at line 171 of file vgui_win32.cxx.
void vgui_win32::run_one_event | ( | void | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 193 of file vgui_win32.cxx.
void vgui_win32::run_till_idle | ( | void | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 200 of file vgui_win32.cxx.
void vgui_win32::set_current_window | ( | HWND | hwnd | ) |
Definition at line 278 of file vgui_win32.cxx.
void vgui_win32::uninit | ( | void | ) | [virtual] |
Reimplemented from vgui_toolkit.
Definition at line 127 of file vgui_win32.cxx.
vgui_dialog_impl* vgui_win32::current_dialog [protected] |
Definition at line 98 of file vgui_win32.h.
vgui_window* vgui_win32::current_window [protected] |
Definition at line 94 of file vgui_win32.h.
vcl_vector<vgui_dialog_impl*> vgui_win32::dialogs_to_delete [protected] |
Definition at line 97 of file vgui_win32.h.
HINSTANCE vgui_win32::hInstance_ [protected] |
Definition at line 86 of file vgui_win32.h.
HINSTANCE vgui_win32::hPrevInstance_ [protected] |
Definition at line 87 of file vgui_win32.h.
int vgui_win32::iCmdShow_ [protected] |
Definition at line 89 of file vgui_win32.h.
vgui_win32 * vgui_win32::instance_ = 0 [static, protected] |
Definition at line 83 of file vgui_win32.h.
char* vgui_win32::szAppName_ [protected] |
Definition at line 90 of file vgui_win32.h.
PSTR vgui_win32::szCmdLine_ [protected] |
Definition at line 88 of file vgui_win32.h.
vcl_vector<vgui_window*> vgui_win32::windows_to_delete [protected] |
Definition at line 93 of file vgui_win32.h.