Edit esp-reterminal-e1001.yaml
This commit is contained in:
@@ -760,12 +760,12 @@ display:
|
||||
// Big job icon in the left quarter of the tile.
|
||||
draw_job_icon(icon_type, x + 6, y + 41, foreground, background);
|
||||
|
||||
// Two-line job title and status, left-aligned in the right 3/4.
|
||||
// Two-line job title and status in the right 3/4.
|
||||
const int text_x = x + 71;
|
||||
|
||||
it.printf(
|
||||
text_x,
|
||||
y + 40,
|
||||
y + 30,
|
||||
id(font_job_title),
|
||||
foreground,
|
||||
TextAlign::CENTER_LEFT,
|
||||
@@ -775,7 +775,7 @@ display:
|
||||
|
||||
it.printf(
|
||||
text_x,
|
||||
y + 70,
|
||||
y + 56,
|
||||
id(font_job_title),
|
||||
foreground,
|
||||
TextAlign::CENTER_LEFT,
|
||||
@@ -785,7 +785,7 @@ display:
|
||||
|
||||
it.printf(
|
||||
text_x,
|
||||
y + 96,
|
||||
y + 88,
|
||||
id(font_job_status),
|
||||
foreground,
|
||||
TextAlign::CENTER_LEFT,
|
||||
@@ -795,11 +795,11 @@ display:
|
||||
|
||||
if (!status_sub.empty()) {
|
||||
it.printf(
|
||||
text_x,
|
||||
y + 120,
|
||||
x + w - 6,
|
||||
y + 112,
|
||||
id(font_job_status_sub),
|
||||
foreground,
|
||||
TextAlign::CENTER_LEFT,
|
||||
TextAlign::RIGHT,
|
||||
"%s",
|
||||
status_sub.c_str()
|
||||
);
|
||||
@@ -869,15 +869,15 @@ display:
|
||||
);
|
||||
|
||||
draw_job(
|
||||
536, 204, 4,
|
||||
"Water TV", "Pot Plant",
|
||||
id(job_water_tv_pot_plant_state).state,
|
||||
id(job_water_tv_pot_plant_due_ts).state,
|
||||
id(job_water_tv_pot_plant_completed_time).state,
|
||||
id(job_water_tv_pot_plant_elapsed).state
|
||||
536, 204, 5,
|
||||
"Empty the", "Dryer",
|
||||
id(job_empty_dryer_state).state,
|
||||
id(job_empty_dryer_due_ts).state,
|
||||
id(job_empty_dryer_completed_time).state,
|
||||
id(job_empty_dryer_elapsed).state
|
||||
);
|
||||
|
||||
// Row 3: water table plant, dryer, washing machine.
|
||||
// Row 3: water table plant, water TV pot plant, washing machine.
|
||||
draw_job(
|
||||
8, 342, 4,
|
||||
"Water Table", "Pot Plant",
|
||||
@@ -888,8 +888,8 @@ display:
|
||||
);
|
||||
|
||||
draw_job(
|
||||
272, 342, 5,
|
||||
"Empty the", "Dryer",
|
||||
272, 342, 4,
|
||||
"Water TV", "Pot Plant",
|
||||
id(job_empty_dryer_state).state,
|
||||
id(job_empty_dryer_due_ts).state,
|
||||
id(job_empty_dryer_completed_time).state,
|
||||
|
||||
Reference in New Issue
Block a user