X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vu_common.h;h=c5b1ac0d37cc51f0d48a34c8cd0f869c38d60ae0;hb=1fc8b5d92fce7ac0b7e87ed3087e393774fd4b3c;hp=06a971f409fb9f4e3ac3c1cbe4c66bf049ac0e04;hpb=fdd77c1f8a51f1e87151b876c2c5ab536a2fb02d;p=nageru diff --git a/vu_common.h b/vu_common.h index 06a971f..c5b1ac0 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 range_low_lu, float range_high_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 margin, bool is_on, float min_level, float max_level, bool flip); #endif // !defined(_VU_COMMON_H)