From be8e9d5e21aaf8c794d0dcc91fd4b46de4d13393 Mon Sep 17 00:00:00 2001 From: Artur Wyszynski Date: Wed, 10 Feb 2010 20:19:10 +0000 Subject: [PATCH] Reverted style changes pointed by stippi git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35445 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/aboutsystem/AboutSystem.cpp | 73 ++++++++++++++-------------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/src/apps/aboutsystem/AboutSystem.cpp b/src/apps/aboutsystem/AboutSystem.cpp index 2492182a95..13d0ec8512 100644 --- a/src/apps/aboutsystem/AboutSystem.cpp +++ b/src/apps/aboutsystem/AboutSystem.cpp @@ -74,15 +74,15 @@ static const rgb_color kLinkBlue = { 80, 80, 200, 255 }; class AboutApp : public BApplication { public: - AboutApp(); + AboutApp(); private: - BCatalog fCatalog; + BCatalog fCatalog; }; class AboutWindow : public BWindow { public: - AboutWindow(); + AboutWindow(); virtual bool QuitRequested(); }; @@ -90,8 +90,8 @@ public: class LogoView : public BView { public: - LogoView(); - virtual ~LogoView(); + LogoView(); + virtual ~LogoView(); virtual BSize MinSize(); virtual BSize MaxSize(); @@ -99,16 +99,15 @@ public: virtual void Draw(BRect updateRect); private: - BBitmap* fLogo; + BBitmap* fLogo; }; class CropView : public BView { public: - CropView(BView* target, int32 left, - int32 top, int32 right, - int32 bottom); - virtual ~CropView(); + CropView(BView* target, int32 left, int32 top, + int32 right, int32 bottom); + virtual ~CropView(); virtual BSize MinSize(); virtual BSize MaxSize(); @@ -116,18 +115,18 @@ public: virtual void DoLayout(); private: - BView* fTarget; - int32 fCropLeft; - int32 fCropTop; - int32 fCropRight; - int32 fCropBottom; + BView* fTarget; + int32 fCropLeft; + int32 fCropTop; + int32 fCropRight; + int32 fCropBottom; }; class AboutView : public BView { public: - AboutView(); - ~AboutView(); + AboutView(); + ~AboutView(); virtual void AttachedToWindow(); virtual void Pulse(); @@ -135,36 +134,36 @@ public: virtual void MessageReceived(BMessage* msg); virtual void MouseDown(BPoint point); - void AddCopyrightEntry(const char* name, - const char* text, - const StringVector& licenses, - const StringVector& sources, - const char* url); - void AddCopyrightEntry(const char* name, - const char* text, - const char* url = NULL); - void PickRandomHaiku(); + void AddCopyrightEntry(const char* name, + const char* text, + const StringVector& licenses, + const StringVector& sources, + const char* url); + void AddCopyrightEntry(const char* name, + const char* text, const char* url = NULL); + void PickRandomHaiku(); + private: typedef std::map PackageCreditMap; private: - BView* _CreateLabel(const char* name, const char* label); - BView* _CreateCreditsView(); - status_t _GetLicensePath(const char* license, - BPath& path); - void _AddCopyrightsFromAttribute(); - void _AddPackageCredit(const PackageCredit& package); - void _AddPackageCreditEntries(); + BView* _CreateLabel(const char* name, const char* label); + BView* _CreateCreditsView(); + status_t _GetLicensePath(const char* license, + BPath& path); + void _AddCopyrightsFromAttribute(); + void _AddPackageCredit(const PackageCredit& package); + void _AddPackageCreditEntries(); BStringView* fMemView; - BTextView* fUptimeView; - BView* fInfoView; + BTextView* fUptimeView; + BView* fInfoView; HyperTextView* fCreditsView; - BBitmap* fLogo; + BBitmap* fLogo; - bigtime_t fLastActionTime; + bigtime_t fLastActionTime; BMessageRunner* fScrollRunner; PackageCreditMap fPackageCredits; };