3 #include "hvl_replay.h"
5 /* move cursor left one column */
20 /* move cursor right one column */
21 void act_mvright(void){
24 if(songx
< 15) songx
++;
27 if(trackx
< 9) trackx
++;
30 if(instrx
< 2) instrx
++;
35 /* move cursor up 1 line */
62 /* move cursor down 1 line */
63 void act_mvdown(void){
66 if(songy
< tune
->ht_PositionNr
- 1){
69 songy
= tune
->ht_PositionNr
- 1;
73 if(tracky
< tune
->ht_TrackNr
- 1){
76 tracky
= tune
->ht_TrackNr
- 1;
80 if(instry
< tune
->ht_Instruments
[currinstr
].ins_PList
.pls_Length
- 1){
83 instry
= tune
->ht_Instruments
[currinstr
].ins_PList
.pls_Length
- 1;