* 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
This commit is contained in:
Stephan Aßmus
2006-02-16 20:18:59 +00:00
parent b227904c50
commit 3dfd20c019
+5 -5
View File
@@ -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",