Mercurial > hg > xmms-sid
diff src/xmms-sid.cc @ 42:0f00ebab063d
Fixes
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 19 Jun 2003 23:50:01 +0000 |
parents | 1788f4ce6a44 |
children | 90cd38b28a72 |
line wrap: on
line diff
--- a/src/xmms-sid.cc Thu Jun 19 23:50:00 2003 +0000 +++ b/src/xmms-sid.cc Thu Jun 19 23:50:01 2003 +0000 @@ -29,6 +29,8 @@ #include <xmms/util.h> #include <xmms/titlestring.h> #include "xmms-sid.h" +#include "xs_interface.h" +#include "xs_glade.h" #include "xs_support.h" #include "xs_config.h" #include "xs_length.h" @@ -55,8 +57,10 @@ #endif #ifdef HAVE_SIDPLAY2 +static sidplay2 xs_emuEngine; #endif +static GtkWidget *xs_ctrlwin = NULL; static pthread_t xs_decode_thread; struct t_xs_cfg xs_cfg; @@ -69,6 +73,22 @@ pthread_mutex_t xs_mutex = PTHREAD_MUTEX_INITIALIZER; +/* + * Create sub-song control window + */ +void xs_ctrlwin_open(void) +{ + /* Create sub-song control window */ + if (xs_ctrlwin != NULL) + { + gdk_window_raise(xs_ctrlwin->window); + return; + } + + xs_ctrlwin = create_xs_ctrlwin(); + gtk_widget_show(xs_ctrlwin); +} + /* * Initialize XMMS-SID @@ -111,10 +131,11 @@ } /* Initialize STIL structures */ + + xs_ctrlwin_open(); + // FIXME FIXME FIx ME - /* Create sub-song control window */ -// FIX ME FIXME }