00001 #ifndef _SKINNED_WINDOW_CLOSE_BUTTON_H_ 00002 #define _SKINNED_WINDOW_CLOSE_BUTTON_H_ 00003 00004 #include <nds.h> 00005 #include "decorationglyphbutton.h" 00006 #include "skin.h" 00007 00008 namespace WoopsiUI { 00009 00010 class SkinnedWindowCloseButton : public DecorationGlyphButton { 00011 00012 public: 00013 SkinnedWindowCloseButton(s16 x, s16 y, const WindowSkin* skin); 00014 00015 virtual void draw(Rect clipRect); 00016 00017 protected: 00018 const WindowSkin* _skin; 00019 00023 virtual inline ~SkinnedWindowCloseButton() { }; 00024 00028 inline SkinnedWindowCloseButton(const SkinnedWindowCloseButton& skinnedWindowCloseButton) : DecorationGlyphButton(skinnedWindowCloseButton) { }; 00029 }; 00030 } 00031 00032 #endif