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 266 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 488 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 496 of file widget.cpp.

GUI::PicButtonWidget::~PicButtonWidget (  ) 

Definition at line 503 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 541 of file widget.cpp.

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

Definition at line 277 of file widget.h.

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

Definition at line 528 of file widget.cpp.

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

Definition at line 508 of file widget.cpp.

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

Definition at line 275 of file widget.h.

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

Definition at line 276 of file widget.h.


Member Data Documentation

Definition at line 283 of file widget.h.

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

Definition at line 282 of file widget.h.

Definition at line 285 of file widget.h.

Definition at line 284 of file widget.h.


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


Generated on Sat Jan 18 2020 05:02:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge