summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/SystemTheme.h
AgeCommit message (Collapse)Author
2021-09-12LibGfx: Add SystemTheme::load_system_theme(Core::ConfigFile const&)Karol Kosek
This makes loading system themes possible via FileSystemAccessClient (needed for the Theme Editor). :^)
2021-07-28LibGfx+Base: Add a themable "Accent" color roleAndreas Kling
This can be used by GUI widgets to draw attention to a specific part of the widget, for example the currently active sub-widget component.
2021-06-13LibGUI+HackStudio: Make gutter a first class elementDmitrii Ubskii
Gutter -- a space left of the text, before the ruler -- is not a part of the ruler, nor should it be treated as such. This commit implements gutter handling in LibGUI::TextEditor as part of mild cleaning up of the gutter handling (breakpoint icons) in HackStudio's Editor. This commit also enables separate theming of the gutter.
2021-05-20LibGfx: Remove unused current_system_theme() functionAndreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-13Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"Andreas Kling
I hereby declare these to be full nouns that we don't split, neither by space, nor by underscore: - Breadcrumbbar - Coolbar - Menubar - Progressbar - Scrollbar - Statusbar - Taskbar - Toolbar This patch makes everything consistent by replacing every other variant of these with the proper one. :^)
2021-04-09LibGfx+Base: Add Tray/TrayText theme colors and Gfx::ButtonStyle::TrayAndreas Kling
A "Tray" is a sunken container area for widgets. The first intended client of this style is the GUI::FilePicker's common locations frame. Thanks to @nvella for coming up with the term "Tray" :^)
2021-03-31WindowServer+LibGfx: Remove code for drawing the old-style menu barAndreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-11WindowServer: Allow different shadows for active/inactive windowsTom
Also allow specifying different shadows for the task and menu bar.
2021-02-09WindowServer: Allow specifying different shadows for menus and tooltipsTom
Also update the Redmond 2000 theme to drop shadows more Redmond-like.
2021-02-09WindowServer: Implement simple window shadowsTom
This implements simple window shadows around most windows, including tooltips. Because this method uses a bitmap for the shadow bits, it is limited to rectangular window frames. For non-rectangular window frames we'll need to implement a more sophisticated algorithm.
2021-01-16WindowServer+LibGUI: Pass the system theme using Core::AnonymousBufferAndreas Kling
This was the last remaining user of shbufs in WindowServer, and so WindowServer no longer pledges "shared_buffer" :^)
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling