From 4eb039bc272727aebb99e90aaf0ecab2455840ba Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Sun, 9 May 2021 10:30:12 -0500 Subject: [PATCH] glyphs: Add box and filled box We can use these in buttons as a fast indicator if a particular setting is enabled/disabled. --- g13gui/bitwidgets/glyph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/g13gui/bitwidgets/glyph.py b/g13gui/bitwidgets/glyph.py index af8b891..304dbe8 100644 --- a/g13gui/bitwidgets/glyph.py +++ b/g13gui/bitwidgets/glyph.py @@ -13,6 +13,8 @@ class Glyphs(enum.Enum): CHEVRON_RIGHT = [(4, 2), (2, 0), (2, 4), (4, 2), (2, 2)] WRENCH = [(0, 4), (0, 3), (2, 1), (2, 0), (3, 0), (4, 1), (4, 2), (3, 2), (1, 4)] + BOX = [(1, 1), (3, 1), (3, 3), (1, 3), (1, 1)] + FILLED_BOX = [(1, 1), (3, 1), (3, 3), (1, 3), (1, 1), (2, 2)] BLANK = [] BOUNDS = (5, 5)