mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
8ba47facf6
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.
26 lines
410 B
C++
26 lines
410 B
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace GUI {
|
|
|
|
enum class ModelRole {
|
|
Display,
|
|
Sort,
|
|
ForegroundColor,
|
|
BackgroundColor,
|
|
Icon,
|
|
IconOpacity,
|
|
Font,
|
|
MimeData,
|
|
TextAlignment,
|
|
Search,
|
|
Custom = 0x100, // Applications are free to use roles above this number as they please
|
|
};
|
|
|
|
}
|