Woopsi 1.3
Nintendo DS Gui Framework
libwoopsi/include/stickybutton.h
00001 #ifndef _STICKY_BUTTON_H_
00002 #define _STICKY_BUTTON_H_
00003 
00004 #include <nds.h>
00005 #include "button.h"
00006 #include "gadgetstyle.h"
00007 
00008 namespace WoopsiUI {
00009 
00013     class StickyButton : public Button {
00014     public:
00015 
00028         StickyButton(s16 x, s16 y, u16 width, u16 height, const WoopsiString& text, GadgetStyle* style = NULL);
00029 
00036         void setStuckDown(bool isStuckDown);
00037 
00038     protected:
00039         bool _isStuckDown;                  
00045         virtual void drawOutline(GraphicsPort* port);
00046 
00050         virtual inline ~StickyButton() { };
00051 
00055         inline StickyButton(const StickyButton& button) : Button(button) { };
00056     };
00057 }
00058 
00059 #endif
 All Classes Functions Variables Enumerations Enumerator