/* * NCLOOPER INTERACTIVE */ #include #include #include "nclooper.h" /* --------------------------------------------------------------------- */ extern int verbosity; /* --------------------------------------------------------------------- */ int enter_interactive(SampleRef *psmpl, int notused) { int foo, row, col; char txt[99]; #if DEBUG_LEVEL fprintf(stderr, ">>> %s ( %p %d )\n", __func__, psmpl, notused); #endif for (foo=0; foo<26; foo++) { idx2position(foo, &row, &col); sprintf(txt, "%3d", foo); mvaddstr(row, col, txt); if (psmpl[foo].key) { standout(); mvaddch(row, col+4, psmpl[foo].key); standend(); } refresh(); } sleep(3); return -1; } /* --------------------------------------------------------------------- */