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