Class for building "auto pin" config, to be passed to DumbDisplay::configAutoPin().
More...
#include <_dd_misc.h>
Class for building "auto pin" config, to be passed to DumbDisplay::configAutoPin().
- Since
- v0.9.7-r2
◆ DDAutoPinConfig()
DDAutoPinConfig::DDAutoPinConfig |
( |
char |
dir, |
|
|
int |
nestedDepth = 5 |
|
) |
| |
|
inline |
- Parameters
-
dir | directory of layers at the top level; can be 'H' for horizontal, 'V' for vertical and 'S' for stacked |
nestedDepth | maximum depth of nesting; default is 5 |
◆ addRemainingGroup()
add the layout direction for the layers not included
- Parameters
-
◆ addSpacer()
add spacer, which is a placeholder layer with the specified size
- Parameters
-
width | width of the placeholder layer |
height | height of the placeholder layer |
◆ beginGroup()
begin a layer group, creating a new level of nesting
- Parameters
-
dir | directory of layers at the new level; can be 'H' for horizontal, 'V' for vertical and 'S' for stacked |
◆ beginPaddedGroup()
DDAutoPinConfig & DDAutoPinConfig::beginPaddedGroup |
( |
char |
dir, |
|
|
int |
left, |
|
|
int |
top, |
|
|
int |
right, |
|
|
int |
bottom |
|
) |
| |
|
inline |
begin a layer group, with specified padding
- Parameters
-
dir | directory of layers at the new level; can be 'H' for horizontal, 'V' for vertical and 'S' for stacked |
left | left padding |
top | top padding
|
right | right padding |
bottom | bottom padding |