diff audacious/widgets/vis.h @ 1938:1d9c1026d9f8 trunk

[svn] - DoubleSize support. This has bugs, the most notable one being that DoubleSize only works right if you restart the player. The second bug is rather obvious too. No osmosis skinengine. No TinyPlayer. Classic-esque skinengine only. This is because the doublesize algorithm hates you and wants you to go die in a fire.
author nenolod
date Sun, 05 Nov 2006 04:43:16 -0800
parents a6e6d3500c13
children c12319817d7e
line wrap: on
line diff
--- a/audacious/widgets/vis.h	Sun Nov 05 02:38:25 2006 -0800
+++ b/audacious/widgets/vis.h	Sun Nov 05 04:43:16 2006 -0800
@@ -66,6 +66,7 @@
     GdkWindow *vs_window;
     gfloat vs_data[75], vs_peak[75], vs_peak_speed[75];
     gint vs_refresh_delay;
+    gboolean vs_doublesize;
 };
 
 typedef struct _Vis Vis;
@@ -73,10 +74,11 @@
 void vis_draw(Widget * w);
 
 Vis *create_vis(GList ** wlist, GdkPixmap * parent, GdkWindow * window,
-                GdkGC * gc, gint x, gint y, gint width);
+                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