Diff for /np2/embed/menubase/menusys.c between versions 1.3 and 1.7

version 1.3, 2004/06/18 16:58:11 version 1.7, 2004/07/01 11:42:54
Line 44  typedef struct { Line 44  typedef struct {
   
 static MENUSYS  menusys;  static MENUSYS  menusys;
   
 #if 1  #if !defined(RESOURCE_US) && (!defined(CHARSET_OEM) || defined(OSLANG_SJIS))
                         // 元のサイズに戻す  static const char str_sysr[] =                          // 元のサイズに戻す
 static const char str_sysr[] =                           "\214\263\202\314\203\124\203\103\203\131\202\311" \
                         "\214\263\202\314\203\124\203\103\203\131\202\311\226\337\202\267";                          "\226\337\202\267";
                         // 移動  static const char str_sysm[] =                          // 移動
 static const char str_sysm[] = "\210\332\223\256";                          "\210\332\223\256";
                         // サイズ変更  static const char str_syss[] =                          // サイズ変更
 static const char str_syss[] = "\203\124\203\103\203\131\225\317\215\130";                          "\203\124\203\103\203\131\225\317\215\130";
                         // 最小化  static const char str_sysn[] =                          // 最小化
 static const char str_sysn[] = "\215\305\217\254\211\273";                          "\215\305\217\254\211\273";
                         // 最大化  static const char str_sysx[] =                          // 最大化
 static const char str_sysx[] = "\215\305\221\345\211\273";                          "\215\305\221\345\211\273";
                         // 閉じる  static const char str_sysc[] =                          // 閉じる
 static const char str_sysc[] = "\225\302\202\266\202\351";                          "\225\302\202\266\202\351";
   #elif defined(OSLANG_EUC) && !defined(RESOURCE_US)
   static const char str_sysr[] =                          // 元のサイズに戻す
                           "\270\265\244\316\245\265\245\244\245\272\244\313" \
                           "\314\341\244\271";
   static const char str_sysm[] =                          // 移動
                           "\260\334\306\260";
   static const char str_syss[] =                          // サイズ変更
                           "\245\265\245\244\245\272\312\321\271\271";
   static const char str_sysn[] =                          // 最小化
                           "\272\307\276\256\262\275";
   static const char str_sysx[] =                          // 最大化
                           "\272\307\302\347\262\275";
   static const char str_sysc[] =                          // 閉じる
                           "\312\304\244\270\244\353";
   #elif defined(OSLANG_UTF8) && !defined(RESOURCE_US)
   static const char str_sysr[] =                          // 元のサイズに戻す
                           "\345\205\203\343\201\256\343\202\265\343\202\244\343\202\272" \
                           "\343\201\253\346\210\273\343\201\231";
   static const char str_sysm[] =                          // 移動
                           "\347\247\273\345\213\225";
   static const char str_syss[] =                          // サイズ変更
                           "\343\202\265\343\202\244\343\202\272\345\244\211\346\233\264";
   static const char str_sysn[] =                          // 最小化
                           "\346\234\200\345\260\217\345\214\226";
   static const char str_sysx[] =                          // 最大化
                           "\346\234\200\345\244\247\345\214\226";
   static const char str_sysc[] =                          // 閉じる
                           "\351\226\211\343\201\230\343\202\213";
 #else  #else
 static const char str_sysr[] = "Restore";  static const char str_sysr[] = "Restore";
 static const char str_sysm[] = "Move";  static const char str_sysm[] = "Move";
Line 317  static BOOL wndopenbase(MENUSYS *sys) { Line 345  static BOOL wndopenbase(MENUSYS *sys) {
                 mrect.right -= MENUSYS_BCAPTION;                  mrect.right -= MENUSYS_BCAPTION;
                 mrect.bottom += MENUSYS_BCAPTION;                  mrect.bottom += MENUSYS_BCAPTION;
         }          }
         vram = menuvram_create(menubase.width, height);          vram = menuvram_create(menubase.width, height, menubase.bpp);
         sys->wnd[0].vram = vram;          sys->wnd[0].vram = vram;
         if (vram == NULL) {          if (vram == NULL) {
                 goto wopn0_err;                  goto wopn0_err;
Line 531  static BOOL childopn(MENUSYS *sys, int d Line 559  static BOOL childopn(MENUSYS *sys, int d
                 width = menubase.width;                  width = menubase.width;
         }          }
         height += (MENU_FBORDER + MENU_BORDER);          height += (MENU_FBORDER + MENU_BORDER);
         wnd->vram = menuvram_create(width, height);          wnd->vram = menuvram_create(width, height, menubase.bpp);
         if (wnd->vram == NULL) {          if (wnd->vram == NULL) {
                 TRACEOUT(("sub menu vram couldn't create"));                  TRACEOUT(("sub menu vram couldn't create"));
                 goto copn_err;                  goto copn_err;

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


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