Crate ailloli_ui_widgets

Source
Expand description

Generic UI widget catalogue for Ailloli UI.

This crate implements the retained [ailloli_ui_runtime::Widget] trait for layout, controls, text, chrome, and overlays. It contains no app-specific screens (chat, IDE shells, etc.); those belong in the application crate.

§Modules

ModuleWidgets
layoutRow, Column, Container, ScrollView, Align, margin/padding
controlsButton, TextInput, Checkbox, Tabs, lists
textText, RichText, editable line helpers
primitivesIcon, rects, spacers
editorMulti-paragraph Editor with virtual scroll
chromeDefault title bar, resize/drag hit regions
overlayModals, tooltips, base+overlay scene helpers

Modules§

chrome
Window chrome widgets (title bar, resize, drag regions). Client window chrome: default title bar and hit-test regions for drag/resize.
controls
Interactive controls (button, text field, tabs, …). Interactive controls implementing the runtime Widget trait.
editor
Code editor view with rope buffer and IME. UI adapter for the Ailloli UI editor engine.
files
File-oriented widgets built from VFS snapshots. File-oriented widgets built on top of ailloli_ui_fs models.
layout
Flex layout and box model wrappers. Layout widgets: flex (Row/Column), Container, scroll, align, spacing.
overlay
Modal, tooltip, and layered scene helpers. Overlays: modals, tooltips, and z-ordered scene composition.
primitives
Low-level draw helpers (icon, rect, spacer). Primitive shapes and icons (direct DrawCmd helpers and Icon widget).
text
Static and rich text widgets. Text display and low-level editable line drawing helpers.

Macros§

impl_flex_builders
Implements FlexLayoutExt and consuming container-flex builders for a generic widget with a flex field.
impl_layout_builders
Implements LayoutExt and consuming size/flex-item builders for a generic widget with layout and flex_item fields.
impl_layout_builders_unit
Implements LayoutExt and consuming size/flex-item builders for a non-generic widget with layout and flex_item fields.