|
|
| PGE_MenuBoxBase (Scene *_parentScene=NULL, PGE_Menu::menuAlignment alignment=PGE_Menu::menuAlignment::VERTICLE, int gapSpace=0, QString _title="Menu is works!", msgType _type=msg_info, PGE_Point boxCenterPos=PGE_Point(-1,-1), float _padding=-1, QString texture="") |
| |
|
| PGE_MenuBoxBase (const PGE_MenuBoxBase &mb) |
| |
|
void | construct (QString _title="Menu is works!", msgType _type=msg_info, PGE_Point pos=PGE_Point(-1,-1), float _padding=-1, QString texture="") |
| |
|
void | setParentScene (Scene *_parentScene) |
| |
|
void | setType (msgType _type) |
| |
|
void | setTitleFont (QString fontName) |
| |
|
void | setTitleFontColor (GlColor color) |
| |
|
void | setTitleText (QString text) |
| |
|
void | setPadding (int _padding) |
| |
|
void | clearMenu () |
| |
|
void | addMenuItem (QString &menuitem) |
| |
|
void | addMenuItems (QStringList &menuitems) |
| |
|
void | setPos (float x, float y) |
| |
|
void | setMaxMenuItems (int items) |
| |
|
void | setBoxSize (float _Width, float _Height, float _padding) |
| |
|
void | update (float ticks) |
| |
|
void | render () |
| |
|
void | restart () |
| |
|
bool | isRunning () |
| |
|
void | exec () |
| |
|
void | setRejectSnd (long sndRole) |
| |
|
int | answer () |
| |
|
void | reject () |
| |
|
void | processKeyEvent (SDL_Keycode &key) |
| |
|
void | processLoader (float ticks) |
| |
|
void | processBox (float) |
| |
|
void | processUnLoader (float ticks) |
| |
|
| PGE_BoxBase (Scene *_parentScene=0) |
| |
|
| PGE_BoxBase (const PGE_BoxBase &bb) |
| |
|
void | setFade (int speed, float target, float step) |
| |
|
bool | tickFader (float ticks) |
| |
|
void | fadeStep () |
| |
|
void | loadTexture (QString path) |
| |
|
void | updateTickValue () |
| |
|
| enum | msgType {
msg_info =0,
msg_info_light,
msg_warn,
msg_error,
msg_fatal
} |
| |
|
float | fader_opacity |
| |
|
float | target_opacity |
| |
|
float | fade_step |
| |
|
int | fadeSpeed |
| |
|
float | manual_ticks |
| |
|
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) |
| |