summaryrefslogtreecommitdiff
path: root/src/ui/window.h
AgeCommit message (Collapse)Author
2021-02-13Windows: Custom frame app icon, finishing touchesJaakko Keränen
2021-02-13Windows: Further custom frame improvementsJaakko Keränen
Saving the window rectangle and snap mode. Frame title alignment.
2021-02-13Windows: Improved custom frame behaviorJaakko Keränen
Windows-key shortcuts and cursor edge snapping. Still missing: window shadow and saving the snap mode.
2021-02-12Windows: Custom frame behaviorJaakko Keränen
A borderless SDL window gets no standard window behavior, so this commit implements support for some of them. There is special handling for the window frame and various snapping modes. Not quite finished yet... It might make sense to research if a custom window class could work with this app (with SDL); could be less work.
2021-02-11Windows: Draw something immediately when the window is openedJaakko Keränen
Avoids having a flash of white or other system-provided default window contents when opening a window for the first time.
2021-02-10App: Events posted early may cause a crashJaakko Keränen
Attempting to ask SDL about a non-existent window's ID.
2021-02-10Window: Keep scroll position when resizing verticallyJaakko Keränen
IssueID #138
2021-02-03Window: Fullscreen mode shouldn't affect the retained window rectJaakko Keränen
IssueID #130
2020-12-15Window: Show a little animation during downloadsJaakko Keränen
The Stop/Reload button shows a little Unicode animation during downloads. IssueID #101
2020-11-28Workaround for SDL window resize issueJaakko Keränen
Rearrange and draw window contents with an event watcher during window resizing because SDL is blocking the main thread. Tested on macOS so far, may need a build option. In reference to SDL bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2077
2020-10-25Window: Workaround for a key handling issueJaakko Keränen
Likely a rare situation, but this workaround should be relatively safe -- ignore keydown events if they occur less than 10 milliseconds after the window has received input focus. IssueID #10
2020-10-20Added quote indicator preferenceJaakko Keränen
Also, added a command that gets posted when the mouse exits or enters the window area. This lets the hover outline to be updated accordingly.
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-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-08-25Window: Avoid setting cursor multiple times per eventJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-19Manage mouse cursors at window levelJaakko Keränen
The modal sheets switch mouse cursor to the default arrow.
2020-08-16Added Pure Black and Pure White themesJaakko Keränen
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width. Sheets are mouse-modal.
2020-08-14Cleaner window initializationJaakko Keränen
Create the window using the correct size and position, and don’t show the window contents while app state is being restored.
2020-07-28Loading and rendering images in the documentJaakko Keränen
There can be multiple inline media requests on the page. Images are always associated with a link.
2020-07-23Entering URLs and updating the navbarJaakko Keränen
2020-07-21Initial commitJaakko Keränen
Borrowing the app skeleton from Bitwise Harmony.