2020-08-16 11:00:07 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-08-16 11:00:07 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
namespace GUI {
|
|
|
|
|
|
|
|
|
|
enum class ModelRole {
|
|
|
|
|
Display,
|
|
|
|
|
Sort,
|
|
|
|
|
ForegroundColor,
|
|
|
|
|
BackgroundColor,
|
|
|
|
|
Icon,
|
2021-07-27 12:23:52 -03:00
|
|
|
IconOpacity,
|
2020-08-16 11:00:07 -03:00
|
|
|
Font,
|
2020-11-07 16:44:21 -03:00
|
|
|
MimeData,
|
2020-08-16 11:00:07 -03:00
|
|
|
TextAlignment,
|
|
|
|
|
Search,
|
|
|
|
|
Custom = 0x100, // Applications are free to use roles above this number as they please
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|