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:
@@ -74,15 +74,15 @@ static const rgb_color kLinkBlue = { 80, 80, 200, 255 };
|
|||||||
|
|
||||||
class AboutApp : public BApplication {
|
class AboutApp : public BApplication {
|
||||||
public:
|
public:
|
||||||
AboutApp();
|
AboutApp();
|
||||||
private:
|
private:
|
||||||
BCatalog fCatalog;
|
BCatalog fCatalog;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class AboutWindow : public BWindow {
|
class AboutWindow : public BWindow {
|
||||||
public:
|
public:
|
||||||
AboutWindow();
|
AboutWindow();
|
||||||
|
|
||||||
virtual bool QuitRequested();
|
virtual bool QuitRequested();
|
||||||
};
|
};
|
||||||
@@ -90,8 +90,8 @@ public:
|
|||||||
|
|
||||||
class LogoView : public BView {
|
class LogoView : public BView {
|
||||||
public:
|
public:
|
||||||
LogoView();
|
LogoView();
|
||||||
virtual ~LogoView();
|
virtual ~LogoView();
|
||||||
|
|
||||||
virtual BSize MinSize();
|
virtual BSize MinSize();
|
||||||
virtual BSize MaxSize();
|
virtual BSize MaxSize();
|
||||||
@@ -99,16 +99,15 @@ public:
|
|||||||
virtual void Draw(BRect updateRect);
|
virtual void Draw(BRect updateRect);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BBitmap* fLogo;
|
BBitmap* fLogo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class CropView : public BView {
|
class CropView : public BView {
|
||||||
public:
|
public:
|
||||||
CropView(BView* target, int32 left,
|
CropView(BView* target, int32 left, int32 top,
|
||||||
int32 top, int32 right,
|
int32 right, int32 bottom);
|
||||||
int32 bottom);
|
virtual ~CropView();
|
||||||
virtual ~CropView();
|
|
||||||
|
|
||||||
virtual BSize MinSize();
|
virtual BSize MinSize();
|
||||||
virtual BSize MaxSize();
|
virtual BSize MaxSize();
|
||||||
@@ -116,18 +115,18 @@ public:
|
|||||||
virtual void DoLayout();
|
virtual void DoLayout();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BView* fTarget;
|
BView* fTarget;
|
||||||
int32 fCropLeft;
|
int32 fCropLeft;
|
||||||
int32 fCropTop;
|
int32 fCropTop;
|
||||||
int32 fCropRight;
|
int32 fCropRight;
|
||||||
int32 fCropBottom;
|
int32 fCropBottom;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class AboutView : public BView {
|
class AboutView : public BView {
|
||||||
public:
|
public:
|
||||||
AboutView();
|
AboutView();
|
||||||
~AboutView();
|
~AboutView();
|
||||||
|
|
||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
virtual void Pulse();
|
virtual void Pulse();
|
||||||
@@ -135,36 +134,36 @@ public:
|
|||||||
virtual void MessageReceived(BMessage* msg);
|
virtual void MessageReceived(BMessage* msg);
|
||||||
virtual void MouseDown(BPoint point);
|
virtual void MouseDown(BPoint point);
|
||||||
|
|
||||||
void AddCopyrightEntry(const char* name,
|
void AddCopyrightEntry(const char* name,
|
||||||
const char* text,
|
const char* text,
|
||||||
const StringVector& licenses,
|
const StringVector& licenses,
|
||||||
const StringVector& sources,
|
const StringVector& sources,
|
||||||
const char* url);
|
const char* url);
|
||||||
void AddCopyrightEntry(const char* name,
|
void AddCopyrightEntry(const char* name,
|
||||||
const char* text,
|
const char* text, const char* url = NULL);
|
||||||
const char* url = NULL);
|
void PickRandomHaiku();
|
||||||
void PickRandomHaiku();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef std::map<std::string, PackageCredit*> PackageCreditMap;
|
typedef std::map<std::string, PackageCredit*> PackageCreditMap;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BView* _CreateLabel(const char* name, const char* label);
|
BView* _CreateLabel(const char* name, const char* label);
|
||||||
BView* _CreateCreditsView();
|
BView* _CreateCreditsView();
|
||||||
status_t _GetLicensePath(const char* license,
|
status_t _GetLicensePath(const char* license,
|
||||||
BPath& path);
|
BPath& path);
|
||||||
void _AddCopyrightsFromAttribute();
|
void _AddCopyrightsFromAttribute();
|
||||||
void _AddPackageCredit(const PackageCredit& package);
|
void _AddPackageCredit(const PackageCredit& package);
|
||||||
void _AddPackageCreditEntries();
|
void _AddPackageCreditEntries();
|
||||||
|
|
||||||
BStringView* fMemView;
|
BStringView* fMemView;
|
||||||
BTextView* fUptimeView;
|
BTextView* fUptimeView;
|
||||||
BView* fInfoView;
|
BView* fInfoView;
|
||||||
HyperTextView* fCreditsView;
|
HyperTextView* fCreditsView;
|
||||||
|
|
||||||
BBitmap* fLogo;
|
BBitmap* fLogo;
|
||||||
|
|
||||||
bigtime_t fLastActionTime;
|
bigtime_t fLastActionTime;
|
||||||
BMessageRunner* fScrollRunner;
|
BMessageRunner* fScrollRunner;
|
||||||
PackageCreditMap fPackageCredits;
|
PackageCreditMap fPackageCredits;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user