mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
WindowServer: Allow different shadows for active/inactive windows
Also allow specifying different shadows for the task and menu bar.
This commit is contained in:
parent
8c694ed6eb
commit
cf1c159ed5
10 changed files with 41 additions and 12 deletions
|
@ -140,8 +140,11 @@ public:
|
|||
int window_title_button_height() const { return metric(MetricRole::TitleButtonHeight); }
|
||||
|
||||
String title_button_icons_path() const { return path(PathRole::TitleButtonIcons); }
|
||||
String window_shadow_path() const { return path(PathRole::WindowShadow); }
|
||||
String active_window_shadow_path() const { return path(PathRole::ActiveWindowShadow); }
|
||||
String inactive_window_shadow_path() const { return path(PathRole::InactiveWindowShadow); }
|
||||
String menu_bar_shadow_path() const { return path(PathRole::MenuBarShadow); }
|
||||
String menu_shadow_path() const { return path(PathRole::MenuShadow); }
|
||||
String task_bar_shadow_path() const { return path(PathRole::TaskBarShadow); }
|
||||
String tooltip_shadow_path() const { return path(PathRole::TooltipShadow); }
|
||||
|
||||
Color color(ColorRole role) const { return m_impl->color(role); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue