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:
@@ -84,6 +84,8 @@ MonitorView::Draw(BRect updateRect)
|
|||||||
rgb_color redColor = {228, 0, 0, 255};
|
rgb_color redColor = {228, 0, 0, 255};
|
||||||
BRect outerRect = MonitorBounds();
|
BRect outerRect = MonitorBounds();
|
||||||
|
|
||||||
|
SetDrawingMode(B_OP_OVER);
|
||||||
|
|
||||||
// frame & background
|
// frame & background
|
||||||
|
|
||||||
SetHighColor(darkColor);
|
SetHighColor(darkColor);
|
||||||
@@ -100,6 +102,8 @@ MonitorView::Draw(BRect updateRect)
|
|||||||
SetHighColor(blackColor);
|
SetHighColor(blackColor);
|
||||||
StrokeRoundRect(innerRect, 2.0, 2.0);
|
StrokeRoundRect(innerRect, 2.0, 2.0);
|
||||||
|
|
||||||
|
SetDrawingMode(B_OP_COPY);
|
||||||
|
|
||||||
// power light
|
// power light
|
||||||
|
|
||||||
SetHighColor(redColor);
|
SetHighColor(redColor);
|
||||||
|
|||||||
@@ -371,13 +371,14 @@ ScreenWindow::ScreenWindow(ScreenSettings *Settings)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rect.Set(15, 114, 171, 132);
|
rect.Set(15, 114, 171, 132);
|
||||||
menuField = new BMenuField(rect, "TVStandard", "Video Format:",
|
menuField = new BMenuField(rect, "tv standard", "Video Format:",
|
||||||
fTVStandardMenu, true);
|
fTVStandardMenu, true);
|
||||||
menuField->SetDivider(73);
|
menuField->SetDivider(73);
|
||||||
controlsBox->AddChild(menuField);
|
|
||||||
|
|
||||||
if (!tvStandardSupport || i == 0)
|
if (!tvStandardSupport || i == 0)
|
||||||
menuField->Hide();
|
menuField->Hide();
|
||||||
|
|
||||||
|
controlsBox->AddChild(menuField);
|
||||||
}
|
}
|
||||||
|
|
||||||
rect.Set(10.0, 167, 100.0, 200.0);
|
rect.Set(10.0, 167, 100.0, 200.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user