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

commit6461bc9a71b20d36134e3bdcf6427f0c7f8a5c9c
parenta2aa7ecfd2
authorLucas Galante <lsgalante12@gmail.com>
date2026-10-08 15:18
refactor: import WidgetHostExt

WidgetHost's one-line forwards moved to cce_ui::widget::WidgetHostExt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

 src/main.rs | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index ba20162..e294ce2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,12 +1,5 @@
 use cce_ui::widget::Owned;
-use cce_ui::widget::{
-    Button, Checkbox, ContentBg, Dropdown, Label, ProgressBar, RangeSlider, Slider, Spinbox, StatusBar,
-    Toggle, WidgetHost, Trackpad, hover_animation, TextBox, MenuBar, Group,
-    Ramp, RampKey, ColorRamp, MouseButton, ElementState, Key, NamedKey, KeyEvent, MouseScrollDelta,
-    ColorSelector, FontSelector, KeybindRecorder, ButtonStrip, Float3, UsageBar, StatusDot, DotStatus,
-    InfoBox, InteractiveListItem, Breadcrumb, TreeList, BevelPreview, RampPreview, Separator, Splitter, Paginator,
-    VerticalLayout, ColumnsLayout, GridLayout, AdaptiveGridLayout, MosaicLayout, ReverseMosaicLayout, OverlayLayout, ScrollBox,
-};
+use cce_ui::widget::{Button, Checkbox, ContentBg, Dropdown, Label, ProgressBar, RangeSlider, Slider, Spinbox, StatusBar, Toggle, WidgetHost, Trackpad, hover_animation, TextBox, MenuBar, Group, Ramp, RampKey, ColorRamp, MouseButton, ElementState, Key, NamedKey, KeyEvent, MouseScrollDelta, ColorSelector, FontSelector, KeybindRecorder, ButtonStrip, Float3, UsageBar, StatusDot, DotStatus, InfoBox, InteractiveListItem, Breadcrumb, TreeList, BevelPreview, RampPreview, Separator, Splitter, Paginator, VerticalLayout, ColumnsLayout, GridLayout, AdaptiveGridLayout, MosaicLayout, ReverseMosaicLayout, OverlayLayout, ScrollBox, WidgetHostExt};
 mod gallery_widgets;
 use gallery_widgets::{RootPlate, Plate};
 use cce_ui::widget::{Adapted, LayoutConstraints, Point};