diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-10-19 14:24:35 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-10-19 14:24:35 -0700 |
commit | 2e99df641671941ab43823168a66e41c8d44aa36 (patch) | |
tree | c603e9c7b25d3c5fcdbf9bea20bfe22d0b74caf0 /src/vcr.h | |
parent | 585fd85cfb825e21112e1754a04d00999b3351b8 (diff) |
charts/vcr: s/double/float/
Double precision is unnecessary for this, use floats throughout,
at least for everything vmon related.
Diffstat (limited to 'src/vcr.h')
-rw-r--r-- | src/vcr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ int vcr_resize_visible(vcr_t *vcr, int width, int height); void vcr_draw_text(vcr_t *vcr, vcr_layer_t layer, int x, int row, const vcr_str_t *strs, int n_strs, int *res_width); void vcr_draw_ortho_line(vcr_t *vcr, vcr_layer_t layer, int x1, int y1, int x2, int y2); void vcr_mark_finish_line(vcr_t *vcr, vcr_layer_t layer, int row); -void vcr_draw_bar(vcr_t *vcr, vcr_layer_t layer, int row, double t, int min_height); +void vcr_draw_bar(vcr_t *vcr, vcr_layer_t layer, int row, float t, int min_height); void vcr_clear_row(vcr_t *vcr, vcr_layer_t layer, int row, int x, int width); void vcr_shift_below_row_up_one(vcr_t *vcr, int row); void vcr_shift_below_row_down_one(vcr_t *vcr, int row); |