00001 #ifndef _SKINNED_WINDOW_DEPTH_BUTTON_H_ 00002 #define _SKINNED_WINDOW_DEPTH_BUTTON_H_ 00003 00004 #include <nds.h> 00005 #include "decorationglyphbutton.h" 00006 #include "skin.h" 00007 00008 namespace WoopsiUI { 00009 00010 class SkinnedWindowDepthButton : public DecorationGlyphButton { 00011 00012 public: 00013 SkinnedWindowDepthButton(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 ~SkinnedWindowDepthButton() { }; 00024 00028 inline SkinnedWindowDepthButton(const SkinnedWindowDepthButton& skinnedWindowDepthButton) : DecorationGlyphButton(skinnedWindowDepthButton) { }; 00029 }; 00030 } 00031 00032 #endif