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=nullptr)
 GraphicsWidget (GuiObject *boss, const Common::String &name, const char *tooltip=nullptr)
 ~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 413 of file widget.h.


Constructor & Destructor Documentation

GUI::GraphicsWidget::GraphicsWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const char *  tooltip = nullptr 
)

Definition at line 809 of file widget.cpp.

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

Definition at line 815 of file widget.cpp.

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

Definition at line 821 of file widget.cpp.


Member Function Documentation

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

Implements GUI::Widget.

Definition at line 852 of file widget.cpp.

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

Definition at line 839 of file widget.cpp.

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

Definition at line 825 of file widget.cpp.

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

Definition at line 422 of file widget.h.

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

Definition at line 423 of file widget.h.


Member Data Documentation

int GUI::GraphicsWidget::_alpha [protected]

Definition at line 429 of file widget.h.

Definition at line 428 of file widget.h.

Definition at line 430 of file widget.h.


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


Generated on Sat Jul 4 2020 05:03:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge