vgmstream/unix/gui.c
paladine 4814b482fb Added initial implement of the audacious plugin for audacious 1.4.x or higher.
There are still a few things to do such as add a configuration GUI, but
these things are marked via TODO in the source files.

I also added the autoconf/automake building system.  To generate everything
you need, run ./bootstrap in the top level directory, it will generate the
configure script.  Then run ./configure.  It will generate Makefile.unix, so
build it via make -f Makefile.unix.  Everything should be setup properly, after
building, execute 'make -f Makefile.unix install' to install.




git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@165 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-18 17:17:49 +00:00

32 lines
834 B
C

#include <audacious/util.h>
#include <audacious/configdb.h>
#include <glib.h>
#include <gtk/gtk.h>
#include "gui.h"
#include "version.h"
#include <stdio.h>
#include <stdarg.h>
static GtkWidget *about_box;
void vgmstream_gui_about()
{
if (about_box)
{
gdk_window_raise(about_box->window);
return;
}
about_box = audacious_info_dialog(
(gchar *) "About VGMStream Decoder",
(gchar *) "[ VGMStream Decoder ]\n\n"
"audacious-vgmstream version: " AUDACIOUSVGMSTREAM_VERSION "\n\n"
"audacious-vgmstream written by Todd Jeffreys (http://voidpointer.org/)\n"
"vgmstream written by hcs (http://www.sf.net/projects/vgmstream)",
(gchar *) "OK",
FALSE, NULL, NULL);
gtk_signal_connect(GTK_OBJECT(about_box), "destroy",
GTK_SIGNAL_FUNC(gtk_widget_destroyed), &about_box);
}