]> git.sesse.net Git - nageru/blobdiff - vu_common.h
Simplify draw_vu_meter().
[nageru] / vu_common.h
index aa577214b191287b0c0d032a335d005c63bf8fe6..5df149ef94ea4cc3dfcdcfcf9f218fa72a0f4157 100644 (file)
@@ -5,8 +5,6 @@
 
 int lufs_to_pos(float level_lu, int height);
 
-// TODO: Now that we precalculate these as pixmaps, perhaps we don't need the
-// high/low range anymore, just a yes/no.
-void draw_vu_meter(QPainter &painter, float range_low_lu, float range_high_lu, int width, int height, int margin);
+void draw_vu_meter(QPainter &painter, int width, int height, int margin, bool is_on);
 
 #endif // !defined(_VU_COMMON_H)