summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-09-10Mobile: Revised more dialogsJaakko Keränen
2021-09-09Mobile: Working on dialogsJaakko Keränen
The new panels maker offers a declarative solution for creating consistent UIs.
2021-09-08CleanupJaakko Keränen
2021-09-08CleanupJaakko Keränen
2021-09-08Mobile: Added Identities, Help, About to Settings screensJaakko Keränen
2021-09-08Mobile: Preferences is completed, improvedJaakko Keränen
2021-09-07Mobile: Redoing PreferencesJaakko Keränen
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.
2021-09-07Added BG-to-FG image colorization modeJaakko Keränen
2021-09-07Added image colorization preferenceJaakko Keränen
Option to colorize images to grayscale, text color, or preformatted color.
2021-09-04iOS: Minor fixesJaakko Keränen
The SDL text input rectangle function applies some sort of offset that is inappropriate on iOS.
2021-09-04Merge branch 'dev' into work/v1.7Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/about/version.gmi
2021-09-04Text: Fixed hang when wrapping a long wordJaakko Keränen
The simple text renderer would get stuck in an infinite loop when encountering a word that wouldn't fit on a line. IssueID #330
2021-08-29Merge branch 'dev' into work/v1.7Jaakko Keränen
2021-08-29Fixed running under KMSDRM video driver on LinuxJaakko Keränen
SDL2 works fine without a window system, but it seems the DPI-querying API will crash so let's not call that. Should still add command line options to control the screen resolution, i.e., overriding the window size.
2021-08-29DocumentWidget: Fixed minor text artifactsJaakko Keränen
Clearing the background of all runs is required because sometimes a run will overlap with another, or is drawn multiple times.
2021-08-28InputWidget: Tell SDL where text input is happeningJaakko Keränen
2021-08-26LabelWidget: Fixed noTopFrame flag regressionJaakko Keränen
A refactoring oversight.
2021-08-25Merge branch 'dev' into work/v1.7Jaakko Keränen
# Conflicts: # CMakeLists.txt # res/about/version.gmi
2021-08-25SidebarWidget: Fixed right-clicking on sidebar tabsJaakko Keränen
The sidebar context menu should open when clicking on the tabs, not the item context menu.
2021-08-24Text: Character hit test vs. clustersJaakko Keränen
When multiple codepoints are in the same cluster, the hit test should only consider the first codepoint of the cluster, or otherwise the cursor is positioned somewhere in the middle of the cluster and not at the start.
2021-08-24InputWidget: Reverted an earlier change to fix cursor movement regressionJaakko Keränen
In word-wrapped lines, a character will be hit multiple times and the latest hit is what counts.
2021-08-22CleanupJaakko Keränen
2021-08-22Window: Update UI layout after split changesJaakko Keränen
2021-08-20Added build options to force phone/tablet mobile UIJaakko Keränen
These options are mostly useful on mobile platforms that are not iOS or Android, and for testing purposes.
2021-08-20Window: Update UI layout after split changesJaakko Keränen
2021-08-20CleanupJaakko Keränen
2021-08-20Window: Allow Escape to affect all splitsJaakko Keränen
Allow dismissing sidebars in the unfocused split.
2021-08-20CleanupJaakko Keränen
2021-08-20Added WebP decoding using libwebpJaakko Keränen
2021-08-20Merge branch 'dev' into work/v1.7Jaakko Keränen
# Conflicts: # CMakeLists.txt
2021-08-19UploadWidget: "Close" is a better button labelJaakko Keränen
"Cancel" would imply here that changes made in the editor would be cancelled, when the opposite is true: the editor contents are saved persistently.
2021-08-19InputWidget: Cursor behavior around invisible codepointsJaakko Keränen
Emoji variation selectors would confuse cursor positioning and insertion behavior, breaking the assumption that each line ends with a single newline.
2021-08-18DocumentWidget: Incorrect message in Page InfoJaakko Keränen
2021-08-17Window: Redraw tweaks on MSYSJaakko Keränen
2021-08-17Window: Experimenting with draw-driven UI resizeJaakko Keränen
The notification about UI resize will not occur until a draw has been started, so we can avoid any unnecessary resize handling between draws. May not work?
2021-08-15Merge branch 'dev' into work/v1.7Jaakko Keränen
2021-08-15SDL 2.0.16 line drawing regression (OpenGL renderer)Jaakko Keränen
This is not specific to macOS, but seems to affect OpenGL rendering on all platforms.
2021-08-15macOS: Workaround for an apparent SDL regressionJaakko Keränen
On macOS with SDL 2.0.16, there's a problem with the bottom right corner of a rectangle drawn as a line strip being off by one. SDL_RenderDrawLines() is behaving oddly on macOS with SDL 2.0.16.
2021-08-14macOS: Workaround for an apparent SDL regressionJaakko Keränen
On macOS with SDL 2.0.16, there's a problem with the bottom right corner of a rectangle drawn as a line strip being off by one.
2021-08-10DocumentWidget: Fixed drawing of empty documentJaakko Keränen
An empty document would could the widget to be drawn as a black non-themed rectangle, with a single-pixel horizontal line in the middle. This fixes that by just clearing the widget to the UI background color. The most notable situation where this occurred was immediately after activating split view mode.
2021-08-06InputWidget: Omit default scheme; highlight domain nameJaakko Keränen
These were working in v1.5 but were broken in v1.6.
2021-08-06Merge branch 'dev' into work/v1.7Jaakko Keränen
2021-08-06GmDocument: Full-width images in narrow layoutJaakko Keränen
2021-08-06InputWidget: Return key, input focus behaviorJaakko Keränen
In the long-form text entry mode, don't use the user's configured Return key behavior, since that's meant for shorter input fields. Input fields no longer lose focus when the window loses input focus, but the cursor will stop blinking. This makes it easier to resume typing after switching window focus, and also on macOS the symbol picker is easier to use.
2021-08-04InputWidget: Line breaks only make sense in some fieldsJaakko Keränen
For example, any URL field should disallow line breaks. The line break modifier preference should be disregarded in an input field where there are no line breaks.
2021-08-04DocumentWidget: Slightly wider minimum bordersJaakko Keränen
2021-08-03InputWidget: On PCs, use Ctrl+Shift+A to select all textJaakko Keränen
2021-08-03InputWidget: Slower blink; adjusted colorsJaakko Keränen
Slowed down the cursor blinking by half. Adjusted the focused input widget colors to be less harsh in dark mode.
2021-08-02Text: Fixed drawing wrapped text without HarfBuzzJaakko Keränen
2021-08-02InputWidget: CleanupJaakko Keränen