summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
AgeCommit message (Collapse)Author
2021-11-30LabelWidget: Selection background of menu itemsJaakko Keränen
Highlight the currently selected item with a dimmer background to differentiate from hover item.
2021-11-24SidebarWidget: Tighter layout for Feeds actionsJaakko Keränen
2021-11-23SidebarWidget: Redesigned Feeds action toolbarJaakko Keränen
The action toolbar now has a button for marking all as read, and keyboard shortcuts for switching between Unread and All modes.
2021-10-25Document presentation warningsJaakko Keränen
Warn the user about missing glyphs and potentially unsupported ANSI escapes. TODO: Site-specific setting for dismissed warning; fonts preference about missing glyph warnings.
2021-10-22Mobile: Minor fixes and tweaksJaakko Keränen
Tab close button visibility, newly added preferences, "Manage Fonts" button, button icon color.
2021-10-22Merge branch 'work/v1.8' into devJaakko Keränen
2021-10-22Working on tab close buttonsJaakko Keränen
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.
2021-10-08Font configuration; Prefs has a string value arrayJaakko Keränen
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
2021-09-21LabelWidget: Tuned state colorsJaakko Keränen
2021-09-21macOS: Native context menusJaakko Keränen
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.
2021-09-20Accent color consistencyJaakko Keränen
The alt accent color should be used as sparingly as possible for maximum effect. The user's chosen accent color should be predominant in the UI.
2021-09-19LabelWidget: No Space for keyboard triggerJaakko Keränen
Space is used for scrolling the page (by default), so currently it's better to not use that for buttons as well.
2021-09-19Focus cycling with Tab includes buttonsJaakko Keränen
Tab/⇧Tab can be used to switch focus to any button in addition to input fields. The focused button can be activated by pressing Space or Return. TODO: Dropdown menus get dismissed prematurely when trying to switch focus. IssueID #231
2021-09-17Fixed minor widget glitchesJaakko Keränen
2021-09-11Mobile: Many UI improvements; Upload UIJaakko Keränen
2021-09-10Mobile: Revised more dialogsJaakko 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-08-29Merge branch 'dev' into work/v1.7Jaakko Keränen
2021-08-26LabelWidget: Fixed noTopFrame flag regressionJaakko Keränen
A refactoring oversight.
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-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-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-07-24LabelWidget: Fixed wrapped content positioningJaakko Keränen
2021-07-06Text run measurement API change; bug fixesJaakko Keränen
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
2021-06-15Fixed visual artifact during sidebar animationJaakko Keränen
The sidebars are not supposed to have borders or background fades.
2021-06-15Mobile: Show identity name in toolbarJaakko Keränen
Shuffled the widget flags a bit to make room for a new one.
2021-06-15Mobile: Draw Identity button as outlineJaakko Keränen
2021-06-10Tight mode for Query/Feeds indicatorJaakko Keränen
2021-05-18Mobile: Tablet tweaksJaakko Keränen
Heights of InputWidget vs. LabelWidget. The default sizes should be equal, e.g., so the navbar elements align properly. Don't set the input focus automatically when opening a dialog, since the keyboard may cover much of the UI.
2021-05-18LabelWidget: Respect `noAutoMinHeight`Jaakko Keränen
2021-05-18Merge branch 'dev' into work/typesetterJaakko Keränen
# Conflicts: # src/ui/documentwidget.c # src/ui/inputwidget.c
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
2021-05-11Cache GmDocuments in memoryJaakko Keränen
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout. Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
2021-05-09BindingsWidget: Scrollbar is not shownJaakko Keränen
IssueID #257
2021-05-02LabelWidget: Option to disable min heightJaakko Keränen
Sizing of the embedded indicators in the URL bar requires smaller than default minimum height.
2021-04-30LabelWidget: Implicit minimum sizeJaakko Keränen
2021-04-29Working on multiple UI rootsJaakko Keränen
Restore previous root after processing events. Adjusted colors of the non-focused root.
2021-04-21Mobile: Autoreload intervals are missingJaakko Keränen
2021-04-09Mobile: Fixed dialog field misalignmentsJaakko Keränen
2021-03-29Fixed: Missing bindingsJaakko Keränen
Don't use built-in default bindings to update buttons or menu items.
2021-03-29LabelWidget: Tuning button colorsJaakko Keränen
2021-03-27Processing of double clicksJaakko Keränen
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
2021-03-24Fixes for dynamic language switchingJaakko Keränen
IssueID #192
2021-03-24Fixed regression in conman.org client torture test 21Jaakko Keränen
Couple of problems: - "data:" links were not flagged as supported - "data:" links are not supposed to further decoded or encoded since they are processed internally in the client IssueID #217
2021-03-23UI language preference; switching at runtimeJaakko Keränen
IssueID #192
2021-03-23Lang: Applied more string IDsJaakko Keränen
IssueID #192
2021-03-22Lang: Improvements; macOS menu itemsJaakko Keränen
Use char pointer ranges for the array of IDs and strings to avoid allocations. Translate macOS menu items. IssueID #192
2021-03-22Basic language string mechanismJaakko Keränen
Added a set of English strings. Lang can load a language. LabelWidget can replace IDs in the label. IssueID #192
2021-03-17LabelWidget: Fixed crash when text is emptyJaakko Keränen
2021-03-13LabelWidget: Adjusting spacing on tabletsJaakko Keränen