summaryrefslogtreecommitdiff
path: root/csrc/widgets/control-center/control-slider.h
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
commit1af3d14f3f995645a0de08a54b244c19840709e9 (patch)
tree3c4098863d8a8fd004a2acc8912a23b6036ab4dd /csrc/widgets/control-center/control-slider.h
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
Diffstat (limited to 'csrc/widgets/control-center/control-slider.h')
-rw-r--r--csrc/widgets/control-center/control-slider.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/csrc/widgets/control-center/control-slider.h b/csrc/widgets/control-center/control-slider.h
new file mode 100644
index 0000000..f797b5c
--- /dev/null
+++ b/csrc/widgets/control-center/control-slider.h
@@ -0,0 +1,28 @@
+#pragma once
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define FOOBAR_TYPE_CONTROL_SLIDER foobar_control_slider_get_type( )
+
+G_DECLARE_FINAL_TYPE( FoobarControlSlider, foobar_control_slider, FOOBAR, CONTROL_SLIDER, GtkWidget )
+
+GtkWidget* foobar_control_slider_new ( void );
+gchar const* foobar_control_slider_get_icon_name ( FoobarControlSlider* self );
+gchar const* foobar_control_slider_get_label ( FoobarControlSlider* self );
+gboolean foobar_control_slider_can_expand ( FoobarControlSlider* self );
+gboolean foobar_control_slider_is_expanded ( FoobarControlSlider* self );
+gint foobar_control_slider_get_percentage( FoobarControlSlider* self );
+void foobar_control_slider_set_icon_name ( FoobarControlSlider* self,
+ gchar const* value );
+void foobar_control_slider_set_label ( FoobarControlSlider* self,
+ gchar const* value );
+void foobar_control_slider_set_can_expand( FoobarControlSlider* self,
+ gboolean value );
+void foobar_control_slider_set_expanded ( FoobarControlSlider* self,
+ gboolean value );
+void foobar_control_slider_set_percentage( FoobarControlSlider* self,
+ gint value );
+
+G_END_DECLS