summaryrefslogtreecommitdiff
path: root/adw/include/adwaitamm/enums.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'adw/include/adwaitamm/enums.hpp')
-rw-r--r--adw/include/adwaitamm/enums.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/adw/include/adwaitamm/enums.hpp b/adw/include/adwaitamm/enums.hpp
index 9bc9f0e..2fca425 100644
--- a/adw/include/adwaitamm/enums.hpp
+++ b/adw/include/adwaitamm/enums.hpp
@@ -29,12 +29,27 @@ namespace Adwaita
ForceDark,
};
+ enum struct LengthType
+ {
+ MinWidth,
+ MaxWidth,
+ MinHeight,
+ MaxHeight,
+ };
+
+ enum struct RatioType
+ {
+ MinAspectRatio,
+ MaxAspectRatio
+ };
+
enum struct ResponseAppearance
{
Default,
Suggested,
- Destructive,
+ Destructive,
};
+
} // namespace Adwaita
namespace Glib
@@ -50,6 +65,8 @@ namespace Glib
VALUE_SPECIALIZATION(AccentColor);
VALUE_SPECIALIZATION(ColorScheme);
+ VALUE_SPECIALIZATION(LengthType);
+ VALUE_SPECIALIZATION(RatioType);
VALUE_SPECIALIZATION(ResponseAppearance);
#undef VALUE_SPECIALIZATION