- Main Page
- Classes
- Files

- File List

# windowborderbutton.h

    00001 #ifndef _WINDOW_BORDER_BUTTON_H_
    00002 #define _WINDOW_BORDER_BUTTON_H_
    00003
    00004 #include <nds.h>
    00005 #include "decorationglyphbutton.h"
    00006 #include "gadgetstyle.h"
    00007
    00008 namespace WoopsiUI {
    00009
    00013         class WindowBorderButton : public DecorationGlyphButton {
    00014         public:
    00015
    00029                 WindowBorderButton(s16 x, s16 y, u16 width, u16 height, char normalGlyph, char clickedGlyph, GadgetStyle* style = NULL);
    00030
    00031         protected:
    00035                 virtual inline ~WindowBorderButton() { };
    00036
    00043                 virtual void drawContents(GraphicsPort* port);
    00044
    00051                 virtual void drawBorder(GraphicsPort* port);
    00052
    00056                 inline WindowBorderButton(const WindowBorderButton& windowBorderButton) : DecorationGlyphButton(windowBorderButton) { };
    00057         };
    00058 }
    00059
    00060 #endif