From 0b4f979c001835b20ff75a848eee83f59c1397c0 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 28 Apr 2025 11:22:20 +0200 Subject: adw: implement SpinRow --- adw/include/adwaitamm/private/spinrow_p.hpp | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 adw/include/adwaitamm/private/spinrow_p.hpp (limited to 'adw/include/adwaitamm/private') diff --git a/adw/include/adwaitamm/private/spinrow_p.hpp b/adw/include/adwaitamm/private/spinrow_p.hpp new file mode 100644 index 0000000..f99c28d --- /dev/null +++ b/adw/include/adwaitamm/private/spinrow_p.hpp @@ -0,0 +1,35 @@ +/** + * @author Felix Morgner (felix.morgner@gmail.com) + * @copyright Copyright (c) 2025 + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifndef LIBADWAITAMM_PRIVATE_SPIN_ROW_P_HPP +#define LIBADWAITAMM_PRIVATE_SPIN_ROW_P_HPP + +#include "adwaitamm/private/actionrow_p.hpp" + +#include +#include + +#define _ADWAITA_INSIDE +#include +#undef _ADWAITA_INSIDE + +namespace Adwaita +{ + struct SpinRow_Class : Glib::Class + { + using BaseClassParent = AdwActionRowClass; + using BaseClassType = AdwSpinRowClass; + using BaseObjectType = AdwSpinRow; + using CppClassParent = ActionRow_Class; + using CppObjectType = struct SpinRow; + + auto init() -> Glib::Class const &; + auto static class_init_function(void * gclass, void * data) -> void; + auto static wrap_new(GObject * object) -> Glib::ObjectBase *; + }; +} // namespace Adwaita + +#endif \ No newline at end of file -- cgit v1.2.3