make bottom bar more organized

This commit is contained in:
Wirlaburla 2023-02-24 23:35:52 -06:00
parent 93231802f4
commit 4ee7f503d7
2 changed files with 12 additions and 5 deletions

7
.gitignore vendored
View File

@ -1,5 +1,4 @@
build/
*.kdevelop
*.kdevelop.pcs
*.kdevses
@ -9,3 +8,9 @@ build/
*.xm
*.s3m
*.it
# PKGBUILD
aur/pkg
aur/src
aur/trakker-git
aur/*.pkg.tar.zst

View File

@ -190,20 +190,22 @@ void updateTrack(char* name, char* type) {
void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
werase(win);
move(LINES-1, 0);
wclrtoeol(stdscr);
mvprintw(
LINES-1, 0,
"[%c] PAT:%02x:%02x/%02x BPM:%02u SPD:%02u VOL:%03u LOOP:%i CHAN:%02u/%02u VIS:%i",
"[%c] PAT:%02x:%02x/%02x BPM:%02u SPD:%02u CHAN:%02u/%02u VOL:%03u d%i %s",
is_stopped?'x':'>',
fi->pos,
fi->pattern,
mi->mod->pat,
fi->bpm,
fi->speed,
vol,
looper?1:0,
chanOffset,
mi->mod->chn-1,
detail+1
vol,
detail+1,
looper?"LOOP ":""
);
int view_chanOffset = chanOffset;
int view_detail = detail;