make bottom bar more organized
This commit is contained in:
parent
93231802f4
commit
4ee7f503d7
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
build/
|
build/
|
||||||
|
|
||||||
*.kdevelop
|
*.kdevelop
|
||||||
*.kdevelop.pcs
|
*.kdevelop.pcs
|
||||||
*.kdevses
|
*.kdevses
|
||||||
|
@ -9,3 +8,9 @@ build/
|
||||||
*.xm
|
*.xm
|
||||||
*.s3m
|
*.s3m
|
||||||
*.it
|
*.it
|
||||||
|
|
||||||
|
# PKGBUILD
|
||||||
|
aur/pkg
|
||||||
|
aur/src
|
||||||
|
aur/trakker-git
|
||||||
|
aur/*.pkg.tar.zst
|
||||||
|
|
10
src/main.cpp
10
src/main.cpp
|
@ -190,20 +190,22 @@ void updateTrack(char* name, char* type) {
|
||||||
|
|
||||||
void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
|
void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
|
||||||
werase(win);
|
werase(win);
|
||||||
|
move(LINES-1, 0);
|
||||||
|
wclrtoeol(stdscr);
|
||||||
mvprintw(
|
mvprintw(
|
||||||
LINES-1, 0,
|
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':'>',
|
is_stopped?'x':'>',
|
||||||
fi->pos,
|
fi->pos,
|
||||||
fi->pattern,
|
fi->pattern,
|
||||||
mi->mod->pat,
|
mi->mod->pat,
|
||||||
fi->bpm,
|
fi->bpm,
|
||||||
fi->speed,
|
fi->speed,
|
||||||
vol,
|
|
||||||
looper?1:0,
|
|
||||||
chanOffset,
|
chanOffset,
|
||||||
mi->mod->chn-1,
|
mi->mod->chn-1,
|
||||||
detail+1
|
vol,
|
||||||
|
detail+1,
|
||||||
|
looper?"LOOP ":""
|
||||||
);
|
);
|
||||||
int view_chanOffset = chanOffset;
|
int view_chanOffset = chanOffset;
|
||||||
int view_detail = detail;
|
int view_detail = detail;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user