comparison audacious/widgets/vis.h @ 2203:60bd49189fde trunk

[svn] - two realcolour modes for voiceprint vis: Fire and Ice - removed duplicate code from vis.c
author marvin
date Fri, 22 Dec 2006 20:10:22 -0800
parents c12319817d7e
children
comparison
equal deleted inserted replaced
2202:d1804718c5cc 2203:60bd49189fde
44 } AnalyzerType; 44 } AnalyzerType;
45 45
46 typedef enum { 46 typedef enum {
47 SCOPE_DOT, SCOPE_LINE, SCOPE_SOLID 47 SCOPE_DOT, SCOPE_LINE, SCOPE_SOLID
48 } ScopeMode; 48 } ScopeMode;
49 typedef enum {
50 VOICEPRINT_NORMAL, VOICEPRINT_FIRE, VOICEPRINT_ICE
51 } VoiceprintMode;
52
49 53
50 typedef enum { 54 typedef enum {
51 VU_NORMAL, VU_SMOOTH 55 VU_NORMAL, VU_SMOOTH
52 } VUMode; 56 } VUMode;
53 57
71 75
72 76
73 typedef struct _Vis Vis; 77 typedef struct _Vis Vis;
74 78
75 void vis_draw(Widget * w); 79 void vis_draw(Widget * w);
80 void vis_draw_pixel(Vis * vis, guchar *texture, gint x, gint y, guint8 colour);
76 81
77 Vis *create_vis(GList ** wlist, GdkPixmap * parent, GdkWindow * window, 82 Vis *create_vis(GList ** wlist, GdkPixmap * parent, GdkWindow * window,
78 GdkGC * gc, gint x, gint y, gint width, gboolean doublesize); 83 GdkGC * gc, gint x, gint y, gint width, gboolean doublesize);
79 void vis_timeout_func(Vis * vis, guchar * data); 84 void vis_timeout_func(Vis * vis, guchar * data);
80 void vis_clear_data(Vis * vis); 85 void vis_clear_data(Vis * vis);