aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/display/icons.py
diff options
context:
space:
mode:
authorFlorian Heilmann <Florian.Heilmann@gmx.net>2020-06-07 16:25:19 +0000
committerKevinOConnor <kevin@koconnor.net>2020-06-08 16:40:45 -0400
commit3dcac1308e6fe132487c45824d142609f2571df6 (patch)
tree29a45f14e29ce3361830853a7808125a05e18d72 /klippy/extras/display/icons.py
parent722770f62ff493b5ecef553bf36be84de3c23907 (diff)
downloadkutter-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 'klippy/extras/display/icons.py')
-rw-r--r--klippy/extras/display/icons.py146
1 files changed, 0 insertions, 146 deletions
diff --git a/klippy/extras/display/icons.py b/klippy/extras/display/icons.py
deleted file mode 100644
index 8f91a2b1..00000000
--- a/klippy/extras/display/icons.py
+++ /dev/null
@@ -1,146 +0,0 @@
-# Common LCD icons
-#
-# Copyright (C) 2018 Aleph Objects, Inc <marcio@alephobjects.com>
-# Copyright (C) 2018 Alexander Fadeev <alfsoft@gmail.com>
-#
-# This file may be distributed under the terms of the GNU GPLv3 license.
-
-extruder_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0011111111111100,
- 0b0000011111100000,
- 0b0011111111111100,
- 0b0000011111100000,
- 0b0011111111111100,
- 0b0000000000000000,
- 0b0000111111110000,
- 0b0000111111010000,
- 0b0000111111110000,
- 0b0000000000000000,
- 0b0000001111000000,
- 0b0000000110000000,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-bed_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0001111111110000,
- 0b0010000000001000,
- 0b0111111111111100,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-bed_heat1_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0010000100001000,
- 0b0100001000010000,
- 0b0010000100001000,
- 0b0001000010000100,
- 0b0010000100001000,
- 0b0100001000010000,
- 0b0010000100001000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0001111111110000,
- 0b0010000000001000,
- 0b0111111111111100,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-bed_heat2_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0010000100001000,
- 0b0001000010000100,
- 0b0010000100001000,
- 0b0100001000010000,
- 0b0010000100001000,
- 0b0001000010000100,
- 0b0010000100001000,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0001111111110000,
- 0b0010000000001000,
- 0b0111111111111100,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-fan1_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000111000000000,
- 0b0001111000011000,
- 0b0001111000111100,
- 0b0000111001111100,
- 0b0000010000111100,
- 0b0000000110000000,
- 0b0000000110000000,
- 0b0011110000100000,
- 0b0011111001110000,
- 0b0011110001111000,
- 0b0001100001111000,
- 0b0000000001110000,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-fan2_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000111100000,
- 0b0000000111100000,
- 0b0000000111000000,
- 0b0011000110000000,
- 0b0011100000000000,
- 0b0011110110111100,
- 0b0011110110111100,
- 0b0000000000011100,
- 0b0000000110001100,
- 0b0000001110000000,
- 0b0000011110000000,
- 0b0000011110000000,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-feedrate_icon = [
- 0b0000000000000000,
- 0b0000000000000000,
- 0b1110111011101100,
- 0b1000100010001010,
- 0b1100110011001010,
- 0b1000100010001010,
- 0b1000111011101100,
- 0b0000000000000000,
- 0b1100010011101110,
- 0b1010101001001000,
- 0b1100111001001100,
- 0b1010101001001000,
- 0b1010101001001110,
- 0b0000000000000000,
- 0b0000000000000000,
- 0b0000000000000000
-]
-
-Icons16x16 = {
- 'extruder': extruder_icon,
- 'bed': bed_icon, 'bed_heat1': bed_heat1_icon, 'bed_heat2': bed_heat2_icon,
- 'fan': fan1_icon, 'fan1': fan1_icon, 'fan2': fan2_icon,
- 'feedrate': feedrate_icon,
-}