wxWidgets implementation of vgui_statusbar. More...
#include <vgui_wx_statusbar.h>
Public Member Functions | |
vgui_wx_statusbar () | |
Constructor, creates a wxWidgets status bar and displays it. | |
virtual | ~vgui_wx_statusbar () |
Destructor. | |
int | write (const char *text, int n) |
Append given text (of given length) to the status bar. | |
int | write (const char *text) |
Append given text to the status bar. | |
vgui_statusbuf * | statusbuf (void) const |
void | set_widget (wxStatusBar *widget) |
Private Attributes | |
wxStatusBar * | widget_ |
vgui_statusbuf * | statusbuf_ |
vcl_string | linebuffer_ |
wxWidgets implementation of vgui_statusbar.
This class allows vgui to post messages to the native GUI's statusbar, if available.
Definition at line 27 of file vgui_wx_statusbar.h.
vgui_wx_statusbar::vgui_wx_statusbar | ( | void | ) |
Constructor, creates a wxWidgets status bar and displays it.
Definition at line 17 of file vgui_wx_statusbar.cxx.
vgui_wx_statusbar::~vgui_wx_statusbar | ( | void | ) | [virtual] |
Destructor.
Definition at line 24 of file vgui_wx_statusbar.cxx.
void vgui_wx_statusbar::set_widget | ( | wxStatusBar * | widget | ) | [inline] |
Definition at line 44 of file vgui_wx_statusbar.h.
vgui_statusbuf* vgui_wx_statusbar::statusbuf | ( | void | ) | const [inline] |
Definition at line 42 of file vgui_wx_statusbar.h.
int vgui_wx_statusbar::write | ( | const char * | text, |
int | n | ||
) | [virtual] |
Append given text (of given length) to the status bar.
Implements vgui_statusbar.
Definition at line 33 of file vgui_wx_statusbar.cxx.
int vgui_wx_statusbar::write | ( | const char * | text | ) | [virtual] |
Append given text to the status bar.
Implements vgui_statusbar.
Definition at line 62 of file vgui_wx_statusbar.cxx.
vcl_string vgui_wx_statusbar::linebuffer_ [private] |
Definition at line 50 of file vgui_wx_statusbar.h.
vgui_statusbuf* vgui_wx_statusbar::statusbuf_ [private] |
Definition at line 49 of file vgui_wx_statusbar.h.
wxStatusBar* vgui_wx_statusbar::widget_ [private] |
Definition at line 47 of file vgui_wx_statusbar.h.