aboutsummaryrefslogtreecommitdiff
path: root/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
commit17f94ac916bccf340327d78d334c308aaabf371b (patch)
tree88b873ce1520ccb5762ec1dd3108919ab23482ef /include/adwaitamm/enums.hpp
parentafe4ebed3fc618ee42f1e2705c8ff6c7b38f4913 (diff)
downloadlibadwaitamm-17f94ac916bccf340327d78d334c308aaabf371b.tar.xz
libadwaitamm-17f94ac916bccf340327d78d334c308aaabf371b.zip
adw: add missing Dialog functions
Diffstat (limited to 'include/adwaitamm/enums.hpp')
-rw-r--r--include/adwaitamm/enums.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/adwaitamm/enums.hpp b/include/adwaitamm/enums.hpp
index 8cae39d..0d09833 100644
--- a/include/adwaitamm/enums.hpp
+++ b/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);