]> git.sesse.net Git - nageru/blobdiff - vu_common.h
Give the makeup gain control a bit more useful range (+/- 15 dB instead of 30). Espec...
[nageru] / vu_common.h
index 118eed89468ab3ae6b0fa77db6b404a7ebbb29ba..c9a62a876c60d65f76cf8dba2f8f88da8e972467 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef _VU_COMMON_H
 #define _VU_COMMON_H 1
 
-#include <QPainter>
+class QPainter;
 
-double lufs_to_pos(float level_lu, int height);
+double lufs_to_pos(float level_lu, int height, float min_level, float max_level);
 
-void draw_vu_meter(QPainter &painter, int width, int height, int margin, bool is_on);
+void draw_vu_meter(QPainter &painter, int width, int height, int horizontal_margin, double segment_margin, bool is_on, float min_level, float max_level, bool flip);
 
 #endif // !defined(_VU_COMMON_H)