1 /* 2 GWEN 3 Copyright (c) 2010 Facepunch Studios 4 See license in Gwen.h 5 */ 6 7 #pragma once 8 #ifndef GWEN_CONTROLS_HIGHLIGHT_H 9 #define GWEN_CONTROLS_HIGHLIGHT_H 10 11 #include "Gwen/BaseRender.h" 12 #include "Gwen/Controls/Base.h" 13 #include "Gwen/Skin.h" 14 15 namespace Gwen 16 { 17 namespace ControlsInternal 18 { 19 class GWEN_EXPORT Highlight : public Controls::Base 20 { 21 public: GWEN_CONTROL_INLINE(Highlight,Controls::Base)22 GWEN_CONTROL_INLINE(Highlight, Controls::Base) 23 { 24 } 25 Render(Skin::Base * skin)26 void Render(Skin::Base* skin) 27 { 28 skin->DrawHighlight(this); 29 } 30 }; 31 } // namespace ControlsInternal 32 33 } // namespace Gwen 34 #endif 35