summaryrefslogtreecommitdiff
path: root/src/ui/widget.c
AgeCommit message (Collapse)Author
2021-01-17Improved menu button behaviorJaakko Keränen
Clicking a menu button while the menu is open should just close the menu. Menus should not close if the mouse pointer leaves the window.
2020-12-04Added a second sidebar; removed hover outlineJaakko Keränen
A sidebar on the right is a better solution than a kludgy non-interactive special-purpose outline that appears when hoving the mouse on the document scrollbar.
2020-11-27Widget: Allow scrolling tall widgetsJaakko Keränen
Useful for menus and dialogs that wouldn't fit inside the window.
2020-10-31Preferences: Changed apperance of tabsJaakko Keränen
2020-10-29LabelWidget: Flag for wrapping textJaakko Keränen
Widgets now have an optional virtual method that gets called when the size of the widget changes during arranging. Wrapped text in LabelWidget uses this to update its height.
2020-10-09Fixed memory leak on tab closeJaakko Keränen
The DocumentWidget was not actually deleted when a tab was closed, only hidden.
2020-09-21Radio button widget flagJaakko 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-16Dismiss menus when clicking outside themJaakko Keränen
Added a new widget flag for notifying about missed mouse clicks. Only used in popup menus at the moment. IssueID #2
2020-09-10Fixed switching focus with Tab keyJaakko Keränen
Focus should go from URL bar to lookup results, and only then to the find bar.
2020-09-10CleanupJaakko Keränen
2020-09-07Widget: Fixed arranging where widgets uncollapseJaakko Keränen
2020-09-07Updating URL after selecting lookup itemJaakko Keränen
2020-09-06Widget: API convenience; fixed position flagJaakko Keränen
2020-09-05Widget: More granularity for drawing widgetsJaakko Keränen
Allow draw background and children separately.
2020-09-05Refactor: ListWidget for a general purpose listJaakko Keränen
The sidebar uses a ListWidget now, but the layout needs fixing.
2020-08-24SidebarWidget: List identities as sidebar itemsJaakko Keränen
2020-08-23Widget: Keep-on-top widgets have an orderJaakko Keränen
2020-08-23Widget: Optional padding for child arrangementJaakko 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-14Deleting bookmarksJaakko Keränen
2020-08-14Bookmarks: Store in a hash with unique IDsJaakko Keränen
2020-08-13Toggle sidebar visibility; save width and modeJaakko Keränen
2020-08-12Working on sidebar resizingJaakko Keränen
2020-08-11Fixed widget arrangement issueJaakko Keränen
2020-08-10Tab bar is hidden when there is a single tabJaakko Keränen
Needed some fixes in the widget arrangement behavior.
2020-08-09Closing and duplicating tabsJaakko Keränen
2020-08-09Closing tabs/windowJaakko Keränen
2020-08-08Creating new tabs; cleaned up DocumentWidgetJaakko Keränen
2020-07-27Widget: Added flag for collapsing during arrangeJaakko Keränen
2020-07-25Right/center-aligned text; fixed menu shortcutsJaakko Keränen
2020-07-25Widget: Drawing optional framesJaakko Keränen
2020-07-25Basic navigation history; Back and Forward are workingJaakko Keränen
2020-07-23DocumentWidget: Scrolling via scrollbar and keysJaakko Keränen
2020-07-23Added ScrollWidget for scroll barsJaakko Keränen
2020-07-21Initial commitJaakko Keränen
Borrowing the app skeleton from Bitwise Harmony.