ocarina: Load a file through the gui

I call the new libsaria load function with a file selected through the
gui.
This commit is contained in:
Bryan Schumaker 2011-08-23 08:29:46 -04:00
parent 1831046685
commit 11f972aee4
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ static void on_click_open_file(GtkWidget *b, GdkEvent *e, gpointer d)
{
string file = ocarina_choose_file();
print("Playing file: " + file);
libsaria_get()->load(file);
}
GtkWidget *make_open_button(GtkIconSize size)