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.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -14,6 +14,7 @@
|
|||||||
#include <Menu.h>
|
#include <Menu.h>
|
||||||
#include <Message.h>
|
#include <Message.h>
|
||||||
|
|
||||||
|
|
||||||
class Desktop;
|
class Desktop;
|
||||||
class DesktopSettingsPrivate;
|
class DesktopSettingsPrivate;
|
||||||
class ServerFont;
|
class ServerFont;
|
||||||
@@ -30,6 +31,7 @@ enum {
|
|||||||
kDraggerSettings = 0x10,
|
kDraggerSettings = 0x10,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class DesktopSettings {
|
class DesktopSettings {
|
||||||
public:
|
public:
|
||||||
DesktopSettings(Desktop* desktop);
|
DesktopSettings(Desktop* desktop);
|
||||||
@@ -66,6 +68,7 @@ class DesktopSettings {
|
|||||||
DesktopSettingsPrivate* fSettings;
|
DesktopSettingsPrivate* fSettings;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class LockedDesktopSettings : public DesktopSettings {
|
class LockedDesktopSettings : public DesktopSettings {
|
||||||
public:
|
public:
|
||||||
LockedDesktopSettings(Desktop* desktop);
|
LockedDesktopSettings(Desktop* desktop);
|
||||||
@@ -85,15 +88,18 @@ class LockedDesktopSettings : public DesktopSettings {
|
|||||||
|
|
||||||
void SetShowAllDraggers(bool show);
|
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 SetSubpixelAntialiasing(bool subpix);
|
||||||
void SetHinting(uint8 hinting);
|
void SetHinting(uint8 hinting);
|
||||||
void SetSubpixelAverageWeight(uint8 averageWeight);
|
void SetSubpixelAverageWeight(uint8 averageWeight);
|
||||||
void SetSubpixelOrderingRegular(bool subpixelOrdering);
|
void SetSubpixelOrderingRegular(
|
||||||
|
bool subpixelOrdering);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Desktop* fDesktop;
|
Desktop* fDesktop;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* DESKTOP_SETTINGS_H */
|
#endif /* DESKTOP_SETTINGS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user