ROVLib2
RISCOSC++applicationdevelopmentlibrary
|
#include <aboutbox.h>
Public Member Functions | |
CAboutBox (const std::string &rksName, const std::string &rksPurpose, const std::string &rksAuthor, const std::string &rksVersion) | |
~CAboutBox () | |
![]() | |
CWindow (const std::string &rksTitle) | |
~CWindow () | |
void | Create (const tLocation &rklSize) |
const tWindowHandle | Handle () const |
const std::string | Title () const |
virtual void | SetTitle (const std::string &rksNewTitle) |
virtual void | RedrawArea (const tLocation &rklMinimum, const tLocation &rklMaximum) |
virtual void | Open (const tWindowOpenBlock &rkwobOpenBlock) |
virtual void | Close () |
virtual bool | Clicked (const tMouseClickBlock &rkmcbClickBlock) |
void | RegisterIcon (const CIcon *kpiIcon) |
void | DeregisterIcon (const CIcon *kpiIcon) |
const CIcon * | FindIcon (const tIconHandle kihIcon) |
![]() | |
virtual tLocation | FromScreen (const tLocation &rklScreen) |
virtual tLocation | ToScreen (const tLocation &rklObject) |
![]() | |
CUnassignable (const CUnassignable &)=delete | |
CUnassignable & | operator= (const CUnassignable &)=delete |
CUnassignable () | |
Protected Member Functions | |
void | AddRow (const std::string &rksHeader, const std::string &rksValue) |
virtual void | Adorn (tWindowCreateBlock &rwcbBlock) |
virtual void | Created (void) |
Additional Inherited Members | |
![]() | |
char | m_caWindowTitle [256] |
tWindowHandle | m_whHandle |
std::list< const CIcon * > | m_lkpwIcons |
Class to create an about box
Definition at line 14 of file aboutbox.h.
rov2::CAboutBox::CAboutBox | ( | const std::string & | rksName, |
const std::string & | rksPurpose, | ||
const std::string & | rksAuthor, | ||
const std::string & | rksVersion | ||
) |
Constructor for the about box
rksName | The value for the 'Name' field |
rksPurpose | The value for the 'Purpose' field |
rksAuthor | The value for the 'Author' field |
rksVersion | The value for the 'Version' field |
Definition at line 18 of file aboutbox.cpp.
rov2::CAboutBox::~CAboutBox | ( | ) |
Destructor for the about box
Definition at line 29 of file aboutbox.cpp.
|
protected |
Add a row to the about box
rksHeader | The row's name |
rksValue | The row's value |
Definition at line 87 of file aboutbox.cpp.
|
protectedvirtual |
Called to change any of the window flags
rwcbBlock | The window creation block |
Reimplemented from rov2::CWindow.
Definition at line 35 of file aboutbox.cpp.
|
protectedvirtual |
Called after the window is created
Reimplemented from rov2::CWindow.
Definition at line 47 of file aboutbox.cpp.