Skip to content

Commit

Permalink
Set background color for printing and remaining time values on print …
Browse files Browse the repository at this point in the history
…menu
  • Loading branch information
jpcurti committed May 14, 2024
1 parent 13d1ea3 commit 5383ee1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/e3v3se_display/display_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -2479,7 +2479,7 @@ def Draw_Print_ProgressBar(self, Percentrecord=None):
def Draw_Print_ProgressElapsed(self):
elapsed = self.pd.duration() # print timer
self.lcd.draw_int_value(
False,
True,
True,
1,
self.lcd.font_8x8,
Expand All @@ -2491,7 +2491,7 @@ def Draw_Print_ProgressElapsed(self):
elapsed / 3600,
)
self.lcd.draw_string(
False,
True,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
Expand All @@ -2500,7 +2500,7 @@ def Draw_Print_ProgressElapsed(self):
":",
)
self.lcd.draw_int_value(
False,
True,
True,
1,
self.lcd.font_8x8,
Expand All @@ -2517,7 +2517,7 @@ def Draw_Print_ProgressRemain(self):
if not remain_time:
return # time remaining is None during warmup.
self.lcd.draw_int_value(
False,
True,
True,
1,
self.lcd.font_8x8,
Expand All @@ -2529,7 +2529,7 @@ def Draw_Print_ProgressRemain(self):
remain_time / 3600,
)
self.lcd.draw_string(
False,
True,
self.lcd.font_8x8,
self.color_white,
self.color_background_black,
Expand All @@ -2538,7 +2538,7 @@ def Draw_Print_ProgressRemain(self):
":",
)
self.lcd.draw_int_value(
False,
True,
True,
1,
self.lcd.font_8x8,
Expand Down

0 comments on commit 5383ee1

Please sign in to comment.