00001 // TODO: Resize 00002 00003 #ifndef _ALERT_H_ 00004 #define _ALERT_H_ 00005 00006 #include <nds.h> 00007 #include "amigawindow.h" 00008 00009 namespace WoopsiUI { 00010 00011 class Button; 00012 class MultiLineTextBox; 00013 00019 class Alert : public AmigaWindow { 00020 public: 00021 00032 Alert(s16 x, s16 y, u16 width, u16 height, const char* title, const char* text, FontBase* font = NULL); 00033 00037 virtual void handleReleaseEvent(const GadgetEventArgs& e); 00038 00039 protected: 00040 Button* _button; 00041 MultiLineTextBox* _textBox; 00046 virtual inline ~Alert() { }; 00047 00051 inline Alert(const Alert& alert) : AmigaWindow(alert) { }; 00052 }; 00053 } 00054 00055 #endif