git.lucas.co / cce-gallery
widget gallery and compositor test bench

commita4e35dd20b691522f3c6949c205e324e995f90b3
parentdb7a2b9693
authorLucas Galante <[email protected]>
date2026-07-04 21:47
Support rendering extra_arcs in test interface collect_vertices

 src/main.rs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main.rs b/src/main.rs
index d0c0812..16998fd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -902,6 +902,13 @@ cascades in cce."
             for (cx, cy, r, qc) in w.extra_circles() {
                 verts.extend(cce_ui::backend::window_runner::circle_vertices(cx, cy, r, sw, sh, qc, 16, [0.0, 0.0, -1.0]));
             }
+
+            // Render extra arcs
+            for (cx, cy, r, t, start, end, qc) in w.extra_arcs() {
+                cce_ui::backend::window_runner::push_arc_background_vertices(
+                    cx, cy, r, t, start, end, sw, sh, qc, 16, [0.0, 0.0, -1.0], &mut verts
+                );
+            }
             
             // Draw solid border if defined, or custom child border
             if self.is_child && i == 0 && self.border_enabled {