Tracker Settings: Style fixes

* Add spaces around {}'s
* Add 2 blank lines between class declarations in header
This commit is contained in:
John Scipione
2013-06-02 22:03:35 -04:00
parent 62bcb75c72
commit 7fd5989d24
2 changed files with 6 additions and 3 deletions
+3 -3
View File
@@ -65,11 +65,11 @@ static const float kIndentSpacing = 12.0f;
// What about adding DefaultValue(), IsDefault() etc... methods to // What about adding DefaultValue(), IsDefault() etc... methods to
// xxxValueSetting ? // xxxValueSetting ?
static const uint8 kSpaceBarAlpha = 192; static const uint8 kSpaceBarAlpha = 192;
static const rgb_color kDefaultUsedSpaceColor = {0, 203, 0, kSpaceBarAlpha}; static const rgb_color kDefaultUsedSpaceColor = { 0, 203, 0, kSpaceBarAlpha };
static const rgb_color kDefaultFreeSpaceColor static const rgb_color kDefaultFreeSpaceColor
= {255, 255, 255, kSpaceBarAlpha}; = { 255, 255, 255, kSpaceBarAlpha };
static const rgb_color kDefaultWarningSpaceColor static const rgb_color kDefaultWarningSpaceColor
= {203, 0, 0, kSpaceBarAlpha}; = { 203, 0, 0, kSpaceBarAlpha };
static void static void
+3
View File
@@ -69,6 +69,7 @@ class SettingsView : public BGroupView {
typedef BGroupView _inherited; typedef BGroupView _inherited;
}; };
class DesktopSettingsView : public SettingsView { class DesktopSettingsView : public SettingsView {
public: public:
DesktopSettingsView(); DesktopSettingsView();
@@ -101,6 +102,7 @@ class DesktopSettingsView : public SettingsView {
typedef SettingsView _inherited; typedef SettingsView _inherited;
}; };
class WindowsSettingsView : public SettingsView { class WindowsSettingsView : public SettingsView {
public: public:
WindowsSettingsView(); WindowsSettingsView();
@@ -134,6 +136,7 @@ class WindowsSettingsView : public SettingsView {
typedef SettingsView _inherited; typedef SettingsView _inherited;
}; };
class SpaceBarSettingsView : public SettingsView { class SpaceBarSettingsView : public SettingsView {
public: public:
SpaceBarSettingsView(); SpaceBarSettingsView();