|
SatCat5
|
"Icon" API for small monochrome images
This file defines an API for monochrome images, intended for rendering text, icons, or simple animations in a graphical user interface. It also defines some useful examples in each format.
For utility functions that convert general-purpose image files into the format required here, please refer to the Python tool located under "/sim/python/pixel_art.py".
Definition in file gui_icons.h.
#include <satcat5/types.h>Go to the source code of this file.
Classes | |
| struct | satcat5::gui::Icon8x8 |
| Plain-old-data struct for an 8x8 monochrome image. More... | |
| struct | satcat5::gui::Icon16x16 |
| Plain-old-data struct for a 16x16 monochrome image. More... | |
| struct | satcat5::gui::Icon32x32 |
| Plain-old-data struct for a 32x32 monochrome image. More... | |
| class | satcat5::gui::Font< T > |
| The Font class maps characters to fixed-size icons. More... | |
| struct | satcat5::gui::Animation< T > |
| A data structure for storing a looping sequence of icons. More... | |
Typedefs | |
| typedef Font< Icon8x8 > | satcat5::gui::Font8x8 |
| Font for 8x8 icons. | |
| typedef Font< Icon16x16 > | satcat5::gui::Font16x16 |
| Font for 16x16 icons. | |
| typedef Font< Icon32x32 > | satcat5::gui::Font32x32 |
| Font for 32x32 icons. | |
Variables | |
| const Font8x8 | satcat5::gui::BASIC_FONT |
| A basic fixed-width 8x8 font. | |
| const Icon8x8 | satcat5::gui::PAW_ICON8 |
| A cat's paw or footprint. More... | |
| const Icon16x16 | satcat5::gui::AEROLOGO_ICON16 |
| The Aerospace Corporation logo in various sizes. More... | |
| const Icon32x32 | satcat5::gui::AEROLOGO_ICON32 |
| The Aerospace Corporation logo in various sizes. More... | |
| const Icon8x8 | satcat5::gui::SATCAT5_ICON8 |
| The SatCat5 mascot in various sizes. More... | |
| const Icon16x16 | satcat5::gui::SATCAT5_ICON16 |
| The SatCat5 mascot in various sizes. More... | |
| const Icon16x16 | satcat5::gui::CAT_GROOM [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_HISS [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_PAW [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_POUNCE [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_RUN [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_SIT [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_SLEEP [8] |
| Animations of a cat performing various activities. More... | |
| const Icon16x16 | satcat5::gui::CAT_WALK [8] |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_GROOM {satcat5::gui::CAT_GROOM, 8, 125} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_HISS {satcat5::gui::CAT_HISS, 8, 125} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_PAW {satcat5::gui::CAT_PAW, 8, 125} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_POUNCE {satcat5::gui::CAT_POUNCE, 8, 125} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_RUN {satcat5::gui::CAT_RUN, 8, 125} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_SIT {satcat5::gui::CAT_SIT, 8, 250} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_SLEEP {satcat5::gui::CAT_SLEEP, 8, 250} |
| Animations of a cat performing various activities. More... | |
| constexpr Animation< Icon16x16 > | satcat5::gui::ANIM_CAT_WALK {satcat5::gui::CAT_WALK, 8, 125} |
| Animations of a cat performing various activities. More... | |
|
externconstexpr |
The Aerospace Corporation logo in various sizes.
Definition at line 118 of file gui_icons.cc.
|
externconstexpr |
The Aerospace Corporation logo in various sizes.
Definition at line 121 of file gui_icons.cc.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 139 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_HISS {satcat5::gui::CAT_HISS, 8, 125} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 140 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_PAW {satcat5::gui::CAT_PAW, 8, 125} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 141 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_POUNCE {satcat5::gui::CAT_POUNCE, 8, 125} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 142 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_RUN {satcat5::gui::CAT_RUN, 8, 125} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 143 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_SIT {satcat5::gui::CAT_SIT, 8, 250} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 144 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_SLEEP {satcat5::gui::CAT_SLEEP, 8, 250} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 145 of file gui_icons.h.
| constexpr Animation<Icon16x16> satcat5::gui::ANIM_CAT_WALK {satcat5::gui::CAT_WALK, 8, 125} |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 146 of file gui_icons.h.
|
externconstexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 147 of file gui_icons.cc.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 136 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 136 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 136 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 137 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 137 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 137 of file gui_icons.h.
|
constexpr |
Animations of a cat performing various activities.
Each animation defines a loop. Best viewed at ~125 ms per frame, except for SIT and SLEEP, which should use ~250 ms per frame.
Definition at line 137 of file gui_icons.h.
|
externconstexpr |
A cat's paw or footprint.
Definition at line 132 of file gui_icons.cc.
|
externconstexpr |
The SatCat5 mascot in various sizes.
Definition at line 138 of file gui_icons.cc.
|
externconstexpr |
The SatCat5 mascot in various sizes.
Definition at line 136 of file gui_icons.cc.