X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vu_common.h;h=aa577214b191287b0c0d032a335d005c63bf8fe6;hb=1df3b5084361492b53047f5266890da04ca36466;hp=4a50552b9edb553fcd86189b3dd7ee58d06f52a5;hpb=2489e27c559cece872818930a9aa6fbc9ead994d;p=nageru diff --git a/vu_common.h b/vu_common.h index 4a50552..aa57721 100644 --- a/vu_common.h +++ b/vu_common.h @@ -4,6 +4,9 @@ #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); + +// 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); #endif // !defined(_VU_COMMON_H)