PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
PGE_QuestionBox Class Reference
Inheritance diagram for PGE_QuestionBox:
PGE_MenuBoxBase PGE_BoxBase

Public Member Functions

 PGE_QuestionBox (Scene *_parentScene=NULL, QString _title="Menu is works!", msgType _type=msg_info, PGE_Point boxCenterPos=PGE_Point(-1,-1), float _padding=-1, QString texture="")
 
 PGE_QuestionBox (const PGE_QuestionBox &mb)
 
void onLeftButton ()
 
void onRightButton ()
 
void onJumpButton ()
 
void onAltJumpButton ()
 
void onRunButton ()
 
void onAltRunButton ()
 
void onStartButton ()
 
void onDropButton ()
 
- Public Member Functions inherited from PGE_MenuBoxBase
 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)
 
- Public Member Functions inherited from PGE_BoxBase
 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 ()
 

Additional Inherited Members

- Public Types inherited from PGE_BoxBase
enum  msgType {
  msg_info =0, msg_info_light, msg_warn, msg_error,
  msg_fatal
}
 
- Static Public Member Functions inherited from PGE_MenuBoxBase
static void info (QString msg)
 
static void warn (QString msg)
 
static void error (QString msg)
 
static void fatal (QString msg)
 
- Public Attributes inherited from PGE_BoxBase
float fader_opacity
 
float target_opacity
 
float fade_step
 
int fadeSpeed
 
float manual_ticks
 
- Protected Member Functions inherited from PGE_BoxBase
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 inherited from PGE_MenuBoxBase
PGE_Menu _menu
 
- Protected Attributes inherited from PGE_BoxBase
SceneparentScene
 
float uTickf
 
int uTick
 
bool _textureUsed
 
PGE_Texture styleTexture
 

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