Add a libcosmic editor sample that uses the image renderer (WIP)
This commit is contained in:
parent
dbe223acba
commit
ed9a3b7840
4 changed files with 640 additions and 0 deletions
25
examples/editor-libcosmic-image/Cargo.toml
Normal file
25
examples/editor-libcosmic-image/Cargo.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[package]
|
||||
name = "editor-libcosmic-image"
|
||||
version = "0.1.0"
|
||||
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
cosmic-text = { path = "../../" }
|
||||
env_logger = "0.9"
|
||||
fontdb = "0.9"
|
||||
lazy_static = "1.4"
|
||||
log = "0.4"
|
||||
|
||||
[dependencies.libcosmic]
|
||||
git = "https://github.com/pop-os/libcosmic"
|
||||
branch = "cosmic-design-system"
|
||||
#path = "../../../libcosmic"
|
||||
|
||||
[dependencies.rfd]
|
||||
version = "0.10"
|
||||
#TODO: iced portal
|
||||
#default-features = false
|
||||
#features = ["xdg-portal"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue