Skip to content

Commit b26fb43

Browse files
committed
Added loading image
1 parent 449f8e4 commit b26fb43

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CPB_AMS_Gizmo_BLE/cpb_ams_gizmo_ble.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,12 @@ def set_status(label, action_text, player):
8282

8383
# Draw the text fields
8484
print("Loading Font Glyphs...")
85+
group.append(wrap_in_tilegrid(open("/graphic_tfts_ams_loading.bmp", "rb")))
8586
title_label = make_label("None", 12, 30, TEXT_COLOR, font="/fonts/Arial-Bold-18.bdf")
8687
artist_label = make_label("None", 12, 70, TEXT_COLOR, font="/fonts/Arial-16.bdf")
8788
album_label = make_label("None", 12, 184, TEXT_COLOR, font="/fonts/Arial-16.bdf")
8889
status_label = make_label("None", 80, 220, STATUS_COLOR, font="/fonts/Arial-16.bdf")
90+
group.pop()
8991
group.append(make_background(240, 240, BACKGROUND_COLOR))
9092
border = Rect(4, 4, 232, 200, outline=BORDER_COLOR, stroke=2)
9193
group.append(title_label)
113 KB
Binary file not shown.

0 commit comments

Comments
 (0)