ICPlus | classes |
class ICIcon | ^ |
Icon Plus generic icon class.
The ICIcon class creates and manages a generic icon.
The following table shows how these bitmaps are used for a color icon or pointer:
AND XOR COLOR 1 1 x Invert screen 1 0 x Transparency 0 0 x Use color x 0 1 x Use color x
- Source:
- ../ic_icon.h:68
- Author:
- Dmitry A Steklenev
- Version:
- unknown
Contents | ^ |
Entity Type Scope Short Description size_type typedef public An unsigned integral type. ICIcon constructor public Constructs the empty generic icon. ICIcon constructor public Constructs the generic icon. ICIcon constructor public Constructs the generic icon from another icon object. ~ICIcon destructor public Destructs the generic icon. width method public Returns the icon width in pixels. height method public Returns the icon height in pixels. bits_per_pixel method public Returns the icon of bits per pixel. bitmap method public Returns a reference to the icon bitmap. palette method public Returns a reference to the icon bitmap palette. andmap method public Returns a reference to the icon "and" mask. xormap method public Returns a reference to the icon "xor" mask. alpha method public Returns a reference to the alpha channel map. xhotspot method public Returns the width of icon hotspot. yhotspot method public Returns the height of icon hotspot. move_hotspot method public Sets the icon hotspot. is_bw method public Returns true if this icon is black and white. operator = operator public Assignment operator.
typedef size_type | ? ^ > |
An unsigned integral type.
- Source:
- ../ic_icon.h:71
- Code:
- public typedef UINT32 size_type
constructor ICIcon | ? ^ < > |
Constructs the empty generic icon.
- Source:
- ../ic_icon.h:75
- Code:
public ICIcon ( )
constructor ICIcon | ? ^ < > |
Constructs the generic icon.
- Source:
- ../ic_icon.h:77
constructor ICIcon | ? ^ < > |
Constructs the generic icon from another icon object.
- Source:
- ../ic_icon.h:79
- Code:
public ICIcon ( const ICIcon & )
destructor ~ICIcon | ? ^ < > |
Destructs the generic icon.
- Source:
- ../ic_icon.h:81
- Code:
public ~ ICIcon ( )
method width | ? ^ < > |
Returns the icon width in pixels.
- Source:
- ../ic_icon.h:85
- Code:
public size_type width ( ) const
method height | ? ^ < > |
Returns the icon height in pixels.
- Source:
- ../ic_icon.h:87
- Code:
public size_type height ( ) const
method bits_per_pixel | ? ^ < > |
Returns the icon of bits per pixel.
- Source:
- ../ic_icon.h:89
- Code:
public size_type bits_per_pixel ( ) const
method bitmap | ? ^ < > |
Returns a reference to the icon bitmap.
- Source:
- ../ic_icon.h:92
- Code:
public ICBitmap & bitmap ( )
method palette | ? ^ < > |
Returns a reference to the icon bitmap palette.
- Source:
- ../ic_icon.h:94
- Code:
public ICPalette & palette ( )
method andmap | ? ^ < > |
Returns a reference to the icon "and" mask.
- Source:
- ../ic_icon.h:96
- Code:
public ICBitMask & andmap ( )
method xormap | ? ^ < > |
Returns a reference to the icon "xor" mask.
- Source:
- ../ic_icon.h:98
- Code:
public ICBitMask & xormap ( )
method alpha | ? ^ < > |
Returns a reference to the alpha channel map.
- Source:
- ../ic_icon.h:100
- Code:
public ICAlpha & alpha ( )
method xhotspot | ? ^ < > |
Returns the width of icon hotspot.
- Source:
- ../ic_icon.h:103
- Code:
public size_type xhotspot ( ) const
method yhotspot | ? ^ < > |
Returns the height of icon hotspot.
- Source:
- ../ic_icon.h:105
- Code:
public size_type yhotspot ( ) const
method move_hotspot | ? ^ < > |
Sets the icon hotspot.
- Source:
- ../ic_icon.h:107
method is_bw | ? ^ < > |
Returns true if this icon is black and white.
- Source:
- ../ic_icon.h:110
- Code:
public int is_bw ( ) const
operator = | ? ^ < > |
Assignment operator.
- Source:
- ../ic_icon.h:114
- Code:
public ICIcon & operator = ( const ICIcon & )
Created Wed Jul 10 21:27:42 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.