The PGE_BoxBase class. More...
#include <pge_boxbase.h>
Public Types | |
| enum | msgType { msg_info =0, msg_info_light, msg_warn, msg_error, msg_fatal } |
Public Member Functions | |
| PGE_BoxBase (Scene *_parentScene=0) | |
| PGE_BoxBase (const PGE_BoxBase &bb) | |
| virtual void | setParentScene (Scene *_parentScene) |
| virtual void | exec () |
| virtual void | update (float ticks) |
| virtual void | render () |
| void | setFade (int speed, float target, float step) |
| bool | tickFader (float ticks) |
| void | fadeStep () |
| void | loadTexture (QString path) |
| void | updateTickValue () |
Public Attributes | |
| float | fader_opacity |
| float | target_opacity |
| float | fade_step |
| int | fadeSpeed |
| float | manual_ticks |
Protected Member Functions | |
| void | construct (Scene *_parentScene=0) |
| void | drawTexture (int left, int top, int right, int bottom, int border=32) |
| void | drawTexture (PGE_Rect _rect, int border=32) |
| void | drawPiece (PGE_RectF target, PGE_RectF block, PGE_RectF texture) |
Protected Attributes | |
| Scene * | parentScene |
| float | uTickf |
| int | uTick |
| bool | _textureUsed |
| PGE_Texture | styleTexture |
The PGE_BoxBase class.
This class provides the basis of message boxes, menus, questions, etc.
1.8.7