Coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27652 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -54,19 +54,19 @@ APRWindow::APRWindow(BRect frame)
|
|||||||
rect = tabView->ContainerView()->Bounds().InsetByCopy(5, 8);
|
rect = tabView->ContainerView()->Bounds().InsetByCopy(5, 8);
|
||||||
|
|
||||||
fAntialiasingSettings = new AntialiasingSettingsView(rect, "Antialiasing");
|
fAntialiasingSettings = new AntialiasingSettingsView(rect, "Antialiasing");
|
||||||
fColorsView = new APRView(rect,"Colors",B_FOLLOW_ALL, B_WILL_DRAW);
|
fColorsView = new APRView(rect, "Colors", B_FOLLOW_ALL, B_WILL_DRAW);
|
||||||
|
|
||||||
tabView->AddTab(fColorsView);
|
tabView->AddTab(fColorsView);
|
||||||
tabView->AddTab(fAntialiasingSettings);
|
tabView->AddTab(fAntialiasingSettings);
|
||||||
|
|
||||||
view->AddChild(tabView);
|
view->AddChild(tabView);
|
||||||
fColorsView->ResizeToPreferred();
|
fColorsView->ResizeToPreferred();
|
||||||
fAntialiasingSettings -> ResizeToPreferred();
|
fAntialiasingSettings->ResizeToPreferred();
|
||||||
|
|
||||||
fDefaultsButton -> SetEnabled(fColorsView -> IsDefaultable()
|
fDefaultsButton->SetEnabled(fColorsView->IsDefaultable()
|
||||||
|| fAntialiasingSettings -> IsDefaultable());
|
|| fAntialiasingSettings->IsDefaultable());
|
||||||
fDefaultsButton -> SetTarget(this);
|
fDefaultsButton->SetTarget(this);
|
||||||
fRevertButton -> SetTarget(this);
|
fRevertButton->SetTarget(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user