mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
update bullet so it actually works
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
This commit is contained in:
parent
c7be48130a
commit
13fa178cf6
5986 changed files with 1811270 additions and 453803 deletions
|
|
@ -6,88 +6,82 @@ using namespace Gwen;
|
|||
|
||||
class ProgressBar : public GUnit
|
||||
{
|
||||
public:
|
||||
|
||||
GWEN_CONTROL_INLINE( ProgressBar, GUnit )
|
||||
public:
|
||||
GWEN_CONTROL_INLINE(ProgressBar, GUnit)
|
||||
{
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 20, 200, 20 ) );
|
||||
pb->SetValue( 0.27f );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 20, 200, 20));
|
||||
pb->SetValue(0.27f);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 50, 200, 20 ) );
|
||||
pb->SetValue( 0.66f );
|
||||
pb->SetAlignment( Pos::Right | Pos::CenterV );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 50, 200, 20));
|
||||
pb->SetValue(0.66f);
|
||||
pb->SetAlignment(Pos::Right | Pos::CenterV);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 80, 200, 20 ) );
|
||||
pb->SetValue( 0.88f );
|
||||
pb->SetAlignment( Pos::Left | Pos::CenterV );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 80, 200, 20));
|
||||
pb->SetValue(0.88f);
|
||||
pb->SetAlignment(Pos::Left | Pos::CenterV);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 110, 200, 20 ) );
|
||||
pb->SetAutoLabel( false );
|
||||
pb->SetValue( 0.20f );
|
||||
pb->SetAlignment( Pos::Right | Pos::CenterV );
|
||||
pb->SetText( L"40,245 MB" );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 110, 200, 20));
|
||||
pb->SetAutoLabel(false);
|
||||
pb->SetValue(0.20f);
|
||||
pb->SetAlignment(Pos::Right | Pos::CenterV);
|
||||
pb->SetText(L"40,245 MB");
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 140, 200, 20 ) );
|
||||
pb->SetAutoLabel( false );
|
||||
pb->SetValue( 1.00f );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 140, 200, 20));
|
||||
pb->SetAutoLabel(false);
|
||||
pb->SetValue(1.00f);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 170, 200, 20 ) );
|
||||
pb->SetAutoLabel( false );
|
||||
pb->SetValue( 0.00f );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 170, 200, 20));
|
||||
pb->SetAutoLabel(false);
|
||||
pb->SetValue(0.00f);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 110, 200, 200, 20 ) );
|
||||
pb->SetAutoLabel( false );
|
||||
pb->SetValue( 0.50f );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(110, 200, 200, 20));
|
||||
pb->SetAutoLabel(false);
|
||||
pb->SetValue(0.50f);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 20, 20, 25, 200 ) );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(20, 20, 25, 200));
|
||||
pb->SetVertical();
|
||||
pb->SetValue( 0.25f );
|
||||
pb->SetAlignment( Pos::Top | Pos::CenterH );
|
||||
pb->SetValue(0.25f);
|
||||
pb->SetAlignment(Pos::Top | Pos::CenterH);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 50, 20, 25, 200 ) );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(50, 20, 25, 200));
|
||||
pb->SetVertical();
|
||||
pb->SetValue( 0.40f );
|
||||
pb->SetValue(0.40f);
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar( this );
|
||||
pb->SetBounds( Gwen::Rect( 80, 20, 25, 200 ) );
|
||||
Gwen::Controls::ProgressBar* pb = new Gwen::Controls::ProgressBar(this);
|
||||
pb->SetBounds(Gwen::Rect(80, 20, 25, 200));
|
||||
pb->SetVertical();
|
||||
pb->SetAlignment( Pos::Bottom | Pos::CenterH );
|
||||
pb->SetValue( 0.65f );
|
||||
pb->SetAlignment(Pos::Bottom | Pos::CenterH);
|
||||
pb->SetValue(0.65f);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_UNIT_TEST( ProgressBar, L"ProgressBar" );
|
||||
DEFINE_UNIT_TEST(ProgressBar, L"ProgressBar");
|
||||
Loading…
Add table
Add a link
Reference in a new issue