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

commit745b2b23efc99da5c550c4d99ad3d80e16304532
parent379745e6fb
authorLucas Galante <[email protected]>
date2026-09-06 12:03
refactor: ti_widgets.rs -> gallery_widgets.rs

The module is named after the app again now that the app is cce-gallery.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 README.md                                 | 2 +-
 src/{ti_widgets.rs => gallery_widgets.rs} | 0
 src/main.rs                               | 4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 4cc1820..c446c39 100644
--- a/README.md
+++ b/README.md
@@ -109,7 +109,7 @@ for example).
   layout tables, visibility filters and dispatch loops; child windows use the
   five-slot `ChildSlots`. `demo_positions` and `child_positions` are the
   layout tables.
-- `src/ti_widgets.rs` — gallery-local widgets: `ControlPanel` (scroll chrome
+- `src/gallery_widgets.rs` — gallery-local widgets: `ControlPanel` (scroll chrome
   for the Windows page's option column), and lookalikes of the retired toolkit
   `Plate`, `SectionContainer` and `Backplate` kept as exhibits.
 
diff --git a/src/ti_widgets.rs b/src/gallery_widgets.rs
similarity index 100%
rename from src/ti_widgets.rs
rename to src/gallery_widgets.rs
diff --git a/src/main.rs b/src/main.rs
index 164be9f..91dfd19 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,8 +3,8 @@ use cce_ui::widget::{
     Toggle, WidgetHost, Trackpad, hover_animation, TextBox, CornerRadii, MenuBar, 
     Ramp, RampKey, ColorRamp, MouseButton, ElementState, Key, NamedKey, KeyEvent, MouseScrollDelta
 };
-mod ti_widgets;
-use ti_widgets::{Backplate, ControlPanel, Plate, SectionContainer};
+mod gallery_widgets;
+use gallery_widgets::{Backplate, ControlPanel, Plate, SectionContainer};
 use cce_ui::widget::Adapted;
 use cce_ui::engine::{Vertex, quad_vertices, LogicalSize, LogicalPosition};
 use wayland_client::QueueHandle;