1 /* 2 GWEN 3 Copyright (c) 2010 Facepunch Studios 4 See license in Gwen.h 5 */ 6 7 #pragma once 8 #ifndef GWEN_CONTROLS_SCROLLBARBOTTON_H 9 #define GWEN_CONTROLS_SCROLLBARBOTTON_H 10 11 #include "Gwen/Controls/Button.h" 12 13 namespace Gwen 14 { 15 namespace ControlsInternal 16 { 17 class GWEN_EXPORT ScrollBarButton : public Controls::Button 18 { 19 public: 20 GWEN_CONTROL(ScrollBarButton, Controls::Button); 21 22 void Render(Skin::Base* skin); 23 24 void SetDirectionUp(); 25 void SetDirectionDown(); 26 void SetDirectionLeft(); 27 void SetDirectionRight(); 28 29 protected: 30 int m_iDirection; 31 }; 32 } // namespace ControlsInternal 33 } // namespace Gwen 34 #endif 35