Reverted style changes pointed by stippi

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35445 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Artur Wyszynski 2010-02-10 20:19:10 +00:00
parent 98c88afe5f
commit be8e9d5e21

View File

@ -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<std::string, PackageCredit*> 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;
};