klipper/klippy/extras/display/icons.py

147 lines
3.2 KiB
Python

# 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,
'fan1': fan1_icon, 'fan2': fan2_icon,
'feedrate': feedrate_icon,
}