ROVLib2
RISCOSC++applicationdevelopmentlibrary
Public Member Functions | List of all members
tutorial3::MyIcon Class Reference
Inheritance diagram for tutorial3::MyIcon:
Inheritance graph
[legend]
Collaboration diagram for tutorial3::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 40 of file tut3.cpp.

Constructor & Destructor Documentation

tutorial3::MyIcon::MyIcon ( )
inline

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

Definition at line 44 of file tut3.cpp.

tutorial3::MyIcon::~MyIcon ( )
inline

Not much in the destructor!

Definition at line 50 of file tut3.cpp.

Member Function Documentation

bool tutorial3::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 52 of file tut3.cpp.


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