home *** CD-ROM | disk | FTP | other *** search
/ Phoenix Heaven Sunny 2 / APPARE2.BIN / oh_towns / tetujin / src.lzh / IGRFILE.C < prev    next >
C/C++ Source or Header  |  1994-11-16  |  3KB  |  133 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    fileSubDialogId ;
  9. extern int    fileBtnId[3] ;
  10. extern int    fileModeSet() ;
  11. extern int    fileMesId[3] ;
  12. extern int    fileCompModeSet() ;
  13.  
  14. #define ALIGN    4
  15. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  16.  
  17. /*    MMI_init 用データ    */
  18.  
  19. /*    ヘッダ    */
  20.  
  21. MMIINIT    initDataIGRFILE = { "MmiInit",   7, 0 } ;
  22.  
  23. /* fileSubDialogId */
  24.  
  25. static MMIPACKET d001 = {    &fileSubDialogId,
  26.                             NULL,
  27.                             &MJ_DIALOGL40,
  28.                             OFFSET(DIALOGL40),
  29.                             MS_NONE
  30.                         } ;
  31. static DIALOGL40    d001d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  32.                               80, 258, 168, 339, 8,15, 8,
  33.                             MS_NONEL40,
  34.                             NULL,   0,   0
  35.                         } ;
  36.  
  37. /* fileBtnId[0] */
  38.  
  39. static MMIPACKET d002 = {    &fileBtnId[0],
  40.                             &fileSubDialogId,
  41.                             &MJ_TICONL40,
  42.                             OFFSET(TICONL40),
  43.                             MS_NONE
  44.                         } ;
  45. static TICONL40    d002d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  46.                               87, 265, 166, 281, 8,15, 8,
  47.                             MS_NONEL40,
  48.                             fileModeSet,
  49.                             0x0000, 259, 260
  50.                         } ;
  51.  
  52. /* fileBtnId[1] */
  53.  
  54. static MMIPACKET d003 = {    &fileBtnId[1],
  55.                             &fileSubDialogId,
  56.                             &MJ_TICONL40,
  57.                             OFFSET(TICONL40),
  58.                             MS_NONE
  59.                         } ;
  60. static TICONL40    d003d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  61.                               87, 285, 166, 301, 8,15, 8,
  62.                             MS_NONEL40,
  63.                             fileModeSet,
  64.                             0x0000, 259, 260
  65.                         } ;
  66.  
  67. /* fileMesId[0] */
  68.  
  69. static MMIPACKET d004 = {    &fileMesId[0],
  70.                             &fileSubDialogId,
  71.                             &MJ_MSGL40,
  72.                             OFFSET(MSGL40),
  73.                             MS_NONE
  74.                         } ;
  75. static MSGL40    d004d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  76.                              107, 265, 162, 281, 0,15, 8,
  77.                             MS_NONEL40,
  78.                             "1677万色",
  79.                                1,  12,  12,
  80.                             MS_NONEL40,
  81.                                0,   0
  82.                         } ;
  83.  
  84. /* fileMesId[1] */
  85.  
  86. static MMIPACKET d005 = {    &fileMesId[1],
  87.                             &fileSubDialogId,
  88.                             &MJ_MSGL40,
  89.                             OFFSET(MSGL40),
  90.                             MS_NONE
  91.                         } ;
  92. static MSGL40    d005d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  93.                              107, 285, 167, 301, 0,15, 8,
  94.                             MS_NONEL40,
  95.                             " 32768色",
  96.                                1,  12,  12,
  97.                             MS_NONEL40,
  98.                                0,   0
  99.                         } ;
  100.  
  101. /* fileBtnId[2] */
  102.  
  103. static MMIPACKET d006 = {    &fileBtnId[2],
  104.                             &fileSubDialogId,
  105.                             &MJ_TICONL40,
  106.                             OFFSET(TICONL40),
  107.                             MS_NONE
  108.                         } ;
  109. static TICONL40    d006d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  110.                               89, 316, 164, 332, 8,15, 8,
  111.                             MS_NONEL40,
  112.                             fileCompModeSet,
  113.                             0x0000, 279, 280
  114.                         } ;
  115.  
  116. /* fileMesId[2] */
  117.  
  118. static MMIPACKET d007 = {    &fileMesId[2],
  119.                             &fileSubDialogId,
  120.                             &MJ_MSGL40,
  121.                             0,
  122.                             MS_NONE
  123.                         } ;
  124. static MSGL40    d007d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  125.                              117, 316, 157, 332, 0,15, 8,
  126.                             MS_NONEL40,
  127.                             "圧  縮",
  128.                                1,  12,  12,
  129.                             MS_NONEL40,
  130.                                0,   0
  131.                         } ;
  132.  
  133.