![]() |
SmoothProgress 1.0.0
Displays smooth progress bars on a character based LCD displays for Arduino
|
Helper class to wrap the barstyle structure when passing the structure "object" to a function so that a distinction can be made where it is stored in RAM or in FLASH if the progress bar style holding the bitmasks is defined to be stored in FLASH using static const PROGMEM struct barstyle styleName = ... wrap it up with inPROGMEM when passing it as an argument (as const reference) to the functions / constructors More...
#include <SmoothProgress.h>
Public Member Functions | |
inPROGMEM (const barstyle &bs) | |
Wrapper to be used when passing the barstyle structure (as const reference) to the functions / constructors More... | |
const barstyle * | unwrap () const |
Helper class to wrap the barstyle structure when passing the structure "object" to a function so that a distinction can be made where it is stored in RAM or in FLASH if the progress bar style holding the bitmasks is defined to be stored in FLASH using static const PROGMEM struct barstyle styleName = ... wrap it up with inPROGMEM when passing it as an argument (as const reference) to the functions / constructors
|
inline |
Wrapper to be used when passing the barstyle structure (as const reference) to the functions / constructors
bs | const reference to the structure ("object") stored in FLASH (PROGMEM) holding the style definition |