1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

LibGUI+WindowServer+DisplaySettings: Add Tooltips to SystemEffects

Tooltips can now be toggled on and off system-wide.
This commit is contained in:
thankyouverycool 2022-08-15 06:00:33 -04:00 committed by Andreas Kling
parent d286bf85e6
commit a74f512f6b
5 changed files with 20 additions and 0 deletions

View file

@ -24,6 +24,7 @@ enum Effects : size_t {
SmoothScrolling,
TabAccents,
SplitterKnurls,
Tooltips,
MenuShadow,
WindowShadow,
TooltipShadow,
@ -85,6 +86,7 @@ public:
bool tab_accents() const { return m_effects[TabAccents]; }
bool splitter_knurls() const { return m_effects[SplitterKnurls]; }
bool tooltips() const { return m_effects[Tooltips]; }
bool menu_shadow() const { return m_effects[MenuShadow]; }
bool window_shadow() const { return m_effects[WindowShadow]; }