X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vu_common.h;h=9c7098e619edc4aa9582735cec3fc186363648c1;hb=54067dbc70999d936adf9d263b5ff2b1efb4dfd0;hp=4a50552b9edb553fcd86189b3dd7ee58d06f52a5;hpb=2489e27c559cece872818930a9aa6fbc9ead994d;p=nageru diff --git a/vu_common.h b/vu_common.h index 4a50552..9c7098e 100644 --- a/vu_common.h +++ b/vu_common.h @@ -3,7 +3,8 @@ #include -int lufs_to_pos(float level_lu, int height); -void draw_vu_meter(QPainter &painter, float level_lu, int width, int height, int margin); +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 horizontal_margin, double segment_margin, bool is_on, float min_level, float max_level, bool flip); #endif // !defined(_VU_COMMON_H)