1 /* 2 GWEN 3 Copyright (c) 2010 Facepunch Studios 4 See license in Gwen.h 5 */ 6 7 #include "Gwen/Gwen.h" 8 #include "Gwen/Skin.h" 9 #include "Gwen/Controls/LabelClickable.h" 10 11 using namespace Gwen; 12 using namespace Gwen::Controls; 13 GWEN_CONTROL_CONSTRUCTOR(LabelClickable)14GWEN_CONTROL_CONSTRUCTOR(LabelClickable) 15 { 16 SetIsToggle(false); 17 18 SetAlignment(Gwen::Pos::Left | Gwen::Pos::CenterV); 19 } 20 Render(Skin::Base *)21void LabelClickable::Render(Skin::Base* /*skin*/) 22 { 23 //skin->DrawButton( this, IsDepressed(), IsToggle() && GetToggleState() ); 24 }