Diff for /np2/macosx/toolwin.cpp between versions 1.18 and 1.20

version 1.18, 2004/03/02 23:23:06 version 1.20, 2004/05/23 04:07:56
Line 203  const char  *p; Line 203  const char  *p;
     bool                success = false;      bool                success = false;
           
     GetBevelButtonMenuHandle(hwnd, &menu);      GetBevelButtonMenuHandle(hwnd, &menu);
     while (MenuHasEnabledItems(menu)) {          DeleteMenuItems(menu, 1, fdd->cnt);
         DeleteMenuItem(menu, 1);  
     };  
 #if 0  #if 0
         GetControlBounds(hwnd, &rc);          GetControlBounds(hwnd, &rc);
         width = rc.right - rc.left - 6;                 // border size?          width = rc.right - rc.left - 6;                 // border size?
Line 265  const char  *p; Line 263  const char  *p;
     }      }
     else {      else {
         SetControlTitleWithCFString(hwnd, CFSTR(" "));          SetControlTitleWithCFString(hwnd, CFSTR(" "));
                   for (i=0; i<fdd->cnt; i++) {
                           CheckMenuItem(menu, i+1, 0);
                   }
         }          }
 }  }
   
Line 1192  const DISKACC *accterm; Line 1193  const DISKACC *accterm;
 // ----  // ----
   
 static const char ini_title[] = "NP2 tool";  static const char ini_title[] = "NP2 tool";
   #if !defined(SUPPORT_PC9821)
 static const char inifile[] = "np2.cfg";                        // same file name..  static const char inifile[] = "np2.cfg";                        // same file name..
   #else
   static const char inifile[] = "np21.cfg";
   #endif
   
 static const INITBL iniitem[] = {  static const INITBL iniitem[] = {
         {"WindposX", INITYPE_SINT32,    &np2tool.posx,                  0},          {"WindposX", INITYPE_SINT32,    &np2tool.posx,                  0},

Removed from v.1.18  
changed lines
  Added in v.1.20


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