LabelClickable.cpp 477 B

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