summaryrefslogtreecommitdiff
path: root/src/ui/touch.c
AgeCommit message (Collapse)Author
2021-04-28Working on multiple UI rootsJaakko Keränen
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus). UI events are posted and handled in the context of a specific root.
2021-04-27Refactor: Update event processing to not assume a single UI rootJaakko Keränen
Most actions should occur in the context of the current UI root.
2021-04-27UI root sizing is independent of window sizingJaakko Keränen
2021-04-27Refactor: Added a proper Root objectJaakko Keränen
`Root` encapsulates the root widget and the associated UI state.
2021-04-21Mobile: Working on scroll bounce behaviorJaakko Keränen
2021-04-21Touch: Stopping momentum scrollJaakko Keränen
When a widget runs out of scrollable area, stop any momentum scrolls.
2021-04-20iOS: Fixed momentum scroll timingJaakko Keränen
The scrolling stutters were being caused by timing and not slow text rendering. Now the momentum scroll is locked to display refresh rate.
2021-04-20CleanupJaakko Keränen
2021-04-20Touch: Resuming a drag scroll from momentumJaakko Keränen
Continue a scroll if there's still a momentum scroll ongoing instead of checking long-press.
2021-04-20Mobile: Fixed invalid touch positionsJaakko Keränen
2021-04-12Touch: Fixed long-press on input fieldsJaakko Keränen
There was an inadvertent double click.
2021-04-11Mobile: Long press to select; navbar page menuJaakko Keränen
DocumentWidget now supports a long-press drag selection mode. The context menu was moved to the URL bar, replacing the reload button.
2021-04-10Touch: Improved hover behaviorJaakko Keränen
Scrolling must prevent the hover state from being updated both in documents and lists.
2021-04-10Touch: Notify widget when tap is about to beginJaakko Keränen
Notify when hover state should be updated again after scrolling.
2021-04-10Touch: Multitouch pinch eventsJaakko Keränen
2021-04-10Touch: Multitouch scrollingJaakko Keränen
Each finger is emitting scroll events at their own position, enabling scrolling multiple widgets at the same time.
2021-03-20Touch: Adjusted tap-and-hold gestureJaakko Keränen
After the hold has been detected, require a larger motion to begin dragging.
2021-03-15Mobile: Find on page, various minor tweaksJaakko Keränen
On mobile, the search bar appears at the top of the page. Keep the haptic engine running so there is no delay before each effect. After a long-press, remove the "mouse" from the display area so there is no misleading hover. Widget border top/bottom use metrics.
2021-03-13Touch: Fixed long press on input fieldsJaakko Keränen
2021-03-13Touch: Long-press context click on any widgetJaakko Keränen
2021-03-12Touch: Drag behavior for input fieldsJaakko Keränen
Allow long-pressing in touchDrag widgets.
2021-03-11Mobile: Adjustments and fixes for iOSJaakko Keränen
2021-03-10Mobile: Styling for regular dialogsJaakko Keränen
2021-03-10Edge-dragging preference panelsJaakko Keränen
2021-03-09Mobile: Revising phone-style dialogsJaakko Keränen
Sliding panels and left-edge swipes.
2021-03-08Fine-tuning touch behaviorJaakko Keränen
Avoid mouse motion events to prevent spurious hover states in the UI.
2021-03-07Processing per-pixel scroll eventsJaakko Keränen
Do platform-specific processing of scroll events up front so widgets can support both types of scrolls everywhere. IssueID #166
2021-03-07iOS: Haptic tap when long-pressingJaakko Keränen
2021-03-06Mobile: Dealing with keyboard heightJaakko Keränen
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
2021-03-06Mobile: Widget interaction and appearanceJaakko Keränen
Overflow-scrollable allows momentum scrolls. Adjusting fonts in phone sheets.
2021-03-04Touch: Adjusting long pressJaakko Keränen
2021-03-04Touch: Slow drag adjustmentJaakko Keränen
2021-03-04Touch: Tuning holding and swipingJaakko Keränen
2021-02-22Touch: Improved tap-and-holdJaakko Keränen
Clear gestures related to a widget if the widget is destroyed.
2021-02-21Animated widget offsets; phone sidebarsJaakko Keränen
2021-02-20iOS: More spacing for listsJaakko Keränen
2021-02-20iOS: Tweaks and changes for phone modeJaakko Keränen
Phone mode uses a modified user interface. Work in progress...
2021-02-19iOS: Adjusting the UI for a tablet screenJaakko Keränen
2021-02-19Touch: Scrollbars can be dragged via touchJaakko Keränen
Widgets can be flagged as being touch-draggable, which makes them receive finger down/motion/up events directly, and no momentum scrolling is applied.
2021-02-19Touch: Scroll momentum tuning; edge swipesJaakko Keränen
2021-02-18iOS: Working on touch event handlingJaakko Keränen
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling. Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).