SatCat5
satcat5::gui::Icon16x16 Struct Reference

Detailed Description

Plain-old-data struct for a 16x16 monochrome image.

See also
gui_icons.h, gui::Icon8x8, gui::Icon32x32. Coordinates: Top row is index 0, left column is LSB.

Definition at line 46 of file gui_icons.h.

#include <gui_icons.h>

Public Member Functions

 Icon16x16 (const Icon16x16 &t)=default
 
Icon16x16operator= (const Icon16x16 &t)=default
 
bool rc (u16 r, u16 c) const
 Get pixel value at designated row and column.
 
u16 h () const
 Width of this icon.
 
u16 w () const
 Height of this icon.
 

Public Attributes

u16 data [16]
 16 x 16 pixels = 32 bytes
 

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