summaryrefslogtreecommitdiff
path: root/adw/include/adwaitamm/enums.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-28 08:24:15 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-28 09:39:16 +0200
commit33d8a352eca90a530d560175f5406a5bde5e2861 (patch)
treee34244ae066b8b1d206a78b8862415d41b4ef548 /adw/include/adwaitamm/enums.hpp
parent663ec6def00cb498eb12de363ddb721828ab8175 (diff)
downloadturns-33d8a352eca90a530d560175f5406a5bde5e2861.tar.xz
turns-33d8a352eca90a530d560175f5406a5bde5e2861.zip
adw: add missing Dialog functions
Diffstat (limited to 'adw/include/adwaitamm/enums.hpp')
-rw-r--r--adw/include/adwaitamm/enums.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/adw/include/adwaitamm/enums.hpp b/adw/include/adwaitamm/enums.hpp
index 8cae39d..0d09833 100644
--- a/adw/include/adwaitamm/enums.hpp
+++ b/adw/include/adwaitamm/enums.hpp
@@ -43,6 +43,13 @@ namespace Adwaita
MaxHeight,
};
+ enum struct PresentationMode
+ {
+ Auto,
+ Floating,
+ BottomSheet,
+ };
+
enum struct RatioType
{
MinAspectRatio,
@@ -78,6 +85,7 @@ namespace Glib
VALUE_SPECIALIZATION(AccentColor);
VALUE_SPECIALIZATION(ColorScheme);
VALUE_SPECIALIZATION(LengthType);
+ VALUE_SPECIALIZATION(PresentationMode);
VALUE_SPECIALIZATION(RatioType);
VALUE_SPECIALIZATION(ResponseAppearance);
VALUE_SPECIALIZATION(ToastPriority);