mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 14:40:05 +00:00
25 lines
398 B
C++
25 lines
398 B
C++
|
/*
|
||
|
GWEN
|
||
|
Copyright (c) 2010 Facepunch Studios
|
||
|
See license in Gwen.h
|
||
|
*/
|
||
|
|
||
|
|
||
|
#include "Gwen/Controls/RadioButton.h"
|
||
|
|
||
|
using namespace Gwen;
|
||
|
using namespace Gwen::Controls;
|
||
|
|
||
|
GWEN_CONTROL_CONSTRUCTOR( RadioButton )
|
||
|
{
|
||
|
SetSize( 11, 11 );
|
||
|
SetMouseInputEnabled( true );
|
||
|
SetTabable( false );
|
||
|
}
|
||
|
|
||
|
void RadioButton::Render( Skin::Base* skin )
|
||
|
{
|
||
|
skin->DrawRadioButton( this, IsChecked(), IsDepressed() );
|
||
|
}
|
||
|
|