Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- File List

# decorationglyphbutton.h

    00001 #ifndef _DECORATION_GLYPH_BUTTON_H_
    00002 #define _DECORATION_GLYPH_BUTTON_H_
    00003
    00004 #include <nds.h>
    00005 #include "button.h"
    00006 #include "gadgetstyle.h"
    00007
    00008 namespace WoopsiUI {
    00009
    00015         class DecorationGlyphButton : public Button {
    00016
    00017         public:
    00031                 DecorationGlyphButton(s16 x, s16 y, u16 width, u16 height, char normalGlyph, char clickedGlyph, GadgetStyle* style = NULL);
    00032
    00033         protected:
    00034                 char _normalGlyph;
    00035                 char _clickedGlyph;
    00041                 virtual void drawOutline(GraphicsPort* port);
    00042
    00049                 virtual void drawContents(GraphicsPort* port);
    00050
    00057                 virtual void drawBorder(GraphicsPort* port);
    00058
    00062                 virtual void onFocus();
    00063
    00067                 virtual inline ~DecorationGlyphButton() { };
    00068
    00072                 inline DecorationGlyphButton(const DecorationGlyphButton& decorationGlyphButton) : Button(decorationGlyphButton) { };
    00073         };
    00074 }
    00075
    00076 #endif