ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <widget.h>

Inheritance diagram for GUI::GraphicsWidget:
Collaboration diagram for GUI::GraphicsWidget:

List of all members.

Public Member Functions

 GraphicsWidget (GuiObject *boss, int x, int y, int w, int h, const char *tooltip=0)
 GraphicsWidget (GuiObject *boss, const Common::String &name, const char *tooltip=0)
 ~GraphicsWidget ()
void setGfx (const Graphics::Surface *gfx)
void setGfx (int w, int h, int r, int g, int b)
void useAlpha (int alpha)
void useThemeTransparency (bool enable)

Protected Member Functions

void drawWidget ()

Protected Attributes

Graphics::Surface _gfx
int _alpha
bool _transparency

Detailed Description

Definition at line 365 of file widget.h.


Constructor & Destructor Documentation

GUI::GraphicsWidget::GraphicsWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const char *  tooltip = 0 
)

Definition at line 662 of file widget.cpp.

GUI::GraphicsWidget::GraphicsWidget ( GuiObject boss,
const Common::String name,
const char *  tooltip = 0 
)

Definition at line 668 of file widget.cpp.

GUI::GraphicsWidget::~GraphicsWidget (  ) 

Definition at line 674 of file widget.cpp.


Member Function Documentation

void GUI::GraphicsWidget::drawWidget (  )  [protected, virtual]

Implements GUI::Widget.

Definition at line 710 of file widget.cpp.

void GUI::GraphicsWidget::setGfx ( int  w,
int  h,
int  r,
int  g,
int  b 
)

Definition at line 697 of file widget.cpp.

void GUI::GraphicsWidget::setGfx ( const Graphics::Surface gfx  ) 

Definition at line 678 of file widget.cpp.

void GUI::GraphicsWidget::useAlpha ( int  alpha  )  [inline]

Definition at line 374 of file widget.h.

void GUI::GraphicsWidget::useThemeTransparency ( bool  enable  )  [inline]

Definition at line 375 of file widget.h.


Member Data Documentation

int GUI::GraphicsWidget::_alpha [protected]

Definition at line 381 of file widget.h.

Definition at line 380 of file widget.h.

Definition at line 382 of file widget.h.


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


Generated on Sat Jan 12 2019 05:04:46 for ResidualVM by doxygen 1.7.1
curved edge   curved edge