Show a grey ring behind black filament gauges so they stay visible.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1531,7 +1531,7 @@ script:
|
||||
data.trays.push_back({"B2", id(prints_charming_tray_5_type).state, id(prints_charming_tray_5_color).state, id(prints_charming_tray_5_active).state});
|
||||
data.trays.push_back({"B3", id(prints_charming_tray_6_type).state, id(prints_charming_tray_6_color).state, id(prints_charming_tray_6_active).state});
|
||||
data.trays.push_back({"B4", id(prints_charming_tray_7_type).state, id(prints_charming_tray_7_color).state, id(prints_charming_tray_7_active).state});
|
||||
bambu_display::render_overview(data, {id(prints_charming_overview_arc), id(prints_charming_overview_value), id(prints_charming_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(prints_charming_overview_arc), id(prints_charming_overview_value), id(prints_charming_overview_finish), id(prints_charming_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1565,7 +1565,7 @@ script:
|
||||
if (clock.is_valid() && seconds_left >= 0)
|
||||
data.finish_time = esphome::ESPTime::from_epoch_local(clock.timestamp + seconds_left).strftime("%H:%M");
|
||||
data.trays.push_back({"EXT", id(polly_pocket_tray_0_type).state, id(polly_pocket_tray_0_color).state, id(polly_pocket_tray_0_active).state});
|
||||
bambu_display::render_overview(data, {id(polly_pocket_overview_arc), id(polly_pocket_overview_value), id(polly_pocket_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(polly_pocket_overview_arc), id(polly_pocket_overview_value), id(polly_pocket_overview_finish), id(polly_pocket_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1602,7 +1602,7 @@ script:
|
||||
data.trays.push_back({"A2", id(ds_turd_flinger_tray_1_type).state, id(ds_turd_flinger_tray_1_color).state, id(ds_turd_flinger_tray_1_active).state});
|
||||
data.trays.push_back({"A3", id(ds_turd_flinger_tray_2_type).state, id(ds_turd_flinger_tray_2_color).state, id(ds_turd_flinger_tray_2_active).state});
|
||||
data.trays.push_back({"A4", id(ds_turd_flinger_tray_3_type).state, id(ds_turd_flinger_tray_3_color).state, id(ds_turd_flinger_tray_3_active).state});
|
||||
bambu_display::render_overview(data, {id(ds_turd_flinger_overview_arc), id(ds_turd_flinger_overview_value), id(ds_turd_flinger_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(ds_turd_flinger_overview_arc), id(ds_turd_flinger_overview_value), id(ds_turd_flinger_overview_finish), id(ds_turd_flinger_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1639,7 +1639,7 @@ script:
|
||||
data.trays.push_back({"A2", id(jordyns_layer_slayer_tray_1_type).state, id(jordyns_layer_slayer_tray_1_color).state, id(jordyns_layer_slayer_tray_1_active).state});
|
||||
data.trays.push_back({"A3", id(jordyns_layer_slayer_tray_2_type).state, id(jordyns_layer_slayer_tray_2_color).state, id(jordyns_layer_slayer_tray_2_active).state});
|
||||
data.trays.push_back({"A4", id(jordyns_layer_slayer_tray_3_type).state, id(jordyns_layer_slayer_tray_3_color).state, id(jordyns_layer_slayer_tray_3_active).state});
|
||||
bambu_display::render_overview(data, {id(jordyns_layer_slayer_overview_arc), id(jordyns_layer_slayer_overview_value), id(jordyns_layer_slayer_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(jordyns_layer_slayer_overview_arc), id(jordyns_layer_slayer_overview_value), id(jordyns_layer_slayer_overview_finish), id(jordyns_layer_slayer_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1686,7 +1686,7 @@ script:
|
||||
data.trays.push_back({"B2", id(constipation_orion_tray_5_type).state, id(constipation_orion_tray_5_color).state, id(constipation_orion_tray_5_active).state});
|
||||
data.trays.push_back({"B3", id(constipation_orion_tray_6_type).state, id(constipation_orion_tray_6_color).state, id(constipation_orion_tray_6_active).state});
|
||||
data.trays.push_back({"B4", id(constipation_orion_tray_7_type).state, id(constipation_orion_tray_7_color).state, id(constipation_orion_tray_7_active).state});
|
||||
bambu_display::render_overview(data, {id(constipation_orion_overview_arc), id(constipation_orion_overview_value), id(constipation_orion_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(constipation_orion_overview_arc), id(constipation_orion_overview_value), id(constipation_orion_overview_finish), id(constipation_orion_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1716,7 +1716,7 @@ script:
|
||||
const auto clock = id(ha_time).now();
|
||||
if (clock.is_valid() && seconds_left >= 0)
|
||||
data.finish_time = esphome::ESPTime::from_epoch_local(clock.timestamp + seconds_left).strftime("%H:%M");
|
||||
bambu_display::render_overview(data, {id(centauri_carbon_overview_arc), id(centauri_carbon_overview_value), id(centauri_carbon_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(centauri_carbon_overview_arc), id(centauri_carbon_overview_value), id(centauri_carbon_overview_finish), id(centauri_carbon_overview_ring)});
|
||||
}
|
||||
{
|
||||
bambu_display::Snapshot data;
|
||||
@@ -1742,7 +1742,7 @@ script:
|
||||
const auto clock = id(ha_time).now();
|
||||
if (clock.is_valid() && seconds_left >= 0)
|
||||
data.finish_time = esphome::ESPTime::from_epoch_local(clock.timestamp + seconds_left).strftime("%H:%M");
|
||||
bambu_display::render_overview(data, {id(saturn_overview_arc), id(saturn_overview_value), id(saturn_overview_finish)});
|
||||
bambu_display::render_overview(data, {id(saturn_overview_arc), id(saturn_overview_value), id(saturn_overview_finish), id(saturn_overview_ring)});
|
||||
}
|
||||
{
|
||||
const auto clock = id(ha_time).now();
|
||||
@@ -1841,6 +1841,28 @@ lvgl:
|
||||
gesture_bubble: true
|
||||
id: fleet_clock
|
||||
text_align: RIGHT
|
||||
- arc:
|
||||
id: prints_charming_overview_ring
|
||||
x: 23
|
||||
y: 42
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: prints_charming_page
|
||||
- arc:
|
||||
id: prints_charming_overview_arc
|
||||
x: 27
|
||||
@@ -1921,6 +1943,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: prints_charming_page
|
||||
- arc:
|
||||
id: polly_pocket_overview_ring
|
||||
x: 223
|
||||
y: 42
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: polly_pocket_page
|
||||
- arc:
|
||||
id: polly_pocket_overview_arc
|
||||
x: 227
|
||||
@@ -2001,6 +2045,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: polly_pocket_page
|
||||
- arc:
|
||||
id: ds_turd_flinger_overview_ring
|
||||
x: 423
|
||||
y: 42
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: ds_turd_flinger_page
|
||||
- arc:
|
||||
id: ds_turd_flinger_overview_arc
|
||||
x: 427
|
||||
@@ -2081,6 +2147,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: ds_turd_flinger_page
|
||||
- arc:
|
||||
id: jordyns_layer_slayer_overview_ring
|
||||
x: 623
|
||||
y: 42
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: jordyns_layer_slayer_page
|
||||
- arc:
|
||||
id: jordyns_layer_slayer_overview_arc
|
||||
x: 627
|
||||
@@ -2161,6 +2249,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: jordyns_layer_slayer_page
|
||||
- arc:
|
||||
id: constipation_orion_overview_ring
|
||||
x: 123
|
||||
y: 235
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: constipation_orion_page
|
||||
- arc:
|
||||
id: constipation_orion_overview_arc
|
||||
x: 127
|
||||
@@ -2241,6 +2351,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: constipation_orion_page
|
||||
- arc:
|
||||
id: centauri_carbon_overview_ring
|
||||
x: 323
|
||||
y: 235
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: centauri_carbon_page
|
||||
- arc:
|
||||
id: centauri_carbon_overview_arc
|
||||
x: 327
|
||||
@@ -2321,6 +2453,28 @@ lvgl:
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: centauri_carbon_page
|
||||
- arc:
|
||||
id: saturn_overview_ring
|
||||
x: 523
|
||||
y: 235
|
||||
width: 153
|
||||
height: 153
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
value: 100
|
||||
start_angle: 135
|
||||
end_angle: 45
|
||||
arc_width: 20
|
||||
arc_color: 7239294
|
||||
indicator:
|
||||
arc_color: 7239294
|
||||
arc_width: 20
|
||||
adjustable: false
|
||||
hidden: true
|
||||
gesture_bubble: true
|
||||
clickable: true
|
||||
on_click:
|
||||
- lvgl.page.show: saturn_page
|
||||
- arc:
|
||||
id: saturn_overview_arc
|
||||
x: 527
|
||||
|
||||
Reference in New Issue
Block a user