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:
parent
0481936536
commit
e951046835
@ -325,34 +325,34 @@ DiskView::DiskView(const BRect& frame, uint32 resizeMode)
|
|||||||
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||||
PartitionView* view;
|
PartitionView* view;
|
||||||
float scale = 1.0;
|
float scale = 1.0;
|
||||||
view = new PartitionView("Disk", scale, 0, -1);
|
view = new PartitionView("Disk", scale, 0, 0, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
|
|
||||||
layout = view->GroupLayout();
|
layout = view->GroupLayout();
|
||||||
|
|
||||||
scale = 0.3;
|
scale = 0.3;
|
||||||
view = new PartitionView("Primary", scale, 1, -1);
|
view = new PartitionView("Primary", scale, 1, 50, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
scale = 0.7;
|
scale = 0.7;
|
||||||
view = new PartitionView("Extended", scale, 1, -1);
|
view = new PartitionView("Extended", scale, 1, 100, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
|
|
||||||
layout = view->GroupLayout();
|
layout = view->GroupLayout();
|
||||||
|
|
||||||
scale = 0.2;
|
scale = 0.2;
|
||||||
view = new PartitionView("Logical", scale, 2, -1);
|
view = new PartitionView("Logical", scale, 2, 200, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
|
|
||||||
scale = 0.5;
|
scale = 0.5;
|
||||||
view = new PartitionView("Logical", scale, 2, -1);
|
view = new PartitionView("Logical", scale, 2, 250, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
|
|
||||||
scale = 0.005;
|
scale = 0.005;
|
||||||
view = new PartitionView("Logical", scale, 2, -1);
|
view = new PartitionView("Logical", scale, 2, 290, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
|
|
||||||
scale = 0.295;
|
scale = 0.295;
|
||||||
view = new PartitionView("Logical", scale, 2, -1);
|
view = new PartitionView("Logical", scale, 2, 420, -1);
|
||||||
layout->AddView(view, scale);
|
layout->AddView(view, scale);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user