orbtk v0.3.1-alpha4 Release Notes
-
- Switch structure to
Workspace
organized crates:- removed crates dir
- moved localization code to orbtk_core crate
- moved theming code to orbtk_core crate
- renamed orbtk_api to orbtk_core
- renamed render crate to orbtk_tinyskia
- renamed shell crate to orbtk_orbclient
- created toplevel workspace Crago.toml
tiny-skia
is integrated as 2D render engine- ๐ New
PasswordBox
widget - ๐ New
Pager
navigation widget - ๐ New
Clipboard
service - ๐ New
MasterDetail
navigation widget - ๐ Improved
TextBehavior
event handling- Copy Ctrl+C, Paste Ctrl+V, Cut Ctrl+X
- โ Remove
glupath
backend - ๐จ Refactor
on_changed
callback, add key parameter - Access RawWindowHandle from Context
- Adopt Themes
colors selection
via CSS-like functions - Create
Color
from HSV and HSL values - Create a
Color
by its CSS name - Gradient coordinates become relative to the path
- โ Add
gradients
defined by angle - Introduce optional
gradients
selection in themes - ๐ Improve
KeyboardHandler
to mark text- Shift + Left | Shift + Right
- ๐ Improve
MouseHandler
to select text via mouse (experimental) - Select all character on text input by mouse double click
- Replace String16 with std::string::String
- Raise
on_changed
callback also on shared widgets - Introduce Localization
- Custom theme names for types
- Brush, String, Thickness, f32, f64
- โ Add
focus_state
property to Window - โ Add
theme
property to Window - Rename
lost_focus_on_activation
tolose_focus_on_activation
- ๐ Fix
Grid layout
for "auto" width - โ Add thread safe
EventAdapter
- โ Add thread safe
MessageAdapter
andMessageReader
- Add
load_async
andsave_async
toSettings
service - โ Add
TextInputEvent
- โ Add
EnterEvent
andLeaveEvent
- โ Add
hover
property and selector state to all widgets - Add
on_enter
andon_leave
callback toMouseHandler
- ๐จ Refactor theming (cleanup default theme, introduce state order)
- ๐ Fix theming related bugs
- Register fonts on
Theme
struct - โก๏ธ Update OrbTks default themes
- โ Add redox theme
- โ Add
Brush
handling gradients (respecting angles, directions, color codes) - โ Add fluent design inspired theme (dark and light)
- โ Add fonts and icon sets specific to fluent design (Microsoft Segoe look)
- โ Add
message
example - โ Remove widgets example
- Replaces Columns and Rows structs with Blocks
- Set grid columns and rows also as string
- ๐จ Refactor grid layout code
- โ Add
message-handler
example - ๐ Support features flag in
showcase
example - โ Add new popup code (version 2: new placement and offset properties)
- โ Add
bundled
feature - ๐ Rename
resizeable
toresizable
- ๐ Fix thumb position not updating when window is resized
- Switch structure to