Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Dec 13, 2024
1 parent e672498 commit 828f16a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,11 @@ void genericgauge (float progress)
//percentage represented on signed integer. values from 0-100
void genericgaugepercent(int percent) {
genericgauge(percent*0.01);
}
void bottomgauge(int percent) {
int X = scr_getX(), Y = scr_getY();
scr_setXY(0, 25);
scr_setfontcolor(0xFFFFFF);
genericgauge(percent*0.01);
scr_setXY(X, Y);
}

0 comments on commit 828f16a

Please sign in to comment.