klipper-dgus/klippy/extras/display/icons.py

146 lines
3.1 KiB
Python
Raw Normal View History

# Common LCD icons
#
# Copyright (C) 2018 Aleph Objects, Inc <marcio@alephobjects.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,
0b0000000000110000,
0b0000000000000000,
0b0000000000000000
]
fan2_icon = [
0b0000000000000000,
0b0000000000000000,
0b0000000111100000,
0b0000000111100000,
0b0000000111000000,
0b0011000110000000,
0b0011100000000000,
0b0011110110111100,
0b0011110110111100,
0b0000000000011100,
0b0000000110001100,
0b0000001110000000,
0b0000011110000000,
0b0000011110000000,
0b0000000000000000,
0b0000000000000000
]
feedrate_icon = [
0b0000000000000000,
0b0111111000000000,
0b0100000000000000,
0b0100000000000000,
0b0100000000000000,
0b0111111011111000,
0b0100000010000100,
0b0100000010000100,
0b0100000010000100,
0b0100000011111000,
0b0000000010001000,
0b0000000010000100,
0b0000000010000100,
0b0000000010000010,
0b0000000000000000,
0b0000000000000000
]
Icons16x16 = {
'extruder': extruder_icon,
'bed': bed_icon, 'bed_heat1': bed_heat1_icon, 'bed_heat2': bed_heat2_icon,
'fan1': fan1_icon, 'fan2': fan2_icon,
'feedrate': feedrate_icon,
}