📄 about.c
字号:
#ifdef HAVE_OGG_VORBIS gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_OGG_VORBIX */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Ogg Vorbis\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_SPEEX gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_SPEEX */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Ogg Speex\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_MPEG gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_MPEG */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("MPEG Audio (MPEG 1-2.5 Layer I-III)\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_MOD gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_MOD */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("MOD Audio (MOD, S3M, XM, IT, etc.)\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_MPC gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_MPC */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Musepack\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_MAC gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_MAC */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Monkey's Audio Codec\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_TAGLIB gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_TAGLIB */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Metadata (ID3, APE, Ogg comments)\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\n\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Output driver support:"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\n", -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_OSS gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_OSS */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("OSS Audio\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_ALSA gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_ALSA */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("ALSA Audio\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_JACK gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_JACK */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("JACK Audio Server\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef _WIN32 gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* _WIN32 */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Win32 Sound API\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\n\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Miscellaneous:"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\n", -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_SRC gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_SRC */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Internal Sample Rate Converter support\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_LADSPA gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_LADSPA */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("LADSPA plugin support\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_CDDB gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_CDDB */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("CDDB support\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_IFP gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_IFP */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("iRiver iFP driver support\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\t\t[", -1);#ifdef HAVE_SYSTRAY gtk_text_buffer_insert_at_cursor(buffer, MARK, -1);#else gtk_text_buffer_get_end_iter(buffer, &iter); gtk_text_buffer_insert_with_tags(buffer, &iter, MARK, -1, tag2, NULL);#endif /* HAVE_SYSTRAY */ gtk_text_buffer_insert_at_cursor(buffer, "]\t", -1); gtk_text_buffer_insert_at_cursor(buffer, _("Systray support\n"), -1); gtk_text_buffer_insert_at_cursor(buffer, "\n\n", -1); gtk_text_buffer_insert_at_cursor(buffer, _("This program is free software; you can redistribute it and/or modify\n\it under the terms of the GNU General Public License as published by\n\the Free Software Foundation; either version 2 of the License, or\n\(at your option) any later version.\n\n\This program is distributed in the hope that it will be useful,\n\but WITHOUT ANY WARRANTY; without even the implied warranty of\n\MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\GNU General Public License for more details.\n\n\You should have received a copy of the GNU General Public License\n\along with this program; if not, write to the Free Software\n\Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."), -1); gtk_text_buffer_get_iter_at_offset(buffer, &iter, 0); gtk_text_buffer_place_cursor(buffer, &iter); gtk_box_pack_end(GTK_BOX(vbox), frame, TRUE, TRUE, 6); gtk_container_add(GTK_CONTAINER(frame), scrolled_win); gtk_container_add(GTK_CONTAINER(scrolled_win), view); sprintf(path, "%s/logo.png", AQUALUNG_DATADIR); if ((pixbuf = gdk_pixbuf_new_from_file(path, NULL)) != NULL) { xpm = gtk_image_new_from_pixbuf (pixbuf); gtk_box_pack_start(GTK_BOX(vbox0), xpm, FALSE, FALSE, 0); gtk_widget_show(xpm); } gtk_widget_show_all(about_window); gtk_widget_grab_focus(ok_btn);}// vim: shiftwidth=8:tabstop=8:softtabstop=8 :
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -