X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vu_common.h;fp=vu_common.h;h=f065fcfb2b20302cfdb610223ce8c8580bb601c8;hb=bf8537f35000b8385ae806c15d8524c20f9c6fda;hp=118eed89468ab3ae6b0fa77db6b404a7ebbb29ba;hpb=7c05c93966303df353e93eb7523f28b1cd174033;p=nageru diff --git a/vu_common.h b/vu_common.h index 118eed8..f065fcf 100644 --- a/vu_common.h +++ b/vu_common.h @@ -3,8 +3,8 @@ #include -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 margin, bool is_on, float min_level, float max_level); #endif // !defined(_VU_COMMON_H)