Subversion Repositories NaviCtrl

Rev

Rev 503 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 503 Rev 504
Line 72... Line 72...
72
u8 DispPtr = 0;
72
u8 DispPtr = 0;
73
s8 DisplayBuff[DISPLAYBUFFSIZE];
73
s8 DisplayBuff[DISPLAYBUFFSIZE];
Line 74... Line 74...
74
 
74
 
75
 
75
 
Line 76... Line 76...
76
u8 MenuItem = 0;
76
u8 MenuItem = 0;
77
u8 MaxMenuItem = 24;
77
u8 MaxMenuItem = 25;
78
 
78
 
79
void Menu_Putchar(char c)
79
void Menu_Putchar(char c)
Line 485... Line 485...
485
                        }
485
                        }
486
                        break;
486
                        break;
Line 487... Line 487...
487
 
487
 
488
                case 24:
488
                case 24:
489
                        {
489
                        {
490
                                static u8 index = 1, ret = 0;
490
                                static u8 index = 1;
491
                                if(Keys & KEY3) //  next step
491
                                if(Keys & KEY3) //  next step
492
                                {
492
                                {
493
                                        if(index < ToFC_MaxWpListIndex) index++;
493
                                        if(index < ToFC_MaxWpListIndex) index++;
494
                                        else index = 1;
494
                                        else index = 1;
Line 498... Line 498...
498
                                LCD_printfxy(0,1,"Name: %s", WPL_Store.Name);
498
                                LCD_printfxy(0,1,"Name: %s", WPL_Store.Name);
499
                                //                12345678901234567890
499
                                //                12345678901234567890
500
                                LCD_printfxy(0,2,"Points    Index     ");
500
                                LCD_printfxy(0,2,"Points    Index     ");
501
                                LCD_printfxy(0,3," %3d      %3d   LOAD", PointList_GetCount(), index);
501
                                LCD_printfxy(0,3," %3d      %3d   LOAD", PointList_GetCount(), index);
502
                        }                                                
502
                        }                                                
-
 
503
                        break;
-
 
504
                case 25:
-
 
505
                        {
-
 
506
                                static u8 index = 1;
-
 
507
                                if(Keys & KEY3) //  next step
-
 
508
                                {
-
 
509
                                        if(index < ToFC_MaxWpListIndex) index++;
-
 
510
                                        else index = 1;
-
 
511
                                }
-
 
512
                                if(Keys & KEY4) FromFC_LoadWP_List = index | 0x80;
-
 
513
                                LCD_printfxy(0,0,"Load WPL (Relativ)" );
-
 
514
                                LCD_printfxy(0,1,"Name: %s", WPL_Store.Name);
-
 
515
                                //                12345678901234567890
-
 
516
                                LCD_printfxy(0,2,"Points    Index     ");
-
 
517
                                LCD_printfxy(0,3," %3d      %3d   LOAD", PointList_GetCount(), index);
-
 
518
                        }                                                
503
                        break;
519
                        break;
Line 504... Line 520...
504
 
520
 
505
                default:
521
                default:
506
                        //MaxMenuItem = MenuItem - 1;
522
                        //MaxMenuItem = MenuItem - 1;