summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
AgeCommit message (Collapse)Author
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
2021-03-09Mobile: Revising phone-style dialogsJaakko Keränen
Sliding panels and left-edge swipes.
2021-03-09LabelWidget: Fine-tuning icon spacingJaakko Keränen
2021-03-08LabelWidget: Tuning icon alignmentJaakko Keränen
2021-03-05UI color tuning; menu item backgroundsJaakko Keränen
2021-03-05Menu item iconsJaakko Keränen
2021-03-05Defined a set of UI icons; use in menusJaakko Keränen
2021-03-04LabelWidget: Added an optional iconJaakko Keränen
Label icons are intended for context menus.
2021-03-04Changing UI scaling at runtimeJaakko Keränen
UI scaling factor is applied when closing the Preferences dialog. IssueID #83
2021-02-26Visual design improvementsJaakko Keränen
URL input field has a maximum width. Adjusted navbar appearance and margins. Tuned UI palette and added UI accent color preference.
2021-02-20iOS: Removed 2nd sidebar; background tweaksJaakko Keränen
2021-02-19iOS: Adjusting the UI for a tablet screenJaakko Keränen
2021-02-11Windows: Experimenting with a custom window frame and title barJaakko Keränen
Added the build option ENABLE_CUSTOM_FRAME that causes the window to be created as borderless. Lagrange's own UI widgets are used to draw the title bar elements, including the window buttons. There is plenty of sizing behavior still missing, for instance snapping to fullscreen left/right side, double-clicking the frame edges, and proper maximize mode that doesn't cover the entire screen. The window system menu is also missing, but that can be shown manually when appropriate. A command-line option should also be provided to disable winbar in case the default title bar is required.
2021-01-29Fixed drawing of widget framesJaakko Keränen
In CertImportWidget at regular-DPI 1.0 scaling, the frames of the certificate and private key labels were drawn incorrectly. Now the non-button LabelWidget relies on Widget to draw the frames.
2020-12-01Added dialog for changing feed typeJaakko Keränen
This also gives feedback about a newly added subscription.
2020-11-15Added a preference for monospace body textJaakko Keränen
Monospace body font can be set separately for Gemini and Gopher.
2020-11-05Keybindings for Back/Forward navigationJaakko Keränen
2020-10-30Updating LabelWidget command keyJaakko Keränen
If the key bindings have a key for a command, LabelWidget will use it.
2020-10-29LabelWidget: Flag for wrapping textJaakko Keränen
Widgets now have an optional virtual method that gets called when the size of the widget changes during arranging. Wrapped text in LabelWidget uses this to update its height.
2020-09-21Radio button widget flagJaakko Keränen
2020-09-17Working on "Save Page"Jaakko Keränen
Suggest saving the content on the Unsupported MIME type error page.
2020-09-01Text: Fixed color escape ASCII overflowJaakko Keränen
2020-08-26LabelWidget: Separate color for disabled buttonsJaakko Keränen
2020-08-23Added an identity creation dialogJaakko Keränen