Style changes only
This commit is contained in:
+14
-11
@@ -103,6 +103,7 @@ struct clock_settings {
|
||||
bool showTimeZone;
|
||||
};
|
||||
|
||||
|
||||
class BFile;
|
||||
class BList;
|
||||
class BBitmap;
|
||||
@@ -110,11 +111,10 @@ class PreferencesWindow;
|
||||
class TBarView;
|
||||
class TBarWindow;
|
||||
|
||||
|
||||
class BarTeamInfo {
|
||||
public:
|
||||
BarTeamInfo(BList* teams, uint32 flags, char* sig, BBitmap* icon,
|
||||
char* name);
|
||||
BarTeamInfo(BList* teams, uint32 flags,
|
||||
char* sig, BBitmap* icon, char* name);
|
||||
BarTeamInfo(const BarTeamInfo &info);
|
||||
~BarTeamInfo();
|
||||
|
||||
@@ -125,9 +125,8 @@ public:
|
||||
char* name;
|
||||
};
|
||||
|
||||
|
||||
class TBarApp : public BApplication {
|
||||
public:
|
||||
public:
|
||||
TBarApp();
|
||||
virtual ~TBarApp();
|
||||
|
||||
@@ -137,15 +136,19 @@ class TBarApp : public BApplication {
|
||||
|
||||
desk_settings* Settings() { return &fSettings; }
|
||||
clock_settings* ClockSettings() { return &fClockSettings; }
|
||||
|
||||
TBarView* BarView() const { return fBarView; }
|
||||
TBarWindow* BarWindow() const { return fBarWindow; }
|
||||
|
||||
static void Subscribe(const BMessenger &subscriber, BList*);
|
||||
static void Subscribe(const BMessenger &subscriber,
|
||||
BList*);
|
||||
static void Unsubscribe(const BMessenger &subscriber);
|
||||
|
||||
int32 IconSize();
|
||||
|
||||
private:
|
||||
void AddTeam(team_id team, uint32 flags, const char* sig, entry_ref*);
|
||||
private:
|
||||
void AddTeam(team_id team, uint32 flags,
|
||||
const char* sig, entry_ref*);
|
||||
void RemoveTeam(team_id);
|
||||
|
||||
void InitSettings();
|
||||
@@ -153,9 +156,10 @@ class TBarApp : public BApplication {
|
||||
|
||||
void ShowPreferencesWindow();
|
||||
void ResizeTeamIcons();
|
||||
void FetchAppIcon(const char* signature, BBitmap* icon);
|
||||
BRect IconRect();
|
||||
void FetchAppIcon(const char* signature,
|
||||
BBitmap* icon);
|
||||
|
||||
BRect IconRect();
|
||||
TBarWindow* fBarWindow;
|
||||
TBarView* fBarView;
|
||||
BMessenger fSwitcherMessenger;
|
||||
@@ -164,7 +168,6 @@ class TBarApp : public BApplication {
|
||||
BFile* fClockSettingsFile;
|
||||
desk_settings fSettings;
|
||||
clock_settings fClockSettings;
|
||||
|
||||
PreferencesWindow* fPreferencesWindow;
|
||||
|
||||
static BLocker sSubscriberLock;
|
||||
|
||||
Reference in New Issue
Block a user