## Goal Change to let Popup elements open into a window, to make sure the Popup windows, panels, menus render top than the WebView. Then we can embed wry or other webview into GPUI. https://github.com/huacnlee/gpui-component/assets/5518/ce005456-088f-4298-bf5d-2642cf96faff ---- This is also like other software, they are also used in child window to render the menus, popups. - https://github.com/huacnlee/gpui-component/pull/2 - https://github.com/zed-industries/zed/pull/13730 ## Todos - [x] Multiple display window position. - [x] Windows transparent background. (No transparent, just render a correct window border) - [x] Disable window resize on Windows. - [ ] Handle Menu action. - [x] Provided `popover` or `window` two mode to uses.
27 lines
490 B
TOML
27 lines
490 B
TOML
[package]
|
|
name = "ui"
|
|
description = "UI components for the GPUI"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
gpui.workspace = true
|
|
anyhow = "1"
|
|
log = "0.4"
|
|
serde = "1.0.203"
|
|
serde_json = "1"
|
|
wry = "0"
|
|
smallvec = "1.13.2"
|
|
windows = "0.57.0"
|
|
unicode-segmentation = "1.11.0"
|
|
image = "0.25.1"
|
|
resvg = { version = "0.41.0", default-features = false }
|
|
usvg = { version = "0.41.0", default-features = false }
|
|
taffy = "0.4.3"
|
|
|
|
[lints]
|
|
workspace = true
|