Age | Commit message (Collapse) | Author |
|
|
|
Most crucially, sometimes the swipe placeholders would not get deleted at all because the visual offset animation was not finishing as expected. This would cause a number of problems with the document behavior.
|
|
If there were no entry animation, the native UI control would not be correctly placed.
|
|
Only notify once, after the arrangement is done.
|
|
|
|
|
|
|
|
|
|
Switched the phone sidebar to use the iOS half/full-height sliding sheet design. This is better for finger reachability and for retaining access to the current page.
|
|
|
|
There were issues where popup menus would only get wider and never narrower. Arrangements should not be dependent on the results of a previous one.
|
|
Updating items immediately destroys the action widgets.
|
|
Take fractional pixels into account when laying out widgets. This ensures that the entire available space is used, particularly when there are many children.
IssueID #403
|
|
|
|
|
|
A tall popup menu needs to use overflow scrolling, but the size of the display wasn't considered. Now a popup window is fit to the usable bounds of the display.
|
|
Useful for tall menus and dialogs on the desktop.
|
|
|
|
|
|
|
|
An [x] button appears on tab buttons when hovering on them. Still needs a bit of layout tweaks and the first tab doesn't have a button yet.
|
|
The windowID was expected to be set, but wasn't for touch events.
IssueID #351
|
|
TODO: Check if this is only applicable to HiDPI.
|
|
Show some status info about the progress of feed refresh. The search query and feeds indicators now use the small UI font size.
|
|
Some deleted widgets were kept around in the root's onTop list.
|
|
Popup context menus now use NSMenu. There are still has a few glitches with the navbar identity button, but most menus are working.
SDL required another little tweak to force it to update mouse button state after the synchronously handled context menu goes away. Otherwise SDL's internal mouse button state shows that the right mouse button is held down.
|
|
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows.
This is not a 100% replacement for native menus, but it gets pretty close.
|
|
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups.
Only MainWindow supports split view modes.
|
|
A proper scrollbar would be grabbable, but this is just a visual indication that a menu/dialog/panel can be scrolled.
IssueID #337
|
|
Root's safe rect was not using the right origin coordinates.
IssueID #337
|
|
|
|
The hover widget may get deleted during event processing, so Window keeps track of it for refreshing.
TODO: Random crash when a destroyed menu is still in the onTop array (?).
|
|
|
|
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
|
|
|
|
|
|
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often.
For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS.
Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
|
|
|
|
|
|
Contents of the Preferences split panel view are created based on arrays of MenuItems. This removes the confusing indirection of trying to modify the desktop widget tree to fit mobile.
|
|
|
|
The sidebars are not supposed to have borders or background fades.
|
|
Shuffled the widget flags a bit to make room for a new one.
|
|
When a page is opened from the sidebar, swiping back will now reopen the sidebar. Another swipe will dismiss the sidebar and navigate back as usual.
Attempted to cache theme colors in GmDocument, but there were issues with theme changes.
|
|
Swipes are working much better.
Todo:
- Pinch must always cancel/override edge swipes.
- Use the right palette for the "swipein" placeholder.
|
|
Swipes back and forward are now working, although there are some glitches remaining. Most notably, when swiping back the previous document does not appear until the finger is released.
|
|
|
|
Edge swiping now has its own set of commands that are posted, allowing widgets to respond more flexibly.
|
|
# Conflicts:
# src/gmdocument.c
# src/ui/documentwidget.c
# src/ui/inputwidget.h
|
|
In some situations, e.g., when a client certificate is required but not active, make available action buttons that offer related shortcuts.
Selecting or deselecting an identity for use will automatically reload the current page for convenience.
Animate closing sidebars with Escape key.
|