added missing functions

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 10:06:00 +01:00
1 parent e9b239092d
commit 1e9ad56b0c
2 files changed
+46

No files matched your search

+4
View File
@@ -104,6 +104,10 @@ void fill(Dpi::Canvas &canvas, int left, int top, int width, int height, int xOf
void fill(Dpi::Canvas &canvas, const QRect &rect, const QPoint &offset = QPoint());
void paintBackground(Dpi::Canvas &canvas, int left, int top, int width, int height,
int formWidth = 0, int formHeight = 0);
// Draws a HGrSystem-sprited progress bar: `pos` pixels already filled,
// `growth` more pixels animating in (negative: shrinking), out of `max`.
void paintProgressBar(Dpi::Canvas &canvas, int kind, int x, int y, int pos, int growth, int max,
const Texture &texture);
void biColorTextOut(Dpi::Canvas &canvas, QColor mainColor, QColor backColor, int x, int y, const QString &text);
int biColorTextWidth(Dpi::Canvas &canvas, const QString &text);