Commit Graph
26530 Commits
Author SHA1 Message Date
temportalflux bee1f68e9c reorganizing line paint logic 2026-07-11 09:31:07 -04:00
temportalflux 93b00c5d32 stub out mouse events and painting of simple lines and quads 2026-07-11 09:31:07 -04:00
temportalflux 19e4791a33 stub out prepaint and paint for <input> 2026-07-11 09:31:07 -04:00
temportalflux 3f6faa20a5 stub out <textarea> element 2026-07-11 09:31:07 -04:00
temportalflux bad745a761 register text-based actions with <input> element via traits 2026-07-11 09:31:07 -04:00
temportalflux 7c1658a24a add empty render for <input> element 2026-07-11 09:31:07 -04:00
temportalflux 93248e8ce9 implement keybinding actions 2026-07-11 09:31:07 -04:00
temportalflux dd9d4585d6 outline reimplemented ime operations 2026-07-11 09:31:07 -04:00
temportalflux bde62d95ea add UnicodeTextStorage trait for String and SharedString 2026-07-11 09:31:07 -04:00
temportalflux 866b7f4d62 add new editable text actions 2026-07-11 09:31:07 -04:00
temportalflux b3ab491240 flip cursor implementation to have an element and a state-entity 2026-07-11 09:31:07 -04:00
temportalflux 6ebe87025b mocking out cursor event interop 2026-07-11 09:31:07 -04:00
temportalflux 02531c48f7 rework cursor to render itself 2026-07-11 09:31:07 -04:00
temportalflux 454b3210fb Move cursor entity to input element and set it up as an Element so it can render independently 2026-07-11 09:31:07 -04:00
temportalflux 7affa0393f explore storage backend abstraction 2026-07-11 09:31:07 -04:00
temportalflux 08043295bd refine cursor-blink documentation 2026-07-11 09:31:07 -04:00
temportalflux 75a2fcb25c add documentation to input colors 2026-07-11 09:31:07 -04:00
temportalflux e68eef433b make layout information private 2026-07-11 09:31:07 -04:00
temportalflux 2a53c80ab7 move layout update into InputState 2026-07-11 09:31:07 -04:00
temportalflux 344804c232 make more InputState properties private 2026-07-11 09:31:07 -04:00
temportalflux 6ce4ebbb2a make cached_utf16_len private 2026-07-11 09:31:07 -04:00
temportalflux 4c7b51273c add documentation 2026-07-11 09:31:07 -04:00
temportalflux edf7cba153 undo SharedString being the backbone for InputState in favor of retaining mutablity of std::String. Safer now that painting doesnt need actual access to the string itself. 2026-07-11 09:31:07 -04:00
temportalflux c37593343a expose api for users to configure styling colors for input elements 2026-07-11 09:31:07 -04:00
temportalflux 4b23b30357 optimize InputStateSnapshot 2026-07-11 09:31:07 -04:00
temportalflux a2e3b5f09e remove theoretically unnecessary single-line paint optimizations 2026-07-11 09:31:07 -04:00
temportalflux 06dd56bda6 replace selection_reversed with a NavigationDirection backed selection_direction 2026-07-11 09:31:07 -04:00
temportalflux 35c38bf470 reorganize InputState impls 2026-07-11 09:31:07 -04:00
temportalflux cfea213c4e make InputState content more private 2026-07-11 09:31:07 -04:00
temportalflux 97c1834435 reorganize input data updated per element layout 2026-07-11 09:31:07 -04:00
temportalflux 1675c73726 separate update_line_layouts from other mutations in prepaint 2026-07-11 09:31:07 -04:00
temportalflux 4037fc5a92 rework InputState::cursor_visible to be more clear that its a mutation during paint 2026-07-11 09:31:07 -04:00
temportalflux 890a0e6daf reorganize math 2026-07-11 09:31:07 -04:00
temportalflux 2e20f98aaf reduce is_line_visible to take InputLineLayout 2026-07-11 09:31:07 -04:00
temportalflux 6c0f6c97f1 combine selection and marked_underline paint sections for multiline 2026-07-11 09:31:07 -04:00
temportalflux 769202c656 combine quad painting calls 2026-07-11 09:31:07 -04:00
temportalflux a418fcb9e0 merge single/multi line paint operations into PaintContext 2026-07-11 09:31:07 -04:00
temportalflux 9c09fd2cd1 reintroduce tests from gpuikit::input 2026-07-11 09:31:07 -04:00
temportalflux fca15d4ec2 group paint_selection_quad logic together 2026-07-11 09:31:07 -04:00
temportalflux 8bec8f3031 begin integrating paint implementations 2026-07-11 09:31:07 -04:00
temportalflux 3255bb544e replace InputState::content with a SharedString 2026-07-11 09:31:07 -04:00
temportalflux 9c212a52f7 replace multiline with InputLayout enum 2026-07-11 09:31:07 -04:00
temportalflux 13676cf649 organize input element types and implementation into dedicated files 2026-07-11 09:31:07 -04:00
temportalflux eb8f90a310 extract gpuikit input implementation 2026-07-11 09:31:07 -04:00
temportalflux 6ecdda92d0 add Point::is_nearly_eq 2026-07-11 09:31:07 -04:00
temportalflux cfc9f6fab1 update documentation of 'use_keyed_transition', 'use_keyed_state', & 'with_element_state' to make it clear that the functions can be called during 'render' implementations, as 'examples/learn/transition.rs' illustrates 2026-07-11 09:31:07 -04:00
temportalflux f4cb5e21b7 add getter/setter to interface with the current scroll offset of interactivity 2026-07-11 09:31:07 -04:00
temportalflux 1f2c11d44f move TextLayout::layout logic into standalone functions so they can be shared between labels and editable text elements 2026-07-11 09:31:07 -04:00
temportalflux b1e67f32af change shape_text api to support non-SharedString types as input without forcing extra allocations 2026-07-11 09:31:07 -04:00
Scar-00 ce08af96db add wgpu renderer for windows (#44) 2026-06-24 19:10:56 -04:00