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 Common::U32String &tooltip=Common::U32String(""), uint32 cmd=0, uint8 hotkey=0)
 PicButtonWidget (GuiObject *boss, const Common::String &name, const Common::U32String &tooltip=Common::U32String(""), uint32 cmd=0, uint8 hotkey=0)
 ~PicButtonWidget () override
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 () override

Protected Attributes

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

Detailed Description

Definition at line 285 of file widget.h.


Constructor & Destructor Documentation

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

Definition at line 544 of file widget.cpp.

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

Definition at line 552 of file widget.cpp.

GUI::PicButtonWidget::~PicButtonWidget (  )  [override]

Definition at line 559 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 591 of file widget.cpp.

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

Definition at line 296 of file widget.h.

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

Definition at line 578 of file widget.cpp.

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

Definition at line 564 of file widget.cpp.

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

Definition at line 294 of file widget.h.

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

Definition at line 295 of file widget.h.


Member Data Documentation

Definition at line 302 of file widget.h.

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

Definition at line 301 of file widget.h.

Definition at line 304 of file widget.h.

Definition at line 303 of file widget.h.


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


Generated on Sat Sep 19 2020 05:05:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge