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",