#include <bargraphwidget.h>
Public Types | |
| enum | Direction { l2r, r2l, t2b, b2t } |
| typedef vector< pair< double, int > > | Colors |
Public Member Functions | |
| BarGraphWidget (PG_Widget *parent, const PG_Rect &rect, Direction direction) | |
| void | setFraction (float f) |
| void | setColor (int c) |
| void | setColor (PG_Color c) |
| void | setColor (Colors colors) |
| void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
Definition at line 24 of file bargraphwidget.h.
| typedef vector<pair<double,int> > BarGraphWidget::Colors |
Definition at line 28 of file bargraphwidget.h.
| BarGraphWidget::BarGraphWidget | ( | PG_Widget * | parent, | |
| const PG_Rect & | rect, | |||
| Direction | direction | |||
| ) |
Definition at line 15 of file bargraphwidget.cpp.
| void BarGraphWidget::setFraction | ( | float | f | ) |
Definition at line 65 of file bargraphwidget.cpp.
Referenced by StoringPosition::setBargraphValue().
| void BarGraphWidget::setColor | ( | int | c | ) | [inline] |
Definition at line 37 of file bargraphwidget.h.
Referenced by ASCGUI_Window::WidgetParameters::assign(), and ASCGUI_Window::parsePanelASCTXT().
| void BarGraphWidget::setColor | ( | PG_Color | c | ) | [inline] |
Definition at line 38 of file bargraphwidget.h.
| void BarGraphWidget::setColor | ( | Colors | colors | ) | [inline] |
Definition at line 39 of file bargraphwidget.h.
| void BarGraphWidget::eventBlit | ( | SDL_Surface * | surface, | |
| const PG_Rect & | src, | |||
| const PG_Rect & | dst | |||
| ) |
1.5.1