Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 19, 2023
  3. Nov 10, 2023
  4. Nov 09, 2023
  5. Nov 02, 2023
    • sam's avatar
      Simplify main render system (#106) · 0bb15dea
      sam authored
      * add TODOs
      
      * separate CosmicEdit from display
      
      breaks loads of stuff: sizing, click functions, cursor hovering just a few
      
      Only tested on login example
      
      not optimized; spams handle weak clones to ensure got correct handle (will be fixed by new handle swapping routine)
      
      not sure about the API changes but might just need to get used to it, is much more extensible
      
      * break render function apart
      
      centered padding now broken, not tested other text positions
      
      * reshape earlier in render to fix padding issue
      
      * move image creation to own system
      
      * resize internal sprite to computed UI size
      
      * prevent panic on zero size UI elements
      
      * clicks + editor-display one-to-many relationships
      
      * add render systemset
      
      * fix hoverable invisible sprites
      
      * update examples
      
      * fix auto-height bugs
      
      * clippy
      0bb15dea
  6. Oct 27, 2023
  7. Oct 26, 2023
  8. Oct 25, 2023
  9. Oct 24, 2023
    • sam edelsten's avatar
      use bevy builtins; single canvas image · 748b8ea1
      sam edelsten authored
      adds a `CosmicCanvas` component to hold the image cosmic draws to. allows easier interop between UI and Sprite widgets
      
      Each type of widget now uses a single `CosmicEditBundle`, adding widget specific components with `.insert()` or as tuples.
      748b8ea1
  10. Oct 05, 2023
    • StaffEngineer's avatar
      update example for wasm (#76) · 4797dbd4
      StaffEngineer authored
      4797dbd4
    • sam's avatar
      Placeholders (#74) · eadba6fc
      sam authored
      
      * first draft
      
      * refine placeholder logic
      
      bug: inputting and deleting a char on a widget quickly (i think at cursor blink speed) hold the input visually for that blink duration.
      
      needs testing: placeholder specific attrs
      
      * fix conflict with #73
      
      * update placeholder attrs
      
      * small fixes
      
      * fix cursor showing on empty readonly widgets
      
      ---------
      
      Co-authored-by: default avatarStaffEngineer <velo.app1@gmail.com>
      eadba6fc
  11. Oct 04, 2023
  12. Oct 03, 2023
  13. Oct 02, 2023
    • sam's avatar
      rewrite `draw_pixel` for correct color blending (#61) · 77720a77
      sam authored
      * rewrite `draw_pixel`
      
      causes overlayed text to appear correctly blended
      
      Breaking Changes:
       - CosmicEdit*Bundle::background_color renamed to fill_color, and takes a new `FillColor(pub Color)`
      
      * fix clippy
      77720a77
  14. Sep 29, 2023
    • StaffEngineer's avatar
      auto height && refactoring (#59) · f91db1b9
      StaffEngineer authored
      * Add text position Left
      
      * Support infinite-line mode
      
      * update readme
      
      * update default mode name
      
      * Add auto-height mode, refactoring
      
      * Clippy
      f91db1b9
  15. Sep 27, 2023
  16. Sep 26, 2023
  17. Sep 18, 2023
  18. Sep 17, 2023
  19. Sep 15, 2023
  20. Sep 14, 2023
  21. Sep 12, 2023
  22. Sep 11, 2023
  23. Sep 10, 2023
  24. Sep 09, 2023
Loading