Convert editor example to winit
Swap color channels Remove unused code in rich-text-winit example Port editor example to winit WIP Implement scroll logic + add shape_as_needed Handle text input using named keys request redraw on click cargo fmt Implement dragging Refactor winit event handlers to avoid duplication Re-enable text size keyboard shortcuts Remove unused imports Fix updating scale factor Fix unused variable warnings Remove logging Remove commented code Delete rich-text-winit example Rename editor-winit example to editor
This commit is contained in:
parent
22e61965aa
commit
43d3620e44
3 changed files with 341 additions and 274 deletions
|
|
@ -1,19 +0,0 @@
|
|||
[package]
|
||||
name = "editor-orbclient"
|
||||
version = "0.1.0"
|
||||
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
cosmic-text = { path = "../..", features = ["syntect"] }
|
||||
env_logger = "0.10"
|
||||
fontdb = "0.13"
|
||||
log = "0.4"
|
||||
orbclient = "0.3.35"
|
||||
unicode-segmentation = "1.7"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
vi = ["cosmic-text/vi"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue