diff options
-rwxr-xr-x | main.c | 1 | ||||
-rw-r--r-- | wind.c | 18 | ||||
-rw-r--r-- | wind.h | 2 |
3 files changed, 21 insertions, 0 deletions
@@ -216,6 +216,7 @@ int main(int argc, char* argv[]){ printmenu(&menu); printTagInfoHeader(); + printHelp(); move(1,COLS/2); vline( ACS_VLINE, LINES-2) ; @@ -35,6 +35,23 @@ void printTagInfoHeader() { mvprintc(COLS/2+2, 7, "Comment :",15); attrset( COLOR_PAIR( 0 ) | A_NORMAL); } +void printHelp() { + attrset( COLOR_PAIR( COLOR_RED + 1) | A_BOLD); + mvprintc(COLS/2+2, 10, "j : Down",20); + mvprintc(COLS/2+2, 11, "k : Up",20); + mvprintc(COLS/2+2, 12, "et: Edit title",20); + mvprintc(COLS/2+2, 13, "ea: Edit artist",20); + mvprintc(COLS/2+2, 14, "eb: Edit album",20); + mvprintc(COLS/2+2, 15, "ey: Edit year",20); + mvprintc(COLS/2+2+24, 10, "en: Edit track NĀ°",20); + mvprintc(COLS/2+2+24, 11, "et: Edit genre",20); + mvprintc(COLS/2+2+24, 12, "s : Regex selection",20); + mvprintc(COLS/2+2+24, 13, "x : Regex edition",20); + mvprintc(COLS/2+2+24, 14, "q : Quit",20); + attrset( COLOR_PAIR( 0 ) | A_NORMAL); +} + + void printTagInfo(menuC* menu) { static int mustClear = 0; if( mustClear == 1 ) { @@ -144,6 +161,7 @@ void resizeMain(menuC* menu) { menu->w = COLS/2-1; printmenu(menu); printTagInfoHeader(); + printHelp(); printTagInfo(menu); printStatus(); move(1,COLS/2); @@ -9,6 +9,8 @@ void printTagInfoHeader(); +void printHelp(); + void printTagInfo(menuC* menu); void cleanmenu(menuC* menu); |