MessageBox.pkg 601 B

123456789101112131415161718
  1. $#include "MessageBox.h"
  2. class MessageBox : public Object
  3. {
  4. MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0);
  5. virtual ~MessageBox();
  6. void SetTitle(const String& text);
  7. void SetMessage(const String& text);
  8. const String GetTitle() const;
  9. const String GetMessage() const;
  10. UIElement* GetWindow() const;
  11. tolua_property__get_set String& title;
  12. tolua_property__get_set String& message;
  13. tolua_readonly tolua_property__get_set UIElement* window;
  14. };