bullet3/btgui/Gwen/Controls/SplitterBar.cpp
2013-03-12 23:52:31 -07:00

23 lines
400 B
C++

#include "Gwen/Gwen.h"
#include "Gwen/Controls/SplitterBar.h"
using namespace Gwen;
using namespace Controls;
GWEN_CONTROL_CONSTRUCTOR( SplitterBar )
{
SetTarget( this );
RestrictToParent( true );
}
void SplitterBar::Render( Skin::Base* skin )
{
if ( ShouldDrawBackground() )
skin->DrawButton( this, true, false );
}
void SplitterBar::Layout( Skin::Base* /*skin*/ )
{
MoveTo( X(), Y() );
}