Public Member Functions | Private Attributes
vgui_wx_statusbar Class Reference

wxWidgets implementation of vgui_statusbar. More...

#include <vgui_wx_statusbar.h>

Inheritance diagram for vgui_wx_statusbar:
Inheritance graph
[legend]

List of all members.

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_statusbufstatusbuf (void) const
void set_widget (wxStatusBar *widget)

Private Attributes

wxStatusBar * widget_
vgui_statusbufstatusbuf_
vcl_string linebuffer_

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

vcl_string vgui_wx_statusbar::linebuffer_ [private]

Definition at line 50 of file vgui_wx_statusbar.h.

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.


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