Diff for /np2/embed/menu/dlgscr.c between versions 1.1 and 1.4

version 1.1, 2003/11/21 12:59:18 version 1.4, 2005/02/07 14:51:03
Line 40  static const char str_video[] = "Video"; Line 40  static const char str_video[] = "Video";
 static const char str_lcd[] = "Liquid Crystal Display";  static const char str_lcd[] = "Liquid Crystal Display";
 static const char str_lcdx[] = "Reverse";  static const char str_lcdx[] = "Reverse";
 static const char str_skipline[] = "Use skipline revisions";  static const char str_skipline[] = "Use skipline revisions";
 static const char str_skiplght[] = "Raito";  static const char str_skiplght[] = "Ratio";
   
 static const char str_chip[] = "Chip";  static const char str_chip[] = "Chip";
 static const char str_gdc[] = "GDC";  static const char str_gdc[] = "GDC";
Line 220  const MENUPRM *prm; Line 220  const MENUPRM *prm;
 static const MENUID gdcchip[4] = {DID_GRCGNON, DID_GRCG, DID_GRCG2, DID_EGC};  static const MENUID gdcchip[4] = {DID_GRCGNON, DID_GRCG, DID_GRCG2, DID_EGC};
   
 static const TABLISTS tablist[] = {  static const TABLISTS tablist[] = {
                 {str_video,     res_scr1, sizeof(res_scr1)/sizeof(MENUPRM)},                  {str_video,     res_scr1, NELEMENTS(res_scr1)},
                 {str_chip,      res_scr2, sizeof(res_scr2)/sizeof(MENUPRM)},                  {str_chip,      res_scr2, NELEMENTS(res_scr2)},
                 {str_timing,res_scr3, sizeof(res_scr3)/sizeof(MENUPRM)},                  {str_timing,res_scr3, NELEMENTS(res_scr3)},
 };  };
   
 static void setpage(UINT page) {  static void setpage(UINT page) {
   
         UINT    i;          UINT    i;
   
         for (i=0; i<(sizeof(tablist)/sizeof(TABLISTS)); i++) {          for (i=0; i<NELEMENTS(tablist); i++) {
                 menudlg_disppagehidden((MENUID)(i + 1), (i != page));                  menudlg_disppagehidden((MENUID)(i + 1), (i != page));
         }          }
 }  }
Line 247  static void dlginit(void) { Line 247  static void dlginit(void) {
         UINT            i;          UINT            i;
 const TABLISTS  *tl;  const TABLISTS  *tl;
   
         menudlg_appends(res_scr0, sizeof(res_scr0)/sizeof(MENUPRM));          menudlg_appends(res_scr0, NELEMENTS(res_scr0));
         tl = tablist;          tl = tablist;
         for (i=0; i<(sizeof(tablist)/sizeof(TABLISTS)); i++, tl++) {          for (i=0; i<NELEMENTS(tablist); i++, tl++) {
                 menudlg_setpage((MENUID)(i + 1));                  menudlg_setpage((MENUID)(i + 1));
                 menudlg_itemappend(DID_TAB, (char *)tl->tab);                  menudlg_itemappend(DID_TAB, (char *)tl->tab);
                 menudlg_appends(tl->prm, tl->count);                  menudlg_appends(tl->prm, tl->count);

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


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