Struct OpenSkyhawk::DrumReadout
ClassList > OpenSkyhawk > DrumReadout
Complete description of one rolling readout: its sources, geometry, glyphs, flag. More...
#include <DrumDisplay.h>
Public Attributes
| Type | Name |
|---|---|
| float | digitHeightMm digit cell (roll window) height, mm |
| float | digitWidthMm digit cell (window aperture) width, mm |
| DrumFlag | flag optional flag (flag.enabled == false ⇒ none) |
| const DrumGlyph * | glyphs fixed glyphs (decimal point etc.); nullptr if none |
| float | groupGapMm extra gap at group boundaries, mm (0 if ungrouped) |
| uint8_t | groupSize digits per group for groupGap insertion (0 = no grouping) |
| float | interDigitGapMm gap between adjacent cells, mm |
| uint8_t | nDigits total digit columns in the combined number (1..6) |
| uint8_t | nGlyphs element count of glyphs __ |
| uint8_t | nSources element count of sources __ |
| DrumScroll | scroll EASE_ONLY or SNAP_SETTLE. |
| float | snapThreshold |target−pos| (digit units) above which SNAP_SETTLE teleports |
| const DrumSource * | sources array of digit sources |
Detailed Description
Note:
All spatial fields are mm; DrumDisplay converts to px at configure() from the panel's getDisplayWidth()/getDisplayHeight(). digitWidthMm / digitHeightMm are the drum-window aperture. If the laid-out row is wider than the panel, auto-fit shrinks the pitch to the pixel width.
Public Attributes Documentation
variable digitHeightMm
digit cell (roll window) height, mm
float OpenSkyhawk::DrumReadout::digitHeightMm;
variable digitWidthMm
digit cell (window aperture) width, mm
float OpenSkyhawk::DrumReadout::digitWidthMm;
variable flag
optional flag (flag.enabled == false ⇒ none)
DrumFlag OpenSkyhawk::DrumReadout::flag;
variable glyphs
fixed glyphs (decimal point etc.); nullptr if none
const DrumGlyph* OpenSkyhawk::DrumReadout::glyphs;
variable groupGapMm
extra gap at group boundaries, mm (0 if ungrouped)
float OpenSkyhawk::DrumReadout::groupGapMm;
variable groupSize
digits per group for groupGap insertion (0 = no grouping)
uint8_t OpenSkyhawk::DrumReadout::groupSize;
variable interDigitGapMm
gap between adjacent cells, mm
float OpenSkyhawk::DrumReadout::interDigitGapMm;
variable nDigits
total digit columns in the combined number (1..6)
uint8_t OpenSkyhawk::DrumReadout::nDigits;
variable nGlyphs
element count of glyphs __
uint8_t OpenSkyhawk::DrumReadout::nGlyphs;
variable nSources
element count of sources __
uint8_t OpenSkyhawk::DrumReadout::nSources;
variable scroll
EASE_ONLY or SNAP_SETTLE.
DrumScroll OpenSkyhawk::DrumReadout::scroll;
variable snapThreshold
|target−pos| (digit units) above which SNAP_SETTLE teleports
float OpenSkyhawk::DrumReadout::snapThreshold;
variable sources
array of digit sources
const DrumSource* OpenSkyhawk::DrumReadout::sources;
The documentation for this class was generated from the following file Firmware/Libraries/DrumDisplay/DrumDisplay.h