Skip to main content

Module ui

Module ui 

Source
Expand description

Desktop GUI for Oxide using egui and eframe.

This module implements a multi-tab browser shell: toolbar, canvas renderer, console panel, bookmarks sidebar, and an about dialog. The canvas draws guest WebAssembly output—rectangles, circles, text, lines, and images—via the host’s draw command stream. Interactive widgets (buttons, checkboxes, sliders, text inputs) are issued by the guest and rendered each frame. Hyperlinks drawn on the canvas are hit-tested so clicks trigger navigation.

Shortcuts: Cmd+T new tab, Cmd+W close tab, Ctrl+Tab next tab, Cmd+D toggle bookmark for the current page, Cmd+B toggle the bookmarks panel.

Structs§

OxideApp
Main [eframe::App] implementation: owns tab state, bookmarks, and browser chrome (navigation, panels, and dialogs) for the Oxide desktop shell.