Skip to content
Snippets Groups Projects
  • Caleb Yates's avatar
    Update to bevy 0.15 (#166) · f3b2500b
    Caleb Yates authored
    * feat: main code compiles (untested)
    
    * feat: basic_sprite example works as expected
    
    * mark: example basic_ui works
    
    * mark: every_option example works
    except for the border, which was just removed
    
    * mark: example font_per_widget works
    
    * mark: image_background example works
    
    * marK: multiple_sprites example works
    
    * marK: placeholder example works
    
    * marK: readonly example works
    
    * marK: readonly example works
    
    * mark: final example works!
    
    * feat: updated module structure to use a prelude
    
    * feat: fixed all warnings
    
    * fix: tests pass
    
    * refactor: `CosmicBuffer` -> `CosmicEditBuffer` as `bevy::text::CosmicBuffer` already exists
    
    * todo: remove cosmic source component
    
    * refactor: Removed `CosmicSource`
    
    * feat: Removed old `CosmicWidgetSize` component in favour of an implementation-specific getter world query
    
    * feat: half the examples compiling and working
    Except for this annoying bug with the ui looking weird
    
    * mark: only every_option example to go
    
    * feat: All examples ported over
    
    * refactor: Renamed `ScrollDisabled` to `ScrollEnabled`
    
    * fix: cargo doc returns no warnings
    
    * refactor: Using bevy builtin `SwashCache`
    
    * fix: documentation is now more consistent
    
    * fix: documentation and privacy are now much better
    
    * fix: wasm compiles again
    
    * refactor: utils is now private module
    
    * doc: minor adjustments
    
    * fix: utils module now public
    
    * doc: documented `print_editor_sizes`
    
    * fmt
    
    * doc: todo
    
    * todo: move all target-specific code into render_targets module
    
    * todo: clean up lots of mathy code todo with render boxes
    
    * wip: trying to debug annoying UI start glitch
    
    * feat: fixed final UI bug
    
    * fmt
    Unverified
    f3b2500b

bevy_cosmic_edit

This bevy plugin provides multiline text editing for bevy apps, thanks to cosmic_text crate!

Emoji, ligatures, and other fancy stuff is supported!

bevy_cosmic_edit

Usage

Warning: This plugin is currently in early development, and its API is subject to change.

Explore examples folder for basic usage.

Native:

cargo r --example font_per_widget

Wasm:

cargo install wasm-server-runner
RUSTFLAGS=--cfg=web_sys_unstable_apis cargo r --target wasm32-unknown-unknown --example basic_ui

Compatibility

bevy bevy_cosmic_edit
0.15.0 0.26 - latest
0.14.0 0.21 - 0.25
0.13.0 0.16 - 0.20
0.12.* 0.15
0.11.* 0.8 - 0.14

License

MIT or Apache-2.0