Add setUserIndex/getUserIndex (int index) to btCollisionShape
Share physics setup of BasicDemo between different graphics frameworks, see Demos\BasicDemo\BasicDemoPhysicsSetup.* Plan is to do this for all Bullet demos. Improve gwen performance and cursor navigation for tree control. tweak shadowmap size SimpleOpenGL3App::registerCubeShape accepts half extents
This commit is contained in:
@@ -73,6 +73,7 @@ void TreeNode::Render( Skin::Base* skin )
|
||||
|
||||
TreeNode* TreeNode::AddNode( const UnicodeString& strLabel )
|
||||
{
|
||||
int sz = sizeof(TreeNode);
|
||||
TreeNode* node = new TreeNode( this );
|
||||
node->SetText( strLabel );
|
||||
node->Dock( Pos::Top );
|
||||
@@ -112,9 +113,16 @@ void TreeNode::Layout( Skin::Base* skin )
|
||||
|
||||
BaseClass::Layout( skin );
|
||||
}
|
||||
|
||||
//too many calls to PostLayout...
|
||||
//int numCalls = 0xfd;
|
||||
void TreeNode::PostLayout( Skin::Base* /*skin*/ )
|
||||
{
|
||||
|
||||
//int bla = numCalls&0xffff;
|
||||
//if (bla==0)
|
||||
// printf("TreeNode::PostLayout numCalls = %d\n", numCalls);
|
||||
|
||||
//numCalls++;
|
||||
if ( SizeToChildren( false, true ) )
|
||||
{
|
||||
InvalidateParent();
|
||||
|
||||
Reference in New Issue
Block a user