Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39464 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -129,7 +129,8 @@ AppearancePrefView::AppearancePrefView(const char* name,
|
||||
fColorSchemaField->SetAlignment(B_ALIGN_RIGHT);
|
||||
|
||||
fColorControl->SetEnabled(false);
|
||||
fColorControl->SetValue(PrefHandler::Default()->getRGB(PREF_TEXT_FORE_COLOR));
|
||||
fColorControl->SetValue(
|
||||
PrefHandler::Default()->getRGB(PREF_TEXT_FORE_COLOR));
|
||||
|
||||
fWarnOnExit->SetValue(PrefHandler::Default()->getBool(PREF_WARN_ON_EXIT));
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2007, Haiku, Inc.
|
||||
* Copyright 2001-2010, Haiku, Inc.
|
||||
* Copyright 2003-2004 Kian Duffy, [email protected]
|
||||
* Parts Copyright 1998-1999 Kazuho Okui and Takashi Murai.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
@@ -8,9 +8,9 @@
|
||||
#define APPEARANCE_PREF_VIEW_H
|
||||
|
||||
|
||||
#include <GroupView.h>
|
||||
#include <Messenger.h>
|
||||
#include <String.h>
|
||||
#include <GroupView.h>
|
||||
|
||||
|
||||
const ulong MSG_HALF_FONT_CHANGED = 'mchf';
|
||||
@@ -36,6 +36,7 @@ class BMenuField;
|
||||
class BPopUpMenu;
|
||||
class BCheckBox;
|
||||
|
||||
|
||||
class AppearancePrefView : public BGroupView {
|
||||
public:
|
||||
AppearancePrefView(const char* name,
|
||||
@@ -63,7 +64,8 @@ private:
|
||||
static BPopUpMenu* _MakeMenu(uint32 msg, const char** items,
|
||||
const char* defaultItem);
|
||||
|
||||
static BPopUpMenu* _MakeColorSchemaMenu(uint32 msg, const color_schema **schemas,
|
||||
static BPopUpMenu* _MakeColorSchemaMenu(uint32 msg,
|
||||
const color_schema** schemas,
|
||||
const color_schema* defaultItemName);
|
||||
|
||||
BCheckBox* fWarnOnExit;
|
||||
@@ -77,4 +79,5 @@ private:
|
||||
BMessenger fTerminalMessenger;
|
||||
};
|
||||
|
||||
|
||||
#endif // APPEARANCE_PREF_VIEW_H
|
||||
|
||||
Reference in New Issue
Block a user