mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 21:54:35 +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,57 +5,52 @@ using namespace Gwen;
|
|||
|
||||
using namespace Gwen::Controls;
|
||||
|
||||
|
||||
class TreeControl2 : public GUnit
|
||||
{
|
||||
public:
|
||||
|
||||
GWEN_CONTROL_INLINE( TreeControl2, GUnit )
|
||||
public:
|
||||
GWEN_CONTROL_INLINE(TreeControl2, GUnit)
|
||||
{
|
||||
{
|
||||
Gwen::Controls::TreeControl* ctrl = new Gwen::Controls::TreeControl( this );
|
||||
Gwen::Controls::TreeControl* ctrl = new Gwen::Controls::TreeControl(this);
|
||||
|
||||
ctrl->SetKeyboardInputEnabled(true);
|
||||
ctrl->AddNode( L"Node One" );
|
||||
Gwen::Controls::TreeNode* pNode = ctrl->AddNode( L"Node Two" );
|
||||
pNode->AddNode( L"Node Two Inside" );
|
||||
pNode->AddNode( L"Eyes" );
|
||||
ctrl->AddNode(L"Node One");
|
||||
Gwen::Controls::TreeNode* pNode = ctrl->AddNode(L"Node Two");
|
||||
pNode->AddNode(L"Node Two Inside");
|
||||
pNode->AddNode(L"Eyes");
|
||||
pNode->SetSelected(true);
|
||||
|
||||
pNode->AddNode( L"Brown" )->AddNode( L"Node Two Inside" )->AddNode( L"Eyes" )->AddNode( L"Brown" );
|
||||
ctrl->AddNode( L"Node Three" );
|
||||
pNode->AddNode(L"Brown")->AddNode(L"Node Two Inside")->AddNode(L"Eyes")->AddNode(L"Brown");
|
||||
ctrl->AddNode(L"Node Three");
|
||||
ctrl->Focus();
|
||||
ctrl->SetKeyboardInputEnabled(true);
|
||||
|
||||
ctrl->SetBounds( 30, 30, 200, 200 );
|
||||
ctrl->SetBounds(30, 30, 200, 200);
|
||||
ctrl->ExpandAll();
|
||||
}
|
||||
|
||||
{
|
||||
Gwen::Controls::TreeControl* ctrl = new Gwen::Controls::TreeControl( this );
|
||||
Gwen::Controls::TreeControl* ctrl = new Gwen::Controls::TreeControl(this);
|
||||
|
||||
ctrl->AllowMultiSelect( true );
|
||||
ctrl->AllowMultiSelect(true);
|
||||
|
||||
ctrl->AddNode( L"Node One" );
|
||||
Gwen::Controls::TreeNode* pNode = ctrl->AddNode( L"Node Two" );
|
||||
pNode->AddNode( L"Node Two Inside" );
|
||||
pNode->AddNode( L"Eyes" );
|
||||
Gwen::Controls::TreeNode* pNodeTwo = pNode->AddNode( L"Brown" )->AddNode( L"Node Two Inside" )->AddNode( L"Eyes" );
|
||||
pNodeTwo->AddNode( L"Brown" );
|
||||
pNodeTwo->AddNode( L"Green" );
|
||||
pNodeTwo->AddNode( L"Slime" );
|
||||
pNodeTwo->AddNode( L"Grass" );
|
||||
pNodeTwo->AddNode( L"Pipe" );
|
||||
ctrl->AddNode(L"Node One");
|
||||
Gwen::Controls::TreeNode* pNode = ctrl->AddNode(L"Node Two");
|
||||
pNode->AddNode(L"Node Two Inside");
|
||||
pNode->AddNode(L"Eyes");
|
||||
Gwen::Controls::TreeNode* pNodeTwo = pNode->AddNode(L"Brown")->AddNode(L"Node Two Inside")->AddNode(L"Eyes");
|
||||
pNodeTwo->AddNode(L"Brown");
|
||||
pNodeTwo->AddNode(L"Green");
|
||||
pNodeTwo->AddNode(L"Slime");
|
||||
pNodeTwo->AddNode(L"Grass");
|
||||
pNodeTwo->AddNode(L"Pipe");
|
||||
|
||||
ctrl->AddNode( L"Node Three" );
|
||||
ctrl->AddNode(L"Node Three");
|
||||
|
||||
ctrl->SetBounds( 240, 30, 200, 200 );
|
||||
ctrl->SetBounds(240, 30, 200, 200);
|
||||
ctrl->ExpandAll();
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_UNIT_TEST( TreeControl2, L"TreeControl" );
|
||||
DEFINE_UNIT_TEST(TreeControl2, L"TreeControl");
|
||||
Loading…
Add table
Add a link
Reference in a new issue