Photon microGUI widgets library 0.6.0
PhWidgets::Drawing::PaletteImageType Struct Reference

Provides a collection of palette image types for use by a Photon microGUI application. More...

#include <Image.h>

Inheritance diagram for PhWidgets::Drawing::PaletteImageType:
PhWidgets::Drawing::ImageType

Public Types

Properties

Colors::eColors Collection of standard colors for use by a Photon microGUI application

enum  ePaletteImageType { ImagePaletteByte , ImagePaletteNibble }
 

Detailed Description

Provides a collection of palette image types for use by a Photon microGUI application.

See also

Member Enumeration Documentation

◆ ePaletteImageType

Enumerator
ImagePaletteByte 

This format packs 1 pixel per byte, allowing up to 256 colors. This format indexes directly into the current palette; If no palette is set, the function chooses colors from the global palette; this may cause colors to look different on each system.

ImagePaletteNibble 

This format packs 2 pixels per byte, allowing up to 16 colors. The first pixel is in the upper half of the byte, the second is in the lower half. These pixel values index directly into the current palette. If no palette is set, the function chooses colors from the global palette.


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