/* * Copyright 2015 (c) Anna Schumaker. */ #ifndef OCARINA_GUI_QUEUE_TOOLBAR_H #define OCARINA_GUI_QUEUE_TOOLBAR_H #include enum toolbar_flags { T_RANDOM = (1 << 0), T_REPEAT = (1 << 1), T_SWITCH = (1 << 2), }; class QueueToolbar : public Gtk::HBox { private: Glib::RefPtr _builder; public: Gtk::SearchEntry *q_search; Gtk::Switch *q_switch; Gtk::ToggleButton *q_repeat; Gtk::ToggleButton *q_random; QueueToolbar(BaseObjectType *, const Glib::RefPtr); ~QueueToolbar(); void init(unsigned int); }; #endif /* OCARINA_GUI_QUEUE_TOOLBAR_H */