mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Introduce UIScrollController to provide frame-rate-independent wheel interpolation, touch dragging, and momentum for code editors, terminals, scroll views, and scrollable widgets while preserving the legacy instant scrolling path. Add a UISceneNode-level smooth-scrolling policy. Embedded scenes inherit the root scene setting, new widgets snapshot it during construction, and setSmoothScrollEnabled() can optionally apply changes to existing widgets across the complete embedded-scene hierarchy. Move native macOS scrolling and title-bar helpers into PlatformHelper, enable native momentum from UIApplication, and explicitly enable it in ecode. Preserve precise SDL2 and SDL3 wheel deltas for fractional momentum events without changing normal integer wheel steps. Replace the separate editor and terminal preferences in ecode and eterm with one global smooth-scrolling setting, including legacy configuration migration, live updates, and localized settings text. Improve UITouchDraggableWidget momentum handling and add regression tests for scrolling interpolation, pixel-aligned editor positions, scene inheritance, widget overrides, and immediate policy application.
123 B
123 B
TODO
UI Module
- Implement support for very simple state-changes from the XML file (ex: onclick="toggleclass(x)").