summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2020-10-06Updating media contentJaakko Keränen
Making it possible for media to be partially updated, for streaming. Also fixed a problem with multiple concurrent audio players started on a single media item.
2020-10-04Fixed window position retain errorJaakko Keränen
At least on macOS, there is a stray window move event during app launch that causes the wrong position to be saved. At launch, the window position comes from preferences.
2020-10-04Working on audio playbackJaakko Keränen
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
2020-10-01Refactor: Separate media from GmDocumentJaakko Keränen
2020-09-30Windows: Initial/minimum window size vs. UI scale factorJaakko Keränen
2020-09-30Windows: Use the system UI scaling factorJaakko Keränen
Check for system UI scaling factor via Direct2D DPI values.
2020-09-30Windows: Improved fix for UI blankingJaakko Keränen
Must invalidate all buffered visuals if the renderer is reset.
2020-09-29CleanupJaakko Keränen
2020-09-29Text: Better readability with Fira SansJaakko Keränen
Increased Fira Sans line spacing, now more in line with Nunito.
2020-09-29Lighter separators in Light modeJaakko Keränen
2020-09-28SidebarWidget: Max limit for sidebar widthJaakko Keränen
Must leave some space for the document.
2020-09-28GmDocument: Tweaks in the dark color themeJaakko Keränen
2020-09-28Adjusted light mode color paletteJaakko Keränen
The accent color hues weren't quite right.
2020-09-27macOS: 10.13 should use OpenGL rendererJaakko Keränen
There appears to be a problem with SDL's Metal renderer under 10.13 (segfault on window creation).
2020-09-27DocumentWidget: Side icon animation glitchesJaakko Keränen
2020-09-26Fixed menu item label in error messageJaakko Keränen
2020-09-26CleanupJaakko Keränen
2020-09-26DocumentWidget: Show top heading on the sideJaakko Keränen
2020-09-26Preferences: Added side icon, hover outlineJaakko Keränen
2020-09-25Document side elements; hover outlineJaakko Keränen
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-09-22Drawing with alpha blendingJaakko Keränen
2020-09-22Added an animation utilityJaakko Keränen
2020-09-21Preferences: Line width, 1st paragraph; tab switch keysJaakko Keränen
2020-09-21Radio button widget flagJaakko Keränen
2020-09-21Merge branch 'release' into devJaakko Keränen
Window state bug fixes from the release branch.
2020-09-21macOS: Window size/mode restoration tweaksJaakko Keränen
Don't bother with maximized mode, it causes a needless animation at launch.
2020-09-21Restoring maximized windowsJaakko Keränen
Window position and size are stored when move/resize events are received, not only when the window is closed.
2020-09-21Reload fonts when renderer is resetJaakko Keränen
For some reason, SDL deletes the contents of render targets when the window is resized. IssueID #6
2020-09-21Document theme color saturation preferenceJaakko Keränen
2020-09-21Added Prefs; placeholders for new optionsJaakko Keränen
2020-09-21Text: Using Unicode symbols in monospaceJaakko Keränen
If the regular monospace font is missing a Unicode character, one is used from Symbola. However, these replacements were taken from the wrong sized font. Also, since the replacements are not monospace (Symbola isn't) they are now centered in their location for a better alignment.
2020-09-20Improved text selection starting on empty spaceJaakko Keränen
IssueID #4
2020-09-20Text: Japanese font sized for UI textJaakko Keränen
This font is needed for example for tab titles where there are japanese glyphs.
2020-09-20Opening links in a new background tabJaakko Keränen
2020-09-20Widget: Expanded flags to 64 bitsJaakko Keränen
Ran out of room in 32 bits, more flags needed for arranging.
2020-09-20Centering widgets and sheet contentsJaakko Keränen
Added a new arrange flag for centering a child horizontally. The two-column layout in Preferences has expanding vertical paddings so the page contents are vertically centered.
2020-09-20Added tabs to make room for more preferencesJaakko Keränen
The Preferences sheet now has tabs (General, Proxies) so that more options can fit there in the future.
2020-09-20Text: Slightly smaller first paragraph font sizeJaakko Keränen
Added a new 1.2x font size and use it for first paragraphs.
2020-09-19Reload fonts when renderer is resetJaakko Keränen
For some reason, SDL deletes the contents of render targets when the window is resized. IssueID #6
2020-09-19Merge branch 'dev' into releaseJaakko Keränen
# Conflicts: # CMakeLists.txt # res/about/help.gmi # res/about/version.gmi # src/app.c # src/ui/documentwidget.c
2020-09-18DocumentWidget: Improved context menuJaakko Keränen
The contents of the menu depend on what is clicked and whether text has been selected.
2020-09-18Added build options for X11Jaakko Keränen
Build option to use software rendering if running under X11, and another option to set the position of a window only after the window has been shown. The latter is a workaround for an SDL bug regarding window borders affecting the initial position.
2020-09-18GmDocument: Added an icon for quote blocksJaakko Keränen
2020-09-18InputWidget: Update cursor position when text changesJaakko Keränen
2020-09-18DocumentWidget: Adjusted mouse wheel scroll amountJaakko Keränen
2020-09-18Improved download indicator and stop/reload buttonJaakko Keränen
Follow which tab is open and actually stop ongoing requests instead of restarting them.
2020-09-18CleanupJaakko Keränen
2020-09-18DocumentWidget: Inline image download indicatorJaakko Keränen
2020-09-17Download progress indicator for large downloadsJaakko Keränen