UIMessageWindow.h 439 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "UIWindow.h"
  3. namespace Atomic
  4. {
  5. class UIMessageWindow : public UIWindow
  6. {
  7. OBJECT(UIMessageWindow)
  8. public:
  9. UIMessageWindow(Context* context, UIWidget* target, const String& id, bool createWidget = true);
  10. virtual ~UIMessageWindow();
  11. void Show(const String& title, const String& message, int width, int height);
  12. protected:
  13. virtual bool OnEvent(const tb::TBWidgetEvent &ev);
  14. private:
  15. };
  16. }