Skip to content
Snippets Groups Projects
  1. Dec 07, 2024
  2. Dec 06, 2024
    • 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
      f3b2500b
  3. Nov 18, 2024
  4. Oct 11, 2024
  5. Aug 26, 2024
  6. Aug 25, 2024
  7. Jul 11, 2024
  8. Jun 18, 2024
  9. Jun 09, 2024
    • ActuallyHappening's avatar
      add: documents feature flags (#147) · d113ef7c
      ActuallyHappening authored
      * add: documents feature flags
      esspecially the multicam feature
      
      * doc: documents requirement for `CosmicPrimaryCamera`
      
      * add: `CosmicPrimaryCamera` implements Debug and Default
      for convenience
      
      * fix: lints fixed
      d113ef7c
  10. Apr 29, 2024
  11. Apr 26, 2024
  12. Apr 10, 2024
  13. Apr 06, 2024
    • sam edelsten's avatar
      internal placeholder plugin (#125) · aa836324
      sam edelsten authored
      
      * internal placeholder plugin
      
      * fix panic on placeholder editor input
      
      * remove autofocus in placeholder example
      
      * make `Placeholder.active` private
      
      * remove placeholder on input
      
      * fix multi-byte char in placeholder
      
      * show placeholder on empty editor
      
      * add guards to placeholder add fns
      
      * fix placeholder displaying incorrectly on input
      
      * fix flash when backspacing empty placeholder
      
      also properly fix the first-char display error
      
      * hacky fix for delete key breaking placeholder
      
      * fix newline issues in placeholder
      
      * fix clippy
      
      * update changelog, bump version
      
      ---------
      
      Co-authored-by: default avatarStaffEngineer <111751109+StaffEngineer@users.noreply.github.com>
      Co-authored-by: default avatarStaffEngineer <velo.app1@gmail.com>
      aa836324
  14. Mar 20, 2024
    • sam edelsten's avatar
      Cosmic text 0.11 (#124) · 696fe6f7
      sam edelsten authored
      
      * barely got text entry working again
      
      * remove local optimizations
      
      i should really put them somewhere else on my machine
      
      * delete most stuff to get the basics nearly working
      
      * editable text
      
      lots of cloning but seems to be the only way if buffers are in the ECS
      
      editor widgets don't relayout when edited, but when unfocused the buffer does
      
      * fix backspace on native and make basic_ui wasm editable
      
      * fix mid-edit layout
      
      * reimplement text cursor blinking
      
      uhoh it's looking like im using the not a starting point pr as a starting point lol
      
      * update `basic_sprite` example
      
      adds a util crate for common example systems
      also removes history tracking structs
      
      * `image_background`+`bevy_api_testing` examples
      
      MV `bevy_api_testing.rs` > `sprite_and_ui_clickable.rs`
      
      * remove `CosmicText` in favor of buffer functions
      
      simplifys API and mirrors Bevy's Text functions more closely
      
      * strip autoheight + example, update other examples
      
      * fix wasm compilation
      
      * clippy
      
      * fix text
      
      * fix clippy
      
      * fix wasm
      
      * fix import
      
      * add changelog
      
      * fix mouse cursor hover on sprite widget
      
      * fix editor cursor location when edited
      
      * fix blank widget when focused on startup
      
      * configurable cursor/selection colors
      
      * run layout functions when needed
      
      * fix ui widget mouse cursor
      
      * fix scale change
      
      ---------
      
      Co-authored-by: default avatarDima <Dmytro.Rets@Gamesys.co.uk>
      Co-authored-by: default avatarStaffEngineer <velo.app1@gmail.com>
      696fe6f7
  15. Mar 05, 2024
    • sam edelsten's avatar
      Bevy 0.13 (#123) · 2330358c
      sam edelsten authored
      * migrate to bevy 0.13
      
      * Update readme.md
      
      * bump version
      
      * bump version correctly lol
      
      * cargo clippy
      
      * Update config.toml
      2330358c
  16. Dec 27, 2023
  17. Dec 19, 2023
  18. Nov 17, 2023
  19. Nov 09, 2023
  20. Oct 06, 2023
    • sam's avatar
      implement copy/paste for wasm (#75) · bc02ec5a
      sam authored
      * implement copy/paste for wasm
      
      * ignore wasm specific "dead" code
      
      * fix ctrl instead of command on mac
      
      * fix character input if clipboard shortcut held
      bc02ec5a
  21. Sep 27, 2023
  22. Sep 18, 2023
  23. Sep 17, 2023
  24. Sep 12, 2023
  25. Sep 10, 2023
  26. Aug 17, 2023
  27. Aug 14, 2023
  28. Jul 20, 2023
  29. Jul 19, 2023
  30. Jul 15, 2023
  31. Jul 09, 2023
Loading