MonitorView now takes anti-aliasing into account.

Hide TV menu *before* adding it to the window, or our app_server does it all wrong (temporary work-around).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13225 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-06-22 17:30:27 +00:00
parent 8eee00f687
commit 05a710320d
2 changed files with 7 additions and 2 deletions

View File

@ -84,6 +84,8 @@ MonitorView::Draw(BRect updateRect)
rgb_color redColor = {228, 0, 0, 255};
BRect outerRect = MonitorBounds();
SetDrawingMode(B_OP_OVER);
// frame & background
SetHighColor(darkColor);
@ -100,6 +102,8 @@ MonitorView::Draw(BRect updateRect)
SetHighColor(blackColor);
StrokeRoundRect(innerRect, 2.0, 2.0);
SetDrawingMode(B_OP_COPY);
// power light
SetHighColor(redColor);

View File

@ -371,13 +371,14 @@ ScreenWindow::ScreenWindow(ScreenSettings *Settings)
}
rect.Set(15, 114, 171, 132);
menuField = new BMenuField(rect, "TVStandard", "Video Format:",
menuField = new BMenuField(rect, "tv standard", "Video Format:",
fTVStandardMenu, true);
menuField->SetDivider(73);
controlsBox->AddChild(menuField);
if (!tvStandardSupport || i == 0)
menuField->Hide();
controlsBox->AddChild(menuField);
}
rect.Set(10.0, 167, 100.0, 200.0);