diff options
Diffstat (limited to 'adw/src/enums.cpp')
| -rw-r--r-- | adw/src/enums.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/adw/src/enums.cpp b/adw/src/enums.cpp index bcc8290..b93ac3d 100644 --- a/adw/src/enums.cpp +++ b/adw/src/enums.cpp @@ -44,6 +44,10 @@ namespace Adwaita static_assert(matches<LengthType::MinHeight, ADW_BREAKPOINT_CONDITION_MIN_HEIGHT>); static_assert(matches<LengthType::MaxHeight, ADW_BREAKPOINT_CONDITION_MAX_HEIGHT>); + static_assert(matches<PresentationMode::Auto, ADW_DIALOG_AUTO>); + static_assert(matches<PresentationMode::Floating, ADW_DIALOG_FLOATING>); + static_assert(matches<PresentationMode::BottomSheet, ADW_DIALOG_BOTTOM_SHEET>); + static_assert(matches<RatioType::MinAspectRatio, ADW_BREAKPOINT_CONDITION_MIN_ASPECT_RATIO>); static_assert(matches<RatioType::MaxAspectRatio, ADW_BREAKPOINT_CONDITION_MAX_ASPECT_RATIO>); @@ -67,6 +71,7 @@ namespace Glib VALUE_SPECIALIZATION(AccentColor, accent_color) VALUE_SPECIALIZATION(ColorScheme, color_scheme) VALUE_SPECIALIZATION(LengthType, breakpoint_condition) + VALUE_SPECIALIZATION(PresentationMode, dialog_presentation_mode); VALUE_SPECIALIZATION(RatioType, breakpoint_condition) VALUE_SPECIALIZATION(ResponseAppearance, response_appearance) VALUE_SPECIALIZATION(ToastPriority, toast_priority) |
