Fixes the build for the app_server test environment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23844 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-02-03 17:25:33 +00:00
parent 0481936536
commit e951046835

View File

@ -325,34 +325,34 @@ DiskView::DiskView(const BRect& frame, uint32 resizeMode)
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
PartitionView* view;
float scale = 1.0;
view = new PartitionView("Disk", scale, 0, -1);
view = new PartitionView("Disk", scale, 0, 0, -1);
layout->AddView(view, scale);
layout = view->GroupLayout();
scale = 0.3;
view = new PartitionView("Primary", scale, 1, -1);
view = new PartitionView("Primary", scale, 1, 50, -1);
layout->AddView(view, scale);
scale = 0.7;
view = new PartitionView("Extended", scale, 1, -1);
view = new PartitionView("Extended", scale, 1, 100, -1);
layout->AddView(view, scale);
layout = view->GroupLayout();
scale = 0.2;
view = new PartitionView("Logical", scale, 2, -1);
view = new PartitionView("Logical", scale, 2, 200, -1);
layout->AddView(view, scale);
scale = 0.5;
view = new PartitionView("Logical", scale, 2, -1);
view = new PartitionView("Logical", scale, 2, 250, -1);
layout->AddView(view, scale);
scale = 0.005;
view = new PartitionView("Logical", scale, 2, -1);
view = new PartitionView("Logical", scale, 2, 290, -1);
layout->AddView(view, scale);
scale = 0.295;
view = new PartitionView("Logical", scale, 2, -1);
view = new PartitionView("Logical", scale, 2, 420, -1);
layout->AddView(view, scale);
#endif
}