mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 03:26:10 +00:00
LibGUI: Add ModelRole::IconOpacity and support it in all views :^)
This role allows you to specify a custom opacity for icon painting. Note that the opacity is not in effect when the item is either selected and/or hovered.
This commit is contained in:
parent
2d1eff01a2
commit
8ba47facf6
Notes:
sideshowbarker
2024-07-18 08:02:34 +09:00
Author: https://github.com/awesomekling
Commit: 8ba47facf6
6 changed files with 20 additions and 10 deletions
|
@ -14,6 +14,7 @@ enum class ModelRole {
|
|||
ForegroundColor,
|
||||
BackgroundColor,
|
||||
Icon,
|
||||
IconOpacity,
|
||||
Font,
|
||||
MimeData,
|
||||
TextAlignment,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue