1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

FileManager+LibGUI: Draw the item text for desktop icons with shadow

This makes it look nice regardless of wallpaper or background color.
This commit is contained in:
Andreas Kling 2020-12-16 12:16:14 +01:00
parent 0fef901513
commit 2759d518b7
3 changed files with 10 additions and 1 deletions

View file

@ -127,6 +127,8 @@ public:
bool is_tab_key_navigation_enabled() const { return m_tab_key_navigation_enabled; }
void set_tab_key_navigation_enabled(bool enabled) { m_tab_key_navigation_enabled = enabled; }
void set_draw_item_text_with_shadow(bool b) { m_draw_item_text_with_shadow = b; }
protected:
AbstractView();
virtual ~AbstractView() override;
@ -191,6 +193,7 @@ private:
bool m_multi_select { true };
bool m_tab_key_navigation_enabled { false };
bool m_is_dragging { false };
bool m_draw_item_text_with_shadow { false };
};
}