2014-09-10 08:43:11 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2014 (c) Anna Schumaker.
|
|
|
|
*/
|
2015-12-14 13:55:50 -05:00
|
|
|
extern "C" {
|
2015-12-17 10:32:01 -05:00
|
|
|
#include <core/audio.h>
|
2015-12-14 13:55:50 -05:00
|
|
|
#include <core/tempq.h>
|
2014-09-10 08:43:11 -04:00
|
|
|
#include <core/version.h>
|
2015-12-24 09:35:36 -05:00
|
|
|
#include <gui/builder.h>
|
2015-12-14 13:55:50 -05:00
|
|
|
}
|
2014-09-10 08:43:11 -04:00
|
|
|
#include <gui/ocarina.h>
|
2014-09-11 08:00:27 -04:00
|
|
|
#include <gui/tabs.h>
|
2014-09-10 08:43:11 -04:00
|
|
|
|
|
|
|
const std::string appname = "Ocarina ";
|
|
|
|
|
|
|
|
Gtk::Window *window_init()
|
|
|
|
{
|
2015-12-24 09:35:36 -05:00
|
|
|
Gtk::Window *window = Glib :: wrap(GTK_WINDOW(gui_builder_widget("o_window")), false);
|
2014-09-10 08:43:11 -04:00
|
|
|
|
|
|
|
window->set_title(appname + get_version());
|
2015-01-21 08:38:00 -05:00
|
|
|
window->set_icon_from_file(gui :: share_file("ocarina.png"));
|
2014-09-11 08:03:39 -04:00
|
|
|
|
2014-09-10 08:43:11 -04:00
|
|
|
return window;
|
|
|
|
}
|