summaryrefslogtreecommitdiff
path: root/src/ui/paint.c
AgeCommit message (Collapse)Author
2021-10-24CleanupJaakko Keränen
2021-09-19Refactoring Window to split off MainWindowJaakko Keränen
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups. Only MainWindow supports split view modes.
2021-09-18Paint: Set clip rectangle in split viewJaakko Keränen
2021-09-13Mobile: New selection logic for InputWidgetJaakko Keränen
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
2021-09-12Mobile: Better Settings tap targets; fixed safe area drawingJaakko Keränen
2021-09-12Mobile: Draw optimizations; focus handlingJaakko Keränen
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often. For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS. Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
2021-08-15SDL 2.0.16 line drawing regression (OpenGL renderer)Jaakko Keränen
This is not specific to macOS, but seems to affect OpenGL rendering on all platforms.
2021-08-15macOS: Workaround for an apparent SDL regressionJaakko Keränen
On macOS with SDL 2.0.16, there's a problem with the bottom right corner of a rectangle drawn as a line strip being off by one. SDL_RenderDrawLines() is behaving oddly on macOS with SDL 2.0.16.
2021-05-17SidebarWidget: Animate show/hideJaakko Keränen
Also addressed clipping issues when using multiple roots.
2021-05-03Paint: Fixed build with older SDL versionsJaakko Keränen
IssueID #259
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-27Refactor: Added a proper Root objectJaakko Keränen
`Root` encapsulates the root widget and the associated UI state.
2021-03-29Paint: Fixed clipping of negative X regionsJaakko Keränen
2021-03-18Draw soft popup menu border shadowsJaakko Keränen
2020-11-27Paint: Negative clipping rectangle positionJaakko Keränen
2020-09-22Drawing with alpha blendingJaakko Keränen
2020-09-12Paint: Keeping track of the set render targetJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-18SidebarWidget: Faster redrawsJaakko Keränen
Reuse previous contents if they are still valid.
2020-08-18Render target switchingJaakko Keränen
2020-08-11Document outline; jumping to clicked headingJaakko Keränen
2020-07-21Initial commitJaakko Keränen
Borrowing the app skeleton from Bitwise Harmony.