ROVLib2
RISCOSC++applicationdevelopmentlibrary
Public Member Functions | Protected Member Functions | List of all members
rov2::CAboutBox Class Reference

#include <aboutbox.h>

Inheritance diagram for rov2::CAboutBox:
Inheritance graph
[legend]
Collaboration diagram for rov2::CAboutBox:
Collaboration graph
[legend]

Public Member Functions

 CAboutBox (const std::string &rksName, const std::string &rksPurpose, const std::string &rksAuthor, const std::string &rksVersion)
 
 ~CAboutBox ()
 
- Public Member Functions inherited from rov2::CWindow
 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 CIconFindIcon (const tIconHandle kihIcon)
 
- Public Member Functions inherited from rov2::CCoordinateConverter
virtual tLocation FromScreen (const tLocation &rklScreen)
 
virtual tLocation ToScreen (const tLocation &rklObject)
 
- Public Member Functions inherited from rov2::CUnassignable
 CUnassignable (const CUnassignable &)=delete
 
CUnassignableoperator= (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

- Protected Attributes inherited from rov2::CWindow
char m_caWindowTitle [256]
 
tWindowHandle m_whHandle
 
std::list< const CIcon * > m_lkpwIcons
 

Detailed Description

Class to create an about box

Definition at line 14 of file aboutbox.h.

Constructor & Destructor Documentation

◆ CAboutBox()

rov2::CAboutBox::CAboutBox ( const std::string &  rksName,
const std::string &  rksPurpose,
const std::string &  rksAuthor,
const std::string &  rksVersion 
)

Constructor for the about box

Parameters
rksNameThe value for the 'Name' field
rksPurposeThe value for the 'Purpose' field
rksAuthorThe value for the 'Author' field
rksVersionThe value for the 'Version' field

Definition at line 18 of file aboutbox.cpp.

◆ ~CAboutBox()

rov2::CAboutBox::~CAboutBox ( )

Destructor for the about box

Definition at line 29 of file aboutbox.cpp.

Member Function Documentation

◆ AddRow()

void rov2::CAboutBox::AddRow ( const std::string &  rksHeader,
const std::string &  rksValue 
)
protected

Add a row to the about box

Parameters
rksHeaderThe row's name
rksValueThe row's value

Definition at line 87 of file aboutbox.cpp.

◆ Adorn()

void rov2::CAboutBox::Adorn ( tWindowCreateBlock rwcbBlock)
protectedvirtual

Called to change any of the window flags

Parameters
rwcbBlockThe window creation block

Reimplemented from rov2::CWindow.

Definition at line 35 of file aboutbox.cpp.

◆ Created()

void rov2::CAboutBox::Created ( void  )
protectedvirtual

Called after the window is created

Reimplemented from rov2::CWindow.

Definition at line 47 of file aboutbox.cpp.


The documentation for this class was generated from the following files: