#include <image.h>
Inheritance diagram for VGUI::Image:


Public Member Functions | |
| Image () | |
| Image (Widget *w) | |
| ~Image () | |
| void | Draw () |
| void | Draw (float opacity) |
| string | GetFilename () |
| void | SetFilename (string new_filename) |
Private Member Functions | |
| void | Load () |
Private Attributes | |
| string | filename |
| TEXTURE_HANDLE | img_tex |
Definition at line 9 of file image.h.
|
|
|
|
|
|
|
|
|
Reimplemented from VGUI::Widget. Definition at line 53 of file image.cpp. References VGUI::Widget::center, UTILITY::Draw2D(), VGUI::Location::GetXPercent(), VGUI::Location::GetYPercent(), img_tex, VGUI::Widget::rel_height, VGUI::Widget::rel_width, and utility. |
|
|
Reimplemented from VGUI::Widget. |
|
|
Definition at line 18 of file image.h. References filename. |
|
|
Definition at line 33 of file image.cpp. References filename, VGUI::Widget::height_auto, img_tex, TEXTURE_HANDLE::Load(), VGUI::Widget::rel_height, VGUI::Widget::rel_width, and VGUI::Widget::width_auto. Referenced by SetFilename(). |
|
|
|
|
|
Definition at line 22 of file image.h. Referenced by GetFilename(), Image(), Load(), and SetFilename(). |
|
|
|
1.4.6