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 396 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 761 of file widget.cpp.

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

Definition at line 767 of file widget.cpp.

GUI::GraphicsWidget::~GraphicsWidget (  ) 

Definition at line 773 of file widget.cpp.

Member Function Documentation

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

Implements GUI::Widget.

Definition at line 809 of file widget.cpp.

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

Definition at line 796 of file widget.cpp.

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

Definition at line 777 of file widget.cpp.

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

Definition at line 405 of file widget.h.

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

Definition at line 406 of file widget.h.

Member Data Documentation

int GUI::GraphicsWidget::_alpha [protected]

Definition at line 412 of file widget.h.

Definition at line 411 of file widget.h.

Definition at line 413 of file widget.h.

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

Generated on Sat Mar 28 2020 05:02:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge