- Main Page
- Classes
- Files

- File List

# alert.h

    00001 // TODO: Resize
    00002
    00003 #ifndef _ALERT_H_
    00004 #define _ALERT_H_
    00005
    00006 #include <nds.h>
    00007 #include "amigawindow.h"
    00008 #include "gadgetstyle.h"
    00009 #include "woopsistring.h"
    00010
    00011 namespace WoopsiUI {
    00012
    00013         class Button;
    00014         class MultiLineTextBox;
    00015
    00021         class Alert : public AmigaWindow {
    00022         public:
    00023
    00037                 Alert(s16 x, s16 y, u16 width, u16 height, const WoopsiString& title, const WoopsiString& text, GadgetStyle* style = NULL);
    00038
    00042                 virtual void handleReleaseEvent(const GadgetEventArgs& e);
    00043
    00044         protected:
    00045                 Button* _button;
    00046                 MultiLineTextBox* _textBox;
    00053                 virtual void onResize(u16 width, u16 height);
    00054
    00058                 virtual inline ~Alert() { };
    00059
    00063                 inline Alert(const Alert& alert) : AmigaWindow(alert) { };
    00064         };
    00065 }
    00066
    00067 #endif