diff options
author | Florian Heilmann <Florian.Heilmann@gmx.net> | 2020-06-07 16:25:19 +0000 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2020-06-08 16:40:45 -0400 |
commit | 3dcac1308e6fe132487c45824d142609f2571df6 (patch) | |
tree | 29a45f14e29ce3361830853a7808125a05e18d72 /config/example-extras.cfg | |
parent | 722770f62ff493b5ecef553bf36be84de3c23907 (diff) | |
download | kutter-3dcac1308e6fe132487c45824d142609f2571df6.tar.gz kutter-3dcac1308e6fe132487c45824d142609f2571df6.tar.xz kutter-3dcac1308e6fe132487c45824d142609f2571df6.zip |
display: Move glyph definition to printer config
This commit allows to modify the icons (or glyphs) in the displays that
support it. Existing icons can be modified and new icons can be added via
a [display_glyph] section in the config.
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r-- | config/example-extras.cfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index ca36c969..59c2c82a 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1903,6 +1903,17 @@ # template. This field is evaluated using command templates (see # docs/Command_Templates.md). This parameter must be provided. +# Display a custom glyph on displays that support it. The given name +# will be assigned the given display data which can then be referenced +# in the display templates by their name surrounded by two "tilde" symbols +# i.e. ~my_display_glyph~ +#[display_glyph my_display_glyph] +#data: +# The display data, stored as 16 lines consisting of 16 bits (1 per pixel) +# e.g. 1111111111111111 to display a solid horizontal line. Put each display +# line into a separate config line. The glyph must consist of exactly 16 +# lines with 16 bits each. + # If a primary [display] section has been defined in printer.cfg as shown # above it is possible to define multiple auxilary displays. Note that # auxilary displays do not currently support menu functionality, thus they |