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

#include <widget.h>

Inheritance diagram for GUI::PicButtonWidget:
Collaboration diagram for GUI::PicButtonWidget:

List of all members.

Public Member Functions

 PicButtonWidget (GuiObject *boss, int x, int y, int w, int h, const char *tooltip=0, uint32 cmd=0, uint8 hotkey=0)
 PicButtonWidget (GuiObject *boss, const Common::String &name, const char *tooltip=0, uint32 cmd=0, uint8 hotkey=0)
 ~PicButtonWidget ()
void setGfx (const Graphics::Surface *gfx, int statenum=kPicButtonStateEnabled)
void setGfx (int w, int h, int r, int g, int b, int statenum=kPicButtonStateEnabled)
void useAlpha (int alpha)
void useThemeTransparency (bool enable)
void setButtonDisplay (bool enable)

Protected Member Functions

void drawWidget ()

Protected Attributes

Graphics::Surface _gfx [kPicButtonStateMax+1]
int _alpha
bool _transparency
bool _showButton

Detailed Description

Definition at line 235 of file widget.h.


Constructor & Destructor Documentation

GUI::PicButtonWidget::PicButtonWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const char *  tooltip = 0,
uint32  cmd = 0,
uint8  hotkey = 0 
)

Definition at line 389 of file widget.cpp.

GUI::PicButtonWidget::PicButtonWidget ( GuiObject boss,
const Common::String name,
const char *  tooltip = 0,
uint32  cmd = 0,
uint8  hotkey = 0 
)

Definition at line 397 of file widget.cpp.

GUI::PicButtonWidget::~PicButtonWidget (  ) 

Definition at line 404 of file widget.cpp.


Member Function Documentation

void GUI::PicButtonWidget::drawWidget (  )  [protected]

Reimplemented from GUI::ButtonWidget.

Definition at line 442 of file widget.cpp.

void GUI::PicButtonWidget::setButtonDisplay ( bool  enable  )  [inline]

Definition at line 246 of file widget.h.

void GUI::PicButtonWidget::setGfx ( int  w,
int  h,
int  r,
int  g,
int  b,
int  statenum = kPicButtonStateEnabled 
)

Definition at line 429 of file widget.cpp.

void GUI::PicButtonWidget::setGfx ( const Graphics::Surface gfx,
int  statenum = kPicButtonStateEnabled 
)

Definition at line 409 of file widget.cpp.

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

Definition at line 244 of file widget.h.

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

Definition at line 245 of file widget.h.


Member Data Documentation

Definition at line 252 of file widget.h.

Graphics::Surface GUI::PicButtonWidget::_gfx[kPicButtonStateMax+1] [protected]

Definition at line 251 of file widget.h.

Definition at line 254 of file widget.h.

Definition at line 253 of file widget.h.


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


Generated on Sat Nov 16 2019 05:03:20 for ResidualVM by doxygen 1.7.1
curved edge   curved edge