]> err.no Git - mapper/commitdiff
Add Audio tab with a very simple interface (more of debug/testing interface for now)
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 28 Feb 2008 14:05:36 +0000 (16:05 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 28 Feb 2008 14:05:36 +0000 (16:05 +0200)
src/ui-common.c

index 140f73a7ddc6ff112089ec161ef15e123a3762b7..821c9ab14774cc012e9a044625efe3ce24acee6e 100644 (file)
 #include "map-repo.h"
 #include "poi-gui.h"
 
+#ifdef WITH_GST
+#include "audio-note.h"
+#endif
+
 /* Callbacks */
 #include "cb.h"
 
@@ -61,6 +65,7 @@ struct ui_notebook_struct {
        gint route;
        gint track;
        gint qpoi;
+       gint audio;
 };
 struct ui_notebook_struct ui_notebook;
 
@@ -720,6 +725,15 @@ tqp.close=FALSE;
 vbox=poi_quick_button_box(&tqp);
 ui_notebook.qpoi=gtk_notebook_append_page(notebook, vbox, label);
 
+#ifdef WITH_GST
+{
+audio_note_ui *an_ui;
+label=gtk_label_new("Audio");
+an_ui=audio_note_new();
+ui_notebook.audio=gtk_notebook_append_page(notebook, an_ui->vbox, label);
+}
+#endif
+
 menu_maps_add_repos();
 menu_init_cmenu();