Diff for /np2/win9xc/menu.cpp between versions 1.5 and 1.6

version 1.5, 2004/03/19 00:30:02 version 1.6, 2004/03/31 14:02:51
Line 28  void sysmenu_initialize(void) { Line 28  void sysmenu_initialize(void) {
   
 // ----  // ----
   
 static const char xmenu_i286save[] = "&i286 save";  static const char str_i286save[] = "&i286 save";
   #if defined(SUPPORT_WAVEREC)
   static const char str_waverec[] = "&Wave Record";
   #endif
 #if defined(SUPPORT_SCSI)  #if defined(SUPPORT_SCSI)
 static const char xmenu_scsi[] = "SCSI #%d";  static const char xmenu_scsi[] = "SCSI #%d";
 static const char xmenu_open[] = "&Open...";  static const char xmenu_open[] = "&Open...";
Line 58  void xmenu_initialize(void) { Line 61  void xmenu_initialize(void) {
   
         hMenu = GetMenu(hWndMain);          hMenu = GetMenu(hWndMain);
   
           if (np2oscfg.I286SAVE) {
                   hSubMenu = GetSubMenu(hMenu, 6);
                   InsertMenu(hSubMenu, 6,
                                           MF_BYPOSITION | MF_STRING, IDM_I286SAVE, str_i286save);
           }
   #if defined(SUPPORT_WAVEREC)
           hSubMenu = GetSubMenu(hMenu, 6);
           InsertMenu(hSubMenu, 2,
                                           MF_BYPOSITION | MF_STRING, IDM_WAVEREC, str_waverec);
   #endif
   
 #if defined(SUPPORT_SCSI)  #if defined(SUPPORT_SCSI)
         hSubMenu = GetSubMenu(hMenu, 3);          hSubMenu = GetSubMenu(hMenu, 3);
         AppendMenu(hSubMenu, MF_SEPARATOR, 0, NULL);          AppendMenu(hSubMenu, MF_SEPARATOR, 0, NULL);
Line 66  void xmenu_initialize(void) { Line 80  void xmenu_initialize(void) {
         addscsimenu(hSubMenu, 2, IDM_SCSI2OPEN, IDM_SCSI2EJECT);          addscsimenu(hSubMenu, 2, IDM_SCSI2OPEN, IDM_SCSI2EJECT);
         addscsimenu(hSubMenu, 3, IDM_SCSI3OPEN, IDM_SCSI3EJECT);          addscsimenu(hSubMenu, 3, IDM_SCSI3OPEN, IDM_SCSI3EJECT);
 #endif  #endif
   
         if (np2oscfg.I286SAVE) {  
                 hSubMenu = GetSubMenu(hMenu, 6);  
                 InsertMenu(hSubMenu, 10,  
                                         MF_BYPOSITION | MF_STRING, IDM_I286SAVE, xmenu_i286save);  
         }  
 }  }
   
 void xmenu_disablewindow(void) {  void xmenu_disablewindow(void) {
Line 236  void xmenu_setmouse(BYTE value) { Line 244  void xmenu_setmouse(BYTE value) {
         CheckMenuItem(GetMenu(hWndMain), IDM_MOUSE, MFCHECK(value));          CheckMenuItem(GetMenu(hWndMain), IDM_MOUSE, MFCHECK(value));
 }  }
   
   #if defined(SUPPORT_S98)
 void xmenu_sets98logging(BYTE value) {  void xmenu_sets98logging(BYTE value) {
   
         CheckMenuItem(GetMenu(hWndMain), IDM_S98LOGGING, MFCHECK(value));          CheckMenuItem(GetMenu(hWndMain), IDM_S98LOGGING, MFCHECK(value));
 }  }
   #endif
   
   #if defined(SUPPORT_WAVEREC)
   void xmenu_setwaverec(BYTE value) {
   
           CheckMenuItem(GetMenu(hWndMain), IDM_WAVEREC, MFCHECK(value));
   }
   #endif
   
 void xmenu_setbtnmode(BYTE value) {  void xmenu_setbtnmode(BYTE value) {
   

Removed from v.1.5  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>