Diff for /np2/win9x/dialog/d_screen.cpp between versions 1.4 and 1.7

version 1.4, 2003/10/30 12:45:38 version 1.7, 2004/04/08 13:08:23
Line 6 Line 6
 #include        "np2.h"  #include        "np2.h"
 #include        "scrnmng.h"  #include        "scrnmng.h"
 #include        "sysmng.h"  #include        "sysmng.h"
   #include        "np2class.h"
 #include        "dialog.h"  #include        "dialog.h"
 #include        "dialogs.h"  #include        "dialogs.h"
 #include        "pccore.h"  #include        "pccore.h"
Line 86  static LRESULT CALLBACK Scropt1DlgProc(H Line 87  static LRESULT CALLBACK Scropt1DlgProc(H
                                         renewal = 1;                                          renewal = 1;
                                 }                                  }
                                 if (renewal) {                                  if (renewal) {
                                         sysmng_update(SYS_UPDATECFG);  
                                         scrndraw_redraw();                                          scrndraw_redraw();
                                           sysmng_update(SYS_UPDATECFG);
                                 }                                  }
                                 return(TRUE);                                  return(TRUE);
                         }                          }
Line 114  static LRESULT CALLBACK Scropt2DlgProc(H Line 115  static LRESULT CALLBACK Scropt2DlgProc(H
                         }                          }
                         SetDlgItemCheck(hWnd, gdcchip[np2cfg.grcg & 3], TRUE);                          SetDlgItemCheck(hWnd, gdcchip[np2cfg.grcg & 3], TRUE);
                         SetDlgItemCheck(hWnd, IDC_PC980124, np2cfg.color16);                          SetDlgItemCheck(hWnd, IDC_PC980124, np2cfg.color16);
   #if defined(SUPPORT_PC9821)
                           EnableWindow(GetDlgItem(hWnd, IDC_GCBOX), FALSE);
                           EnableWindow(GetDlgItem(hWnd, IDC_GRCGNON), FALSE);
                           EnableWindow(GetDlgItem(hWnd, IDC_GRCG), FALSE);
                           EnableWindow(GetDlgItem(hWnd, IDC_GRCG2), FALSE);
                           EnableWindow(GetDlgItem(hWnd, IDC_EGC), FALSE);
                           EnableWindow(GetDlgItem(hWnd, IDC_PC980124), FALSE);
   #endif
                         return(TRUE);                          return(TRUE);
   
                 case WM_NOTIFY:                  case WM_NOTIFY:
Line 278  void dialog_scropt(HWND hWnd) { Line 287  void dialog_scropt(HWND hWnd) {
   
         ZeroMemory(&psh, sizeof(psh));          ZeroMemory(&psh, sizeof(psh));
         psh.dwSize = sizeof(PROPSHEETHEADER);          psh.dwSize = sizeof(PROPSHEETHEADER);
         psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON;          psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON | PSH_USECALLBACK;
         psh.hwndParent = hWnd;          psh.hwndParent = hWnd;
         psh.hInstance = hinst;          psh.hInstance = hinst;
         psh.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON2));          psh.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON2));
         psh.nPages = 3;          psh.nPages = 3;
         psh.phpage = hpsp;          psh.phpage = hpsp;
         psh.pszCaption = str_scropt;          psh.pszCaption = str_scropt;
           psh.pfnCallback = np2class_propetysheet;
         PropertySheet(&psh);          PropertySheet(&psh);
         InvalidateRect(hWndMain, NULL, TRUE);          InvalidateRect(hWndMain, NULL, TRUE);
 }  }

Removed from v.1.4  
changed lines
  Added in v.1.7


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