Style cleanup.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2009, Haiku.
|
||||
* Copyright 2001-2013, Haiku.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <Menu.h>
|
||||
#include <Message.h>
|
||||
|
||||
|
||||
class Desktop;
|
||||
class DesktopSettingsPrivate;
|
||||
class ServerFont;
|
||||
@@ -30,8 +31,9 @@ enum {
|
||||
kDraggerSettings = 0x10,
|
||||
};
|
||||
|
||||
|
||||
class DesktopSettings {
|
||||
public:
|
||||
public:
|
||||
DesktopSettings(Desktop* desktop);
|
||||
|
||||
status_t Save(uint32 mask = kAllSettings);
|
||||
@@ -62,12 +64,13 @@ class DesktopSettings {
|
||||
uint8 SubpixelAverageWeight() const;
|
||||
bool IsSubpixelOrderingRegular() const;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
DesktopSettingsPrivate* fSettings;
|
||||
};
|
||||
|
||||
|
||||
class LockedDesktopSettings : public DesktopSettings {
|
||||
public:
|
||||
public:
|
||||
LockedDesktopSettings(Desktop* desktop);
|
||||
~LockedDesktopSettings();
|
||||
|
||||
@@ -85,15 +88,18 @@ class LockedDesktopSettings : public DesktopSettings {
|
||||
|
||||
void SetShowAllDraggers(bool show);
|
||||
|
||||
void SetUIColor(color_which which, const rgb_color color);
|
||||
void SetUIColor(color_which which,
|
||||
const rgb_color color);
|
||||
|
||||
void SetSubpixelAntialiasing(bool subpix);
|
||||
void SetHinting(uint8 hinting);
|
||||
void SetSubpixelAverageWeight(uint8 averageWeight);
|
||||
void SetSubpixelOrderingRegular(bool subpixelOrdering);
|
||||
void SetSubpixelOrderingRegular(
|
||||
bool subpixelOrdering);
|
||||
|
||||
private:
|
||||
private:
|
||||
Desktop* fDesktop;
|
||||
};
|
||||
|
||||
|
||||
#endif /* DESKTOP_SETTINGS_H */
|
||||
|
||||
Reference in New Issue
Block a user