From 75d662f71d8eeb4b1c83e9bb61c1bd56f9b0e959 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 21 Jul 2018 04:55:31 +0200 Subject: adding gtk-theme --- src/ui/widget/preferences-widget.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/ui/widget/preferences-widget.h') diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h index 8e1602ff9..f75079c77 100644 --- a/src/ui/widget/preferences-widget.h +++ b/src/ui/widget/preferences-widget.h @@ -181,6 +181,16 @@ public: */ void init(Glib::ustring const &prefs_path, Glib::ustring labels[], Glib::ustring values[], int num_items, Glib::ustring default_value); + /** + * Initialize a combo box. + * with vectors. + */ + void init(Glib::ustring const &prefs_path, + std::vector labels, std::vector values, int default_value); + + void init(Glib::ustring const &prefs_path, + std::vector labels, std::vector values, Glib::ustring default_value); + protected: Glib::ustring _prefs_path; std::vector _values; -- cgit v1.2.3