mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 13:44:32 +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,28 +5,23 @@ using namespace Gwen;
|
|||
|
||||
class ImagePanel : public GUnit
|
||||
{
|
||||
public:
|
||||
|
||||
GWEN_CONTROL_INLINE( ImagePanel, GUnit )
|
||||
public:
|
||||
GWEN_CONTROL_INLINE(ImagePanel, GUnit)
|
||||
{
|
||||
// Normal
|
||||
{
|
||||
Controls::ImagePanel* img = new Controls::ImagePanel( this );
|
||||
img->SetImage( L"gwen.png" );
|
||||
img->SetBounds( 10, 10, 100, 100 );
|
||||
Controls::ImagePanel* img = new Controls::ImagePanel(this);
|
||||
img->SetImage(L"gwen.png");
|
||||
img->SetBounds(10, 10, 100, 100);
|
||||
}
|
||||
|
||||
// Missing
|
||||
{
|
||||
Controls::ImagePanel* img = new Controls::ImagePanel( this );
|
||||
img->SetImage( L"missingimage.png" );
|
||||
img->SetBounds( 120, 10, 100, 100 );
|
||||
Controls::ImagePanel* img = new Controls::ImagePanel(this);
|
||||
img->SetImage(L"missingimage.png");
|
||||
img->SetBounds(120, 10, 100, 100);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_UNIT_TEST( ImagePanel, L"ImagePanel" );
|
||||
DEFINE_UNIT_TEST(ImagePanel, L"ImagePanel");
|
||||
Loading…
Add table
Add a link
Reference in a new issue