2015-04-11 15:44:53 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2015 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#ifndef OCARINA_GUI_QUEUE_WINDOW_H
|
|
|
|
#define OCARINA_GUI_QUEUE_WINDOW_H
|
|
|
|
|
2015-10-21 15:57:21 -04:00
|
|
|
extern "C" {
|
2015-11-30 09:39:53 -05:00
|
|
|
#include <core/containers/set.h>
|
2016-01-18 10:14:46 -05:00
|
|
|
#include <gui/queue.h>
|
2015-10-21 15:57:21 -04:00
|
|
|
}
|
2015-04-11 15:44:53 -04:00
|
|
|
#include <gtkmm.h>
|
|
|
|
|
|
|
|
class QueueWindow : public Gtk::ScrolledWindow {
|
2016-01-18 10:14:46 -05:00
|
|
|
public:
|
2015-04-11 15:44:53 -04:00
|
|
|
Glib::RefPtr<Gtk::Builder> _builder;
|
|
|
|
|
|
|
|
Gtk::TreeView *q_treeview;
|
|
|
|
|
|
|
|
QueueWindow(BaseObjectType *, const Glib::RefPtr<Gtk::Builder>);
|
|
|
|
~QueueWindow();
|
2015-11-16 09:12:15 -05:00
|
|
|
void init(queue *);
|
2015-04-17 21:03:31 -04:00
|
|
|
|
2016-01-06 10:27:28 -05:00
|
|
|
bool on_key_press(GdkEventKey *);
|
2015-04-11 15:44:53 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* OCARINA_GUI_QUEUE_WINDOW_H */
|