diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 20:20:32 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 20:23:04 +0200 |
| commit | 17d4b2f4cd0b1f2f7a3fe0948995206a9c64bd00 (patch) | |
| tree | 07057af77267a5bf1a0a24a79e09ac4ed43098aa /include/adwaitamm/enums.hpp | |
| parent | 29028ac7f3bfd3c719a08e5994d52e766c6c578f (diff) | |
| download | libadwaitamm-17d4b2f4cd0b1f2f7a3fe0948995206a9c64bd00.tar.xz libadwaitamm-17d4b2f4cd0b1f2f7a3fe0948995206a9c64bd00.zip | |
adw: move LengthType and RatioType
Diffstat (limited to 'include/adwaitamm/enums.hpp')
| -rw-r--r-- | include/adwaitamm/enums.hpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/adwaitamm/enums.hpp b/include/adwaitamm/enums.hpp index 9bc9f0e..2fca425 100644 --- a/include/adwaitamm/enums.hpp +++ b/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 |
