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 Common::U32String &tooltip=Common::U32String(""))
 GraphicsWidget (GuiObject *boss, const Common::String &name, const Common::U32String &tooltip=Common::U32String(""))
 ~GraphicsWidget () override
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 () override

Protected Attributes

Graphics::Surface _gfx
int _alpha
bool _transparency

Detailed Description

Definition at line 415 of file widget.h.


Constructor & Destructor Documentation

GUI::GraphicsWidget::GraphicsWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const Common::U32String tooltip = Common::U32String("") 
)

Definition at line 815 of file widget.cpp.

GUI::GraphicsWidget::GraphicsWidget ( GuiObject boss,
const Common::String name,
const Common::U32String tooltip = Common::U32String("") 
)

Definition at line 821 of file widget.cpp.

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

Definition at line 827 of file widget.cpp.


Member Function Documentation

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

Implements GUI::Widget.

Definition at line 858 of file widget.cpp.

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

Definition at line 845 of file widget.cpp.

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

Definition at line 831 of file widget.cpp.

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

Definition at line 424 of file widget.h.

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

Definition at line 425 of file widget.h.


Member Data Documentation

int GUI::GraphicsWidget::_alpha [protected]

Definition at line 431 of file widget.h.

Definition at line 430 of file widget.h.

Definition at line 432 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