⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vis.h

📁 xmms-1.2.10.tar.gz学习使用的就下吧
💻 H
字号:
/*  XMMS - Cross-platform multimedia player *  Copyright (C) 1998-2000  Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies * *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU General Public License as published by *  the Free Software Foundation; either version 2 of the License, or *  (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program; if not, write to the Free Software *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */#ifndef VIS_H#define VIS_Htypedef enum{	VIS_ANALYZER, VIS_SCOPE, VIS_OFF}VisType;typedef enum{	ANALYZER_NORMAL, ANALYZER_FIRE, ANALYZER_VLINES}AnalyzerMode;typedef enum{	ANALYZER_LINES, ANALYZER_BARS}AnalyzerType;typedef enum{	SCOPE_DOT, SCOPE_LINE, SCOPE_SOLID}ScopeMode;typedef enum{	VU_NORMAL, VU_SMOOTH}VUMode;typedef enum{	REFRESH_FULL, REFRESH_HALF, REFRESH_QUARTER, REFRESH_EIGTH}RefreshRate;typedef enum{	FALLOFF_SLOWEST, FALLOFF_SLOW, FALLOFF_MEDIUM, FALLOFF_FAST, FALLOFF_FASTEST}FalloffSpeed;typedef struct{	Widget vs_widget;	GdkWindow *vs_window;	gfloat vs_data[75], vs_peak[75], vs_peak_speed[75];	gint vs_refresh_delay;	gboolean vs_doublesize;}Vis;void vis_draw(Widget * w);Vis *create_vis(GList ** wlist, GdkPixmap * parent, GdkWindow * window, GdkGC * gc, gint x, gint y, gint width, gboolean doublesize);void vis_timeout_func(Vis * vis, guchar * data);void vis_clear_data(Vis * vis);void vis_clear(Vis * vis);void vis_set_doublesize(Vis * vis, gboolean doublesize);void vis_set_window(Vis * vis, GdkWindow * window);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -