summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-05-09Fixed showing of pinning indicatorJaakko Keränen
The indicator always shows the current tab's status.
2021-05-09Window: Fixed closing all tabs in the left splitJaakko Keränen
Take the current tab from the other side if the active side is out of tabs.
2021-05-09Window: Keep the current tab when unsplittingJaakko Keränen
2021-05-09BindingsWidget: Scrollbar is not shownJaakko Keränen
IssueID #257
2021-05-07Window: First move with custom frame may be cancelledJaakko Keränen
Use of uninitialized memory.
2021-05-07Gempub: Restoring pages from cacheJaakko Keränen
Only auto-open the first chapter when navigating normally, and not via cache. Otherwise the previous read position would be lost.
2021-05-06DocumentWidget: Update pinning indicatorJaakko Keränen
2021-05-06Root: Indicator appearanceJaakko Keränen
2021-05-06Indicate pinning state in URL barJaakko Keränen
2021-05-06Window: Split focus indicator in light modeJaakko Keränen
Also fixed a stale focused widget pointer when closing the split.
2021-05-06Gempub: Decode URLs, only load cover imageJaakko Keränen
2021-05-06Split view: Fixed theme and title updatesJaakko Keränen
Now every DocumentWidget is guaranteed a unique ID. The window title is updated when the keyroot chages.
2021-05-05Bookmark editor has toggles for some special tagsJaakko Keränen
2021-05-05Gempub: Split to show index and first chapterJaakko Keränen
When opening a Gempub, split the window and show the index page and the first chapter.
2021-05-05Window: Pinning preference vs. new splitsJaakko Keränen
The pinning direction affects which side links are opened by default.
2021-05-05Lang: New strings for directory/archive browsingJaakko Keränen
2021-05-05Added keybinding for closing other tabsJaakko Keränen
2021-05-04Adding special tag buttons to bookmark editorJaakko Keränen
2021-05-04Split view pinning, "linksplit" special tagJaakko Keränen
A navigation aid: when in split mode, option to keep one of the tabs pinned to the current page so all links open to the side. Added "linksplit" bookmark tag to activate view splitting when opening a link on the page.
2021-05-04Window: Opening links to the sideJaakko Keränen
2021-05-04Use Shift to open links to the sideJaakko Keränen
2021-05-04Highlight links opened in other tabsJaakko Keränen
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
2021-05-04Lang: Added Toki PonaJaakko Keränen
IssueID #192
2021-05-04DocumentWidget: Update the correct fetch progressJaakko Keränen
2021-05-03Window: Dispatch key events only to the root with key focusJaakko Keränen
2021-05-03Window: Rearranged menu itemsJaakko Keränen
2021-05-03Paint: Fixed build with older SDL versionsJaakko Keränen
IssueID #259
2021-05-03Added menu items for view splittingJaakko Keränen
2021-05-03Lang: Added new and missing stringsJaakko Keränen
IssueID #192
2021-05-02DocumentWidget: Retain Gempub data; cleanupJaakko Keränen
Keep hold of the `Gempub` data while the page is open so it can be used for other purposes.
2021-05-02DocumentWidget: Update the right lock buttonJaakko Keränen
2021-05-02Window: Added split swapping; cleanupJaakko Keränen
2021-05-02Text: No unnecessary recaching; cleanupJaakko Keränen
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-05-02Added a Gempub helperJaakko Keränen
`Gempub` opens and parses a Gempub archive and provides access to the contents in a common way.
2021-04-30Windows: Fixed custom frame in split modesJaakko Keränen
Hide duplicated window controls.
2021-04-30InputWidget: Highlight only in focused rootJaakko Keränen
2021-04-30LabelWidget: Implicit minimum sizeJaakko Keränen
2021-04-30Revising and fixing widget layoutJaakko Keränen
Some of the logic for arranging widgets was invalid, leading to problems with the navbar: - cannot resize children if own size depends on their size - expanding children won't expand unless resizing all children
2021-04-30Window: Moving tabs between splitsJaakko Keränen
2021-04-29Working on multiple UI rootsJaakko Keränen
Added a menu for changing the split mode.
2021-04-29CleanupJaakko 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-28Working on multiple UI rootsJaakko Keränen
Root focus switching and opening links in the other root.
2021-04-28Working on multiple UI rootsJaakko Keränen
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus). UI events are posted and handled in the context of a specific root.
2021-04-27Refactor: Update event processing to not assume a single UI rootJaakko Keränen
Most actions should occur in the context of the current UI root.
2021-04-27UI root sizing is independent of window sizingJaakko Keränen
2021-04-27Keeping track of current UI rootJaakko Keränen
The current UI root should always be set explicitly before the UI is accessed.
2021-04-27Refactor: Added a proper Root objectJaakko Keränen
`Root` encapsulates the root widget and the associated UI state.
2021-04-27Refactor: Moving RootData so it can become non-global stateJaakko Keränen