Age | Commit message (Collapse) | Author |
|
|
|
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 built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts.
A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed.
GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field.
TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
|
|
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 (?).
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
The new panels maker offers a declarative solution for creating consistent UIs.
|
|
|
|
|
|
|
|
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.
|
|
These options are mostly useful on mobile platforms that are not iOS or Android, and for testing purposes.
|
|
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.
|
|
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.
|
|
|
|
Not yet in the UI, though.
|
|
Use the animations introduced for mobile on desktop as well. Adding a
preference for this might be prudent.
|
|
|
|
|
|
Use the mobile layout on tablets as well.
|
|
|
|
Edge swipe direction is determined in a more dynamic way.
|
|
|
|
The expand flag should be reset only in the context of the parent's arrangement/resize direction.
|
|
The mobile UI related code has grown large enough to warrant a separate file.
Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
|