34        bool operator==(
const color_palette& value)
 const {
return entries_ == value.entries_ && flags_ == value.flags_;}
 
   35        bool operator!=(
const color_palette& value)
 const {
return !operator==(value);}
 
   40        const std::vector<color>& 
entries()
 const {
return entries_;}
 
   47        int32_t 
flags()
 const {
return flags_;}
 
   52        std::vector<color> entries_;
 
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition: image.h:34
 
Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors....
Definition: color_palette.h:29
 
const std::vector< color > & entries() const
Gets an array of color structures.
Definition: color_palette.h:40
 
int32_t flags() const
Gets a value that specifies how to interpret the color information in the array of colors.
Definition: color_palette.h:47
 
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::object class.