TinyMaterialDesign
Loading...
Searching...
No Matches
Namespaces | Functions
Icons.h File Reference
#include "TinyGPU/Surface/ISurface.h"
#include "TinyMaterialDesign/Core/Bounds.h"
Include dependency graph for Icons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tinymd
 

Functions

template<typename RGB_T >
void drawLineThick (tinygpu::ISurface< RGB_T > &target, int32_t x0, int32_t y0, int32_t x1, int32_t y1, RGB_T color, uint8_t thickness=2)
 
template<typename RGB_T >
void drawCheckmark (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 Checkmark glyph (Checkbox, checked state), inset within r.
 
template<typename RGB_T >
void drawDot (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color)
 Filled dot (RadioButton, selected state), centered within r.
 
template<typename RGB_T >
void drawClose (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 "X" close glyph, inset within r.
 
template<typename RGB_T >
void drawPlus (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 "+" plus glyph, inset within r.
 
template<typename RGB_T >
void drawMinus (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 "-" minus glyph, inset within r.
 
template<typename RGB_T >
void drawChevronDown (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 Downward chevron ("v"), inset within r - used for expandable affordances.
 
template<typename RGB_T >
void drawChevronRight (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 Rightward chevron (">"), inset within r - navigation affordance.
 
template<typename RGB_T >
void drawMenu (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 
template<typename RGB_T >
void drawSearch (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 Magnifying-glass search glyph, inset within r - used by SearchBar.
 
template<typename RGB_T >
void drawWifi (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=2)
 WiFi glyph: a dot with three arcs above it.
 
template<typename RGB_T >
void drawSignalBars (tinygpu::ISurface< RGB_T > &target, const Bounds &r, int bars, RGB_T on, RGB_T off)
 
template<typename RGB_T >
void drawLock (tinygpu::ISurface< RGB_T > &target, const Bounds &r, RGB_T color, uint8_t thickness=1)
 Padlock (e.g. a secured network).