Skip to content
Snippets Groups Projects
  1. Nov 10, 2023
  2. 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
  3. Oct 25, 2023
  4. 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
  5. Oct 05, 2023
  6. Oct 04, 2023
  7. Sep 29, 2023
  8. Sep 27, 2023
  9. Sep 26, 2023
  10. Sep 18, 2023
  11. Sep 17, 2023
  12. Sep 14, 2023
  13. Sep 12, 2023
  14. Sep 11, 2023
Loading