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:
parent
8eee00f687
commit
05a710320d
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user