1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00
wezterm/wezterm-gui
Wez Furlong ab8c8dc6c9 gui: add UIItem concept
The idea here is to make it a bit easier to do hit detection for UI
elements; today we've been duplicating position math between the render
and the mouse movement handlers, with both pieces of code knowing the
location of the UI element.

UIItem allows the render phase to record the position, which allows
the mouse phase to be a more independent lookup against the registered
elements.

This makes it easier to add more UI elements in the future.
2021-08-15 07:46:06 -07:00
..
src gui: add UIItem concept 2021-08-15 07:46:06 -07:00
build.rs deps: windows 0.9 -> 0.11 2021-06-16 08:29:09 -07:00
Cargo.toml gui: add some randomness to gradients to avoid banding 2021-08-13 13:35:55 -07:00