ICPlus | classes |
class ICPalette | ^ |
Icon Plus generic color palette class.
The ICPalette class creates and manages a RGB color palette.
- Source:
- ../ic_palette.h:136
- Author:
- Dmitry A Steklenev
- Version:
- unknown
Contents | ^ |
Entity Type Scope Short Description size_type typedef public An unsigned integral type. npos attribute public The largest possible value of type size_type. ICPalette constructor public Constructs the empty color palette. ICPalette constructor public Constructs the color palette. ICPalette constructor public Constructs the color palette from another palette object. ~ICPalette destructor public Destructs the color palette. count method public Returns the number of RGB colors stored in the palette. find method public Returns the RGB color index. is_truecolor method public Returns true (1) if palette is in truecolor mode. operator = operator public Assignment operator. operator [] operator public Returns a reference to the RGB color. operator [] operator public Returns a constant reference to the RGB color. operator == operator public Compares this palette to another palette object for equality. operator != operator public Compares this palette to another palette object for inequality. default_bw method public Returns standard black and white color palette.
typedef size_type | ? ^ > |
An unsigned integral type.
- Source:
- ../ic_palette.h:139
- Code:
- public typedef unsigned long size_type
attribute npos | ? ^ < > |
The largest possible value of type size_type.
- Source:
- ../ic_palette.h:142
- Code:
- public static const size_type npos
constructor ICPalette | ? ^ < > |
Constructs the empty color palette.
- Source:
- ../ic_palette.h:146
- Code:
public ICPalette ( )
constructor ICPalette | ? ^ < > |
Constructs the color palette.
- Source:
- ../ic_palette.h:148
- Code:
public ICPalette ( size_type size )
constructor ICPalette | ? ^ < > |
Constructs the color palette from another palette object.
- Source:
- ../ic_palette.h:150
- Code:
public ICPalette ( const ICPalette & )
destructor ~ICPalette | ? ^ < > |
Destructs the color palette.
- Source:
- ../ic_palette.h:152
- Code:
public ~ ICPalette ( )
method count | ? ^ < > |
Returns the number of RGB colors stored in the palette.
- Source:
- ../ic_palette.h:156
- Code:
public size_type count ( ) const
method find | ? ^ < > |
Returns the RGB color index.
- Source:
- ../ic_palette.h:158
method is_truecolor | ? ^ < > |
Returns true (1) if palette is in truecolor mode.
- Source:
- ../ic_palette.h:160
- Code:
public int is_truecolor ( ) const
operator = | ? ^ < > |
Assignment operator.
- Source:
- ../ic_palette.h:164
- Code:
public ICPalette & operator = ( const ICPalette & )
operator [] | ? ^ < > |
Returns a reference to the RGB color.
- Source:
- ../ic_palette.h:166
operator [] | ? ^ < > |
Returns a constant reference to the RGB color.
- Source:
- ../ic_palette.h:168
operator == | ? ^ < > |
Compares this palette to another palette object for equality.
- Source:
- ../ic_palette.h:170
- Code:
public int operator == ( const ICPalette & ) const
operator != | ? ^ < > |
Compares this palette to another palette object for inequality.
- Source:
- ../ic_palette.h:172
- Code:
public int operator != ( const ICPalette & ) const
method default_bw | ? ^ < > |
Returns standard black and white color palette.
- Source:
- ../ic_palette.h:176
- Code:
public static ICPalette default_bw ( )
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.