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:
parent
1831046685
commit
11f972aee4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue