gui: History tab cleanups
This is a statically defined class, so we don't need to separate out the function definitions. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
a581b42649
commit
3dd123fbfd
|
@ -7,29 +7,23 @@
|
||||||
|
|
||||||
class HistoryTab : public Tab {
|
class HistoryTab : public Tab {
|
||||||
public:
|
public:
|
||||||
HistoryTab();
|
HistoryTab() : Tab(deck :: get_queue())
|
||||||
~HistoryTab();
|
{
|
||||||
|
tab_search = gui :: get_widget<Gtk::SearchEntry>("o_history_entry");
|
||||||
|
tab_size = gui :: get_widget<Gtk::Label>("o_history_size");
|
||||||
|
tab_treeview = gui :: get_widget<Gtk::TreeView>("o_history_treeview");
|
||||||
|
tab_widget = gui :: get_widget<Gtk::Widget>("o_history_page");
|
||||||
|
|
||||||
|
tab_finish_init();
|
||||||
|
}
|
||||||
|
|
||||||
|
~HistoryTab()
|
||||||
|
{
|
||||||
|
tab_unmap();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
HistoryTab :: HistoryTab()
|
|
||||||
: Tab(deck :: get_queue())
|
|
||||||
{
|
|
||||||
tab_search = gui :: get_widget<Gtk::SearchEntry>("o_history_entry");
|
|
||||||
tab_size = gui :: get_widget<Gtk::Label>("o_history_size");
|
|
||||||
tab_treeview = gui :: get_widget<Gtk::TreeView>("o_history_treeview");
|
|
||||||
tab_widget = gui :: get_widget<Gtk::Widget>("o_history_page");
|
|
||||||
|
|
||||||
tab_finish_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
HistoryTab :: ~HistoryTab()
|
|
||||||
{
|
|
||||||
tab_unmap();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static HistoryTab *history_tab;
|
static HistoryTab *history_tab;
|
||||||
|
|
||||||
void init_history_tab()
|
void init_history_tab()
|
||||||
|
|
Loading…
Reference in New Issue