summaryrefslogtreecommitdiff
path: root/src/ui/window.h
AgeCommit message (Collapse)Author
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.