SmoothProgress 1.0.0
Displays smooth progress bars on a character based LCD displays for Arduino
barstyle Struct Reference

Structure holding the bit-masks and other data used for drawing the edges of the progress bar that define the appearance (style) of the progress bar startMask[2][CharPatRows] - AND and OR mask for the first (beginning) character of the progress bar endMask[2][CharPatRows] - AND and OR mask for the last (ending) character of the progress bar middleMask[2][CharPatRows] - AND and OR mask for the advancing (partially filled) character of the progress bar the AND mask defines which pixels to be left on when filling the progress bar (and which should always be off - defining the margin to the frame) the OR mask defines which pixels will always be on - defining the frame of the progress bar startOffset - defines where the filling of the progress bar actually starts (regarding the frame and the margin of the style) endOffset - defines where the filling of the progress bar ends (regarding the frame and the margin of the style) More...

#include <barstyle.h>

Classes

struct  bspar
 

Public Types

enum  dotMatrixDim : byte { CharPatRows = 8 , CharPatCols = 5 }
 
enum  bitMasks : byte { AllRows = MaskLSBs<CharPatRows>() , AllCols = MaskLSBs<CharPatCols>() }
 
enum  andOrMaskIndex : byte { ANDmask , ORmask }
 
enum  orientation : byte { Horizontal , Vertical }
 

Public Attributes

uint8_t startMask [2][CharPatRows]
 
uint8_t endMask [2][CharPatRows]
 
uint8_t middleMask [2][CharPatRows]
 
struct barstyle::bspar stylePar
 

Detailed Description

Structure holding the bit-masks and other data used for drawing the edges of the progress bar that define the appearance (style) of the progress bar startMask[2][CharPatRows] - AND and OR mask for the first (beginning) character of the progress bar endMask[2][CharPatRows] - AND and OR mask for the last (ending) character of the progress bar middleMask[2][CharPatRows] - AND and OR mask for the advancing (partially filled) character of the progress bar the AND mask defines which pixels to be left on when filling the progress bar (and which should always be off - defining the margin to the frame) the OR mask defines which pixels will always be on - defining the frame of the progress bar startOffset - defines where the filling of the progress bar actually starts (regarding the frame and the margin of the style) endOffset - defines where the filling of the progress bar ends (regarding the frame and the margin of the style)


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