messageBoxComponent.h

Go to the documentation of this file.
00001 #ifndef MESSAGE_BOX_COMPONENT_H
00002 #define MESSAGE_BOX_COMPONENT_H
00003 
00013 #include "labelComponent.h"
00014 
00015 
00019 class MessageBoxComponent : public ComponentInterface {
00020 public:
00021   enum { OK_Button, OK_Cancel_Buttons };
00022   MessageBoxComponent(void);
00023   ~MessageBoxComponent(void);
00024   bool draw(unsigned long ticks, const UserInput& ui);
00025 
00026   void setLabel(LabelComponent* label, int type = OK_Button);
00027   void activate(void);
00028 
00029   bool isDecided(void);
00030   int getSelectedIndex(void);
00031 };
00032 
00033 #endif /* !MESSAGE_BOX_COMPONENT_H */
00034 

Generated on Mon Apr 13 22:52:02 2009 by  doxygen 1.5.7.1