Skip to content
Snippets Groups Projects
  1. Nov 09, 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
      0bb15dea
  3. Oct 27, 2023
  4. Oct 26, 2023
  5. Oct 13, 2023
  6. Oct 06, 2023
  7. Oct 04, 2023
    • sam's avatar
      Multi click text selection (#70) · c9eb67b0
      sam authored
      * double + triple click detection
      
      * working multi click selection
      c9eb67b0
    • sam's avatar
      refactor and split input fn (#69) · 1aff2fc2
      sam authored
      * refactor and split input fn
      
      Input has been decoupled into input_mouse and input_kb
      
      Moved `lib.rs` around, ordered as enums > structs > plugin > functions
      
      * allow selection and copy on readonly buffers
      
      * remove clicktimer
      
      * fix clippy
      1aff2fc2
Loading