Add methods to get and set the name, version, and icon
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
|
||||
class AboutView;
|
||||
class BBitmap;
|
||||
class BPoint;
|
||||
class BHandler;
|
||||
|
||||
@@ -37,6 +38,15 @@ class BAboutWindow : public BWindow {
|
||||
void AddVersionHistory(const char** history);
|
||||
void AddExtraInfo(const char* extraInfo);
|
||||
|
||||
BBitmap* Icon();
|
||||
void SetIcon(BBitmap* icon);
|
||||
|
||||
const char* Name();
|
||||
void SetName(const char* name);
|
||||
|
||||
const char* Version();
|
||||
void SetVersion(const char* version);
|
||||
|
||||
private:
|
||||
AboutView* fAboutView;
|
||||
BHandler* fCaller;
|
||||
|
||||
Reference in New Issue
Block a user