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

#include <icon.h>

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

Public Member Functions

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

Protected Member Functions

 CIcon ()
 

Protected Attributes

CWindowm_pwWindow
 
tIconHandle m_ihIcon
 

Detailed Description

Base class for an icon

Definition at line 10 of file icon.h.

Constructor & Destructor Documentation

◆ ~CIcon()

rov2::CIcon::~CIcon ( )
virtual

Destroys this icon

Definition at line 14 of file icon.cpp.

◆ CIcon()

rov2::CIcon::CIcon ( )
protected

Only a derived class can construct icons

Definition at line 8 of file icon.cpp.

Member Function Documentation

◆ Handle()

const tIconHandle rov2::CIcon::Handle ( ) const
inline

Gets the icon handle

Returns
The icon handle

Definition at line 15 of file icon.h.

Member Data Documentation

◆ m_ihIcon

tIconHandle rov2::CIcon::m_ihIcon
protected

The icon handle

Definition at line 28 of file icon.h.

◆ m_pwWindow

CWindow* rov2::CIcon::m_pwWindow
protected

The window to which this icon is attached

Definition at line 25 of file icon.h.


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