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 30, 2023
    • sam's avatar
      rework placeholders to use single editor (#105) · 91ba7561
      sam authored
      * rework placeholders to use single editor
      
      * add default placeholder color
      
      * move placeholder systems out of main render
      
      * explicit ordering for password/placeholder systems
      91ba7561
  4. Oct 27, 2023
  5. Oct 26, 2023
  6. Oct 25, 2023
  7. Oct 24, 2023
  8. Oct 13, 2023
  9. Oct 12, 2023
  10. Oct 06, 2023
  11. Oct 05, 2023
    • 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
  12. Oct 04, 2023
    • StaffEngineer's avatar
      fix wrapping (#73) · 454758d4
      StaffEngineer authored
      454758d4
    • 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
  13. Oct 03, 2023
  14. Oct 02, 2023
  15. Oct 01, 2023
  16. 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
  17. Sep 27, 2023
  18. Sep 26, 2023
  19. Sep 24, 2023
  20. Sep 23, 2023
  21. Sep 22, 2023
  22. Sep 18, 2023
  23. Sep 17, 2023
Loading