From 3dfd20c019e31d22398393ec27b063395eecdb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 16 Feb 2006 20:18:59 +0000 Subject: [PATCH] * made the font of the "Set Background..." button a little smaller, to lessen the importance of this button. * changed the "standard" frequencies. I hope this doesn't have any negative impact on anything. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16434 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/screen/ScreenWindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/preferences/screen/ScreenWindow.cpp b/src/preferences/screen/ScreenWindow.cpp index 2cb2113f58..ac191f7b32 100644 --- a/src/preferences/screen/ScreenWindow.cpp +++ b/src/preferences/screen/ScreenWindow.cpp @@ -71,7 +71,7 @@ static const struct { static const int32 kColorSpaceCount = sizeof(kColorSpaces) / sizeof(kColorSpaces[0]); // list of standard refresh rates -static const int32 kRefreshRates[] = {56, 60, 70, 72, 75}; +static const int32 kRefreshRates[] = { 60, 75, 80, 85, 95, 100 }; static const int32 kRefreshRateCount = sizeof(kRefreshRates) / sizeof(kRefreshRates[0]); @@ -144,10 +144,6 @@ screen_errors(status_t status) } } - -// #pragma mark - - - enum { SHOW_COMBINE_FIELD = 0x01, SHOW_SWAP_FIELD = 0x02, @@ -156,6 +152,9 @@ enum { }; +// #pragma mark - + + ScreenWindow::ScreenWindow(ScreenSettings *settings) : BWindow(settings->WindowFrame(), "Screen", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE, B_ALL_WORKSPACES), @@ -401,6 +400,7 @@ ScreenWindow::ScreenWindow(ScreenSettings *settings) BRect buttonRect(0.0, 0.0, 30.0, 10.0); fBackgroundsButton = new BButton(buttonRect, "BackgroundsButton", "Set Background"B_UTF8_ELLIPSIS, new BMessage(BUTTON_LAUNCH_BACKGROUNDS_MSG)); + fBackgroundsButton->SetFontSize(be_plain_font->Size() * 0.9); fScreenBox->AddChild(fBackgroundsButton); fDefaultsButton = new BButton(buttonRect, "DefaultsButton", "Defaults",