mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 13:14: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
|
|
@ -5,27 +5,22 @@ using namespace Gwen;
|
|||
|
||||
class Numeric : public GUnit
|
||||
{
|
||||
public:
|
||||
|
||||
GWEN_CONTROL_INLINE( Numeric, GUnit )
|
||||
public:
|
||||
GWEN_CONTROL_INLINE(Numeric, GUnit)
|
||||
{
|
||||
|
||||
Controls::NumericUpDown* pCtrl = new Controls::NumericUpDown( this );
|
||||
pCtrl->SetBounds( 10, 10, 50, 20 );
|
||||
pCtrl->SetValue( 50 );
|
||||
pCtrl->SetMax( 1000 );
|
||||
pCtrl->SetMin( -1000 );
|
||||
Controls::NumericUpDown* pCtrl = new Controls::NumericUpDown(this);
|
||||
pCtrl->SetBounds(10, 10, 50, 20);
|
||||
pCtrl->SetValue(50);
|
||||
pCtrl->SetMax(1000);
|
||||
pCtrl->SetMin(-1000);
|
||||
|
||||
// pCtrl->onPress.Add( this, &ThisClass::onButtonA );
|
||||
}
|
||||
|
||||
void onButtonA( Controls::Base* pControl )
|
||||
void onButtonA(Controls::Base* pControl)
|
||||
{
|
||||
// UnitPrint( L"Button Pressed (using 'OnPress' event)" );
|
||||
// UnitPrint( L"Button Pressed (using 'OnPress' event)" );
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_UNIT_TEST( Numeric, L"Numeric" );
|
||||
DEFINE_UNIT_TEST(Numeric, L"Numeric");
|
||||
Loading…
Add table
Add a link
Reference in a new issue