summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/ClassicWindowTheme.h
AgeCommit message (Collapse)Author
2023-01-03LibGfx: Make ClassicWindowTheme menubar heights respect the font sizeAndreas Kling
2022-08-25LibGfx+LibGUI+WindowServer+Apps+Demos: Replace ToolWindowsthankyouverycool
with the RenderAbove WindowMode. This mode will ensure child windows always draw above their parents, even when focus is lost. RenderAbove modals are automatically themed the same as the old ToolWindows. Fixes ToolWindows rendering above ALL normal windows, regardless of parent. We can't rely on WindowType to create these sort of effects because of WindowManager's strict display hierarchy.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-17Libraries: Use default constructors/destructors in LibGfxLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-01-07Everywhere: Fix spelling mistakesmjz19910
2021-11-11Everywhere: Pass AK::StringView by valueAndreas Kling
2021-07-05LibGfx: Fix classic theme frame transparency checkTom
We shouldn't use the title stripe or title shadow colors to determine whether the frame itself is going to have alpha channels or not. This caused e.g. the classic theme's window frame to be rendered as transparency just because the stripe color had an alpha channel of 0.
2021-05-01WindowServer+LibGfx: Automatic "modified" markers in window titlesAndreas Kling
You can now add the string "[*]" to a window title and it will be replaced with " (*)" if the window is modified, and with "" otherwise.
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-18Everywhere: Rename title_bar => titlebarAndreas Kling
2021-03-31WindowServer+LibGfx: Rename menu_bar => menubarAndreas Kling
We had a mix of "menu_bar" and "menubar". Let's just use "menubar" everywhere since that feels the most natural to write.
2021-03-25WindowServer+LibGfx: Show menus in windows! :^)Andreas Kling
This patch begins the transition away from the global menu towards per-window menus instead. The global menu looks neat, but has always felt clunky, and there are a number of usability problems with it, especially in programs with multiple windows. You can now call GUI::Window::set_menubar() to add a menubar to your window. It will be specific to that one window only.
2021-02-16WindowServer+LibGUI+LibGfx: Add WindowType::ToolWindowAndreas Kling
Tool windows are secondary windows with a smaller title bar. The sit on the layer above normal windows, and cannot be minimized. These are intended for complex yet non-modal interactions with the content of a primary window, such as find/replace windows, property windows, etc.
2021-02-15WindowServer: Add support for alpha channel based hit testingTom
This enables implementing non-rectangular window shapes, including non-rectangular window frames.
2021-02-13WindowServer: Improvements to support alpha channel in window framesTom
This fixes some issues handling the alpha channel that may be present in rendered window frames. Fixes #5303
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-12Libraries: Move to Userland/Libraries/Andreas Kling