Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: InitializeMenus.cpp
- Revision:
- 5:92389cf2106d
- Parent:
- 4:1178a1905490
- Child:
- 8:6ddb8c26387a
--- a/InitializeMenus.cpp Tue Apr 16 18:42:03 2013 +0000 +++ b/InitializeMenus.cpp Sun Apr 21 20:15:31 2013 +0000 @@ -7,52 +7,56 @@ void initializeMenuSystem() { - pageMenu[HOME].setMenuItem(0, RECORDSET, "Record Settings", 2, 1); + pageMenu[HOME].setMenuItem(0, RECORDSET, "Rec Options", 2, 1); pageMenu[HOME].setMenuItem(1, PLAYBACK, "Playback", 2, 2); - pageMenu[HOME].setMenuItem(2, SCREENSET, "Screen Settings", 2, 3); + pageMenu[HOME].setMenuItem(2, SCREENSET, "Contrast", 2, 3); pageMenu[HOME].setMaxItems(3); - pageMenu[HOME].setTitle("HOME "); + pageMenu[HOME].setTitle("HOME "); pageMenu[RECORDSET].setMenuItem(0, RECSETOUT, "Output", 2, 1); - pageMenu[RECORDSET].setMenuItem(1, RECSETIN, "Input", 2, 2); - pageMenu[RECORDSET].setMenuItem(2, RECSETFILTERS, "Filters", 2, 3); - pageMenu[RECORDSET].setMenuItem(3, RECSETSAMPFRQ, "Sampling Freq", 2, 4); - pageMenu[RECORDSET].setMenuItem(4, RECSETAGC, "AGC", 2, 5); - pageMenu[RECORDSET].setMaxItems(5); - pageMenu[RECORDSET].setTitle("RECORD OPT "); + // pageMenu[RECORDSET].setMenuItem(1, RECSETIN, "Input", 2, 2); + pageMenu[RECORDSET].setMenuItem(1, RECSETFILTERS, "Filter", 2, 2); + pageMenu[RECORDSET].setMenuItem(2, RECSETSAMPFRQ, "Samp Rate", 2, 3); + // pageMenu[RECORDSET].setMenuItem(4, RECSETAGC, "AGC", 2, 5); + pageMenu[RECORDSET].setMaxItems(3); + pageMenu[RECORDSET].setTitle("REC OPTIONS "); + - pageMenu[OUTPUT].setMenuItem(0, LINE, "Line", 2, 1); - pageMenu[OUTPUT].setMenuItem(1, HEADPHONES, "Headphones", 2, 2); - pageMenu[OUTPUT].setMenuItem(2, SPEAKERS, "Speakers", 2, 3); - pageMenu[OUTPUT].setMaxItems(3); - pageMenu[OUTPUT].setTitle("OUTPUT "); + // pageMenu[OUTPUT].setMenuItem(0, LINE, "Line", 2, 1); + pageMenu[OUTPUT].setMenuItem(0, HEADPHONES, "1) Internal", 2, 2); + pageMenu[OUTPUT].setMenuItem(1, SPEAKERS, "2) External", 2, 3); + pageMenu[OUTPUT].setMaxItems(2); + pageMenu[OUTPUT].setTitle("OUTPUT "); pageMenu[OUTPUT].setselectstatus(); + /* pageMenu[INPUT].setMenuItem(0, INMIC, "Mic", 2, 1); pageMenu[INPUT].setMenuItem(1, INLINE, "Line", 2, 2); pageMenu[INPUT].setMaxItems(2); pageMenu[INPUT].setTitle("INPUT "); pageMenu[INPUT].setselectstatus(); - - pageMenu[FILTER].setMenuItem(0, FILTER1, "Low Pass", 2, 1); - pageMenu[FILTER].setMenuItem(1, FILTER2, "High Pass", 2, 2); - pageMenu[FILTER].setMenuItem(2, FILTER3, "Band Pass", 2, 3); - pageMenu[FILTER].setMenuItem(3, FILTERNONE, "None", 2, 4); - pageMenu[FILTER].setMaxItems(4); - pageMenu[FILTER].setTitle("FILTER "); +*/ + pageMenu[FILTER].setMenuItem(0, FILTER1, "1) On", 2, 1); + pageMenu[FILTER].setMenuItem(1, FILTER2, "2) Off", 2, 2); + // pageMenu[FILTER].setMenuItem(2, FILTER3, "Band Pass", 2, 3); + // pageMenu[FILTER].setMenuItem(3, FILTERNONE, "None", 2, 4); + pageMenu[FILTER].setMaxItems(2); + pageMenu[FILTER].setTitle("FILTER "); pageMenu[FILTER].setselectstatus(); - pageMenu[SAMPRATE].setMenuItem(0, SPEED1, "ON", 2, 1); - pageMenu[SAMPRATE].setMenuItem(1, SPEED2, "OFF", 2, 2); + pageMenu[SAMPRATE].setMenuItem(0, SPEED1, "1) 44.1k", 2, 1); + pageMenu[SAMPRATE].setMenuItem(1, SPEED2, "2) 48k", 2, 2); pageMenu[SAMPRATE].setMaxItems(2); - pageMenu[SAMPRATE].setTitle("SAMPRATE "); + pageMenu[SAMPRATE].setTitle("SAMPRATE "); pageMenu[SAMPRATE].setselectstatus(); +/* pageMenu[AGC].setMenuItem(0, AGCON, "ON", 2, 1); pageMenu[AGC].setMenuItem(1, AGCOFF, "OFF", 2, 2); pageMenu[AGC].setMaxItems(2); pageMenu[AGC].setTitle("AGC "); pageMenu[AGC].setselectstatus(); +*/ pageMenu[PLAYBACK].setMenuItem(0, PLAYTRACK, "Play Tracks", 2, 1); pageMenu[PLAYBACK].setMenuItem(1, DELETETRACK, "Delete Tracks", 2, 2);