VGUI::Label Class Reference

#include <label.h>

Inheritance diagram for VGUI::Label:

Inheritance graph
[legend]
Collaboration diagram for VGUI::Label:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Label ()
 Label (Widget *w)
 ~Label ()
void Draw ()
void Draw (float opacity)

Detailed Description

Definition at line 9 of file label.h.


Constructor & Destructor Documentation

VGUI::Label::Label  )  [inline]
 

Definition at line 12 of file label.h.

Label::Label Widget w  ) 
 

Definition at line 6 of file label.cpp.

References VGUI::Widget::center, VGUI::Widget::color_b, VGUI::Widget::color_g, VGUI::Widget::color_r, VGUI::Widget::enabled, VGUI::Widget::font_size, VGUI::Widget::GetCancel(), VGUI::Widget::GetCenter(), VGUI::Widget::GetColorB(), VGUI::Widget::GetColorG(), VGUI::Widget::GetColorR(), VGUI::Widget::GetDefault(), VGUI::Widget::GetEnabled(), VGUI::Widget::GetFontSize(), VGUI::Widget::GetHasIcon(), VGUI::Widget::GetHeightAuto(), VGUI::Widget::GetName(), VGUI::Widget::GetRelHeight(), VGUI::Widget::GetRelWidth(), VGUI::Widget::GetSelected(), VGUI::Widget::GetText(), VGUI::Widget::GetTip(), VGUI::Widget::GetType(), VGUI::Widget::GetWidthAuto(), VGUI::Widget::has_icon, VGUI::Widget::height_auto, VGUI::Widget::is_cancel, VGUI::Widget::is_default, VGUI::Widget::name, VGUI::Widget::rel_height, VGUI::Widget::rel_width, VGUI::Widget::selected, VGUI::Widget::text, VGUI::Widget::tip, VGUI::Widget::type, and VGUI::Widget::width_auto.

Label::~Label  ) 
 

Definition at line 28 of file label.cpp.


Member Function Documentation

void Label::Draw float  opacity  )  [virtual]
 

Reimplemented from VGUI::Widget.

Definition at line 37 of file label.cpp.

References VGUI::Widget::center, VGUI::Widget::color_b, VGUI::Widget::color_g, VGUI::Widget::color_r, font, VGUI::Widget::font_size, VGUI::Location::GetXPercent(), VGUI::Location::GetYPercent(), FONT::Height(), FONT::Print(), VGUI::Widget::text, and FONT::Width().

void Label::Draw  )  [virtual]
 

Reimplemented from VGUI::Widget.

Definition at line 32 of file label.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Oct 19 04:14:20 2006 by  doxygen 1.4.6