- Main Page
- Classes
- Files

- File List

# 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
    00035                 inline void setStuckDown(bool isStuckDown) { _isStuckDown = isStuckDown; };
    00036
    00037         protected:
    00038                 bool _isStuckDown;
    00044                 virtual void drawOutline(GraphicsPort* port);
    00045
    00049                 virtual inline ~StickyButton() { };
    00050
    00054                 inline StickyButton(const StickyButton& button) : Button(button) { };
    00055         };
    00056 }
    00057
    00058 #endif