ROVLib2
RISCOSC++applicationdevelopmentlibrary
Public Member Functions | List of all members
tutorial4::MyIcon Class Reference
Inheritance diagram for tutorial4::MyIcon:
Inheritance graph
[legend]
Collaboration diagram for tutorial4::MyIcon:
Collaboration graph
[legend]

Public Member Functions

 MyIcon ()
 
 ~MyIcon ()
 
bool Clicked (const tMouseClickBlock &rkmcbClickBlock)
 
- Public Member Functions inherited from rov2::CApplicationIcon
 CApplicationIcon (const std::string &rksSpriteName)
 
 ~CApplicationIcon ()
 
- Public Member Functions inherited from rov2::CIcon
const tIconHandle Handle () const
 
virtual ~CIcon ()
 
- Public Member Functions inherited from rov2::CUnassignable
 CUnassignable (const CUnassignable &)=delete
 
CUnassignableoperator= (const CUnassignable &)=delete
 
 CUnassignable ()
 

Additional Inherited Members

- Protected Member Functions inherited from rov2::CIcon
 CIcon ()
 
- Protected Attributes inherited from rov2::CApplicationIcon
char caSpriteName [16]
 
- Protected Attributes inherited from rov2::CIcon
CWindowm_pwWindow
 
tIconHandle m_ihIcon
 

Detailed Description

Defines my own application icon

Definition at line 51 of file tut4.cpp.

Constructor & Destructor Documentation

◆ MyIcon()

tutorial4::MyIcon::MyIcon ( )
inline

We are going to use the "!system" sprite for our icon

Definition at line 55 of file tut4.cpp.

◆ ~MyIcon()

tutorial4::MyIcon::~MyIcon ( )
inline

Not much in the destructor!

Definition at line 61 of file tut4.cpp.

Member Function Documentation

◆ Clicked()

bool tutorial4::MyIcon::Clicked ( const tMouseClickBlock rkmcbClickBlock)
inlinevirtual

Called when something is clicked on the window

Parameters
rkmcbClickBlockThe mouse click block request
Returns
True if the click was handled; otherwise control passes to the next item

Reimplemented from rov2::CClickable.

Definition at line 63 of file tut4.cpp.


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