Skip to content

Commit e0bdf19

Browse files
authored
Merge pull request #1709 from lesamouraipourpre/improved-thermal-camera
PyGamer Improved Thermal Camera: Update for CP7 Guide changed
2 parents 581588f + 3f0b18c commit e0bdf19

File tree

1 file changed

+12
-12
lines changed
  • PyGamer_Improved_Thermal_Camera

1 file changed

+12
-12
lines changed

PyGamer_Improved_Thermal_Camera/code.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -302,62 +302,62 @@ def move_buttons(joystick=False): # Read position buttons and joystick
302302
image_group.append(cell)
303303

304304
# Define labels and values
305-
status_label = Label(font_0, text="", color=None, max_glyphs=6)
305+
status_label = Label(font_0, text="", color=None)
306306
status_label.anchor_point = (0.5, 0.5)
307307
status_label.anchored_position = ((WIDTH // 2) + (GRID_X_OFFSET // 2), HEIGHT // 2)
308308
image_group.append(status_label) # image_group[225]
309309

310-
alarm_label = Label(font_0, text="alm", color=WHITE, max_glyphs=3)
310+
alarm_label = Label(font_0, text="alm", color=WHITE)
311311
alarm_label.anchor_point = (0, 0)
312312
alarm_label.anchored_position = (1, 16)
313313
image_group.append(alarm_label) # image_group[226]
314314

315-
max_label = Label(font_0, text="max", color=RED, max_glyphs=3)
315+
max_label = Label(font_0, text="max", color=RED)
316316
max_label.anchor_point = (0, 0)
317317
max_label.anchored_position = (1, 46)
318318
image_group.append(max_label) # image_group[227]
319319

320-
min_label = Label(font_0, text="min", color=CYAN, max_glyphs=3)
320+
min_label = Label(font_0, text="min", color=CYAN)
321321
min_label.anchor_point = (0, 0)
322322
min_label.anchored_position = (1, 106)
323323
image_group.append(min_label) # image_group[228]
324324

325-
ave_label = Label(font_0, text="ave", color=YELLOW, max_glyphs=3)
325+
ave_label = Label(font_0, text="ave", color=YELLOW)
326326
ave_label.anchor_point = (0, 0)
327327
ave_label.anchored_position = (1, 76)
328328
image_group.append(ave_label) # image_group[229]
329329

330-
alarm_value = Label(font_0, text=str(ALARM_F), color=WHITE, max_glyphs=3)
330+
alarm_value = Label(font_0, text=str(ALARM_F), color=WHITE)
331331
alarm_value.anchor_point = (0, 0)
332332
alarm_value.anchored_position = (1, 5)
333333
image_group.append(alarm_value) # image_group[230]
334334

335-
max_value = Label(font_0, text=str(MAX_RANGE_F), color=RED, max_glyphs=3)
335+
max_value = Label(font_0, text=str(MAX_RANGE_F), color=RED)
336336
max_value.anchor_point = (0, 0)
337337
max_value.anchored_position = (1, 35)
338338
image_group.append(max_value) # image_group[231]
339339

340-
min_value = Label(font_0, text=str(MIN_RANGE_F), color=CYAN, max_glyphs=3)
340+
min_value = Label(font_0, text=str(MIN_RANGE_F), color=CYAN)
341341
min_value.anchor_point = (0, 0)
342342
min_value.anchored_position = (1, 95)
343343
image_group.append(min_value) # image_group[232]
344344

345-
ave_value = Label(font_0, text="---", color=YELLOW, max_glyphs=3)
345+
ave_value = Label(font_0, text="---", color=YELLOW)
346346
ave_value.anchor_point = (0, 0)
347347
ave_value.anchored_position = (1, 65)
348348
image_group.append(ave_value) # image_group[233]
349349

350-
min_histo = Label(font_0, text="", color=None, max_glyphs=3)
350+
min_histo = Label(font_0, text="", color=None)
351351
min_histo.anchor_point = (0, 0.5)
352352
min_histo.anchored_position = (GRID_X_OFFSET, 121)
353353
image_group.append(min_histo) # image_group[234]
354354

355-
max_histo = Label(font_0, text="", color=None, max_glyphs=3)
355+
max_histo = Label(font_0, text="", color=None)
356356
max_histo.anchor_point = (1, 0.5)
357357
max_histo.anchored_position = (WIDTH - 2, 121)
358358
image_group.append(max_histo) # image_group[235]
359359

360-
range_histo = Label(font_0, text="-RANGE-", color=None, max_glyphs=7)
360+
range_histo = Label(font_0, text="-RANGE-", color=None)
361361
range_histo.anchor_point = (0.5, 0.5)
362362
range_histo.anchored_position = ((WIDTH // 2) + (GRID_X_OFFSET // 2), 121)
363363
image_group.append(range_histo) # image_group[236]

0 commit comments

Comments
 (0)