diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-29 12:30:21 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-29 12:32:34 +0200 |
| commit | 673e58ca36421bb560d4e04277b6b58ce6e0db6f (patch) | |
| tree | 4688e5b25a4bceac10c38a9ef0dc966d8f5131c2 /src/enums.cpp | |
| parent | 68b3389d282284a59329c9c6a6603c7045a2db72 (diff) | |
| download | libadwaitamm-673e58ca36421bb560d4e04277b6b58ce6e0db6f.tar.xz libadwaitamm-673e58ca36421bb560d4e04277b6b58ce6e0db6f.zip | |
adw: implement ToolbarView
Diffstat (limited to 'src/enums.cpp')
| -rw-r--r-- | src/enums.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/enums.cpp b/src/enums.cpp index b93ac3d..57a6c32 100644 --- a/src/enums.cpp +++ b/src/enums.cpp @@ -6,8 +6,6 @@ #include "adwaitamm/enums.hpp" -#include "adwaitamm/stylemanager.hpp" - #include <adwaita.h> #include <glib-object.h> @@ -58,6 +56,10 @@ namespace Adwaita static_assert(matches<ToastPriority::Normal, ADW_TOAST_PRIORITY_NORMAL>); static_assert(matches<ToastPriority::High, ADW_TOAST_PRIORITY_HIGH>); + static_assert(matches<ToolbarStyle::Flat, ADW_TOOLBAR_FLAT>); + static_assert(matches<ToolbarStyle::Raised, ADW_TOOLBAR_RAISED>); + static_assert(matches<ToolbarStyle::RaisedBorder, ADW_TOOLBAR_RAISED_BORDER>); + } // namespace Adwaita namespace Glib @@ -71,10 +73,11 @@ 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(PresentationMode, dialog_presentation_mode) VALUE_SPECIALIZATION(RatioType, breakpoint_condition) VALUE_SPECIALIZATION(ResponseAppearance, response_appearance) VALUE_SPECIALIZATION(ToastPriority, toast_priority) + VALUE_SPECIALIZATION(ToolbarStyle, toolbar_style) #undef VALUE_SPECIALIZATION } // namespace Glib
\ No newline at end of file |
