home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix Heaven Sunny 2
/
APPARE2.BIN
/
oh_towns
/
art2
/
src.lzh
/
ZDESKTOP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-19
|
32KB
|
1,326 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int idDesktopSelectiveHyper ;
extern int MJ_BASEOBJ ;
extern int idBackDialog ;
extern int idDesktopWinAttachHyper ;
extern int idDesktopToolAttachHyper ;
extern int idToolBoxDlg ;
extern int idToolBoxToolTIcon[12] ;
extern int toolboxToolFunc() ;
extern int idToolBoxMsg ;
extern int idToolBoxUndoDBtn ;
extern int ToolBoxUndoDBtnFunc() ;
extern int idDesktopDialog ;
extern int idDesktopMenu ;
extern int idDesktopMItem_System ;
extern int idDesktopSystemMenu ;
extern int idDesktopSystemMItem[3] ;
extern int desktop_about() ;
extern int desktop_quit() ;
extern int idDesktopMItem_File ;
extern int idDesktopFileMenu ;
extern int idDesktopFileMItem[4] ;
extern int desktop_create() ;
extern int desktopMITEMfile_loadimgFunc() ;
extern int desktopMITEMfile_saveimgFunc() ;
extern int Desktop_FileCloseProc() ;
extern int idDesktopMItem_Image ;
extern int idDesktopImageMenu ;
extern int idDesktopImageMItem[4] ;
extern int idDesktopZoomMenu ;
extern int idDesktopZoomMItem[8] ;
extern int desktop_setImageZoom() ;
extern int cmd_viewAllScr() ;
extern int desktopMITEMfile_clearFunc() ;
extern int Desktop_UndoProc() ;
extern int idDesktopMItem_Setup ;
extern int desktop_setup() ;
extern int idDesktopExitIcon ;
extern int idDesktopAlertHyper ;
extern int idDesktopHelpIcon ;
extern int idDesktopSkbIcon ;
extern int idDesktopFileDlgHyper ;
extern int idImageClearDlg ;
extern int idImageClearTitleMsg ;
extern int idImageClearMsg[4] ;
extern int idImageClearDBtn[2] ;
extern int imgclearDBTNFunc() ;
extern int idDesktopMItem_Edit ;
extern int idDesktopMItem_Layer ;
extern int idDesktopLayerMenu ;
extern int idDesktopLayerMItem[8] ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataZDESKTOP = { "MmiInit", 73, 0 } ;
/* idDesktopSelectiveHyper */
static MMIPACKET d001 = { &idDesktopSelectiveHyper,
&MJ_BASEOBJ,
&MJ_HYPER,
OFFSET(HYPER),
MS_NONE
} ;
static HYPER d001d = { MS_NONEL40,
0, 0, 11, 11, 0, 0, 0,
MS_NONEL40,
} ;
/* idBackDialog */
static MMIPACKET d002 = { &idBackDialog,
&idDesktopSelectiveHyper,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 0, 511, 479, 8, 4,15,
MS_NONEL40,
NULL, 0, 0
} ;
/* idDesktopWinAttachHyper */
static MMIPACKET d003 = { &idDesktopWinAttachHyper,
&idDesktopSelectiveHyper,
&MJ_HYPER,
OFFSET(HYPER),
MS_NONE
} ;
static HYPER d003d = { MS_NONEL40,
0, 0, 11, 11, 0, 0, 0,
MS_NONEL40,
} ;
/* idDesktopToolAttachHyper */
static MMIPACKET d004 = { &idDesktopToolAttachHyper,
&idDesktopSelectiveHyper,
&MJ_HYPER,
OFFSET(HYPER),
MS_NONE
} ;
static HYPER d004d = { MS_NONEL40,
0, 0, 11, 11, 0, 0, 0,
MS_NONEL40,
} ;
/* idToolBoxDlg */
static MMIPACKET d005 = { &idToolBoxDlg,
&idDesktopToolAttachHyper,
&MJ_WINDOWL40,
OFFSET(WINDOWL40),
MS_NONE
} ;
static WINDOWL40 d005d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_HIDEL40,
414, 25, 489, 175, 8, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
1, 17, 0, 0,
128, 96, 640, 480,
0,
"ウィンドウ",
} ;
/* idToolBoxToolTIcon[0] */
static MMIPACKET d006 = { &idToolBoxToolTIcon[0],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
416, 44, 439, 67, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 513, 514
} ;
/* idToolBoxMsg */
static MMIPACKET d007 = { &idToolBoxMsg,
&idToolBoxDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_CENTERL40 | MS_DSPONLYL40,
418, 27, 484, 42, 0, 6, 8,
MS_NONEL40,
"道具の選択",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* idToolBoxToolTIcon[1] */
static MMIPACKET d008 = { &idToolBoxToolTIcon[1],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d008d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
440, 44, 463, 67, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 515, 516
} ;
/* idToolBoxToolTIcon[2] */
static MMIPACKET d009 = { &idToolBoxToolTIcon[2],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
464, 44, 487, 67, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 517, 518
} ;
/* idToolBoxToolTIcon[3] */
static MMIPACKET d010 = { &idToolBoxToolTIcon[3],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d010d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
416, 68, 439, 91, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 533, 534
} ;
/* idToolBoxToolTIcon[4] */
static MMIPACKET d011 = { &idToolBoxToolTIcon[4],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d011d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
440, 68, 463, 91, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 537, 538
} ;
/* idToolBoxToolTIcon[5] */
static MMIPACKET d012 = { &idToolBoxToolTIcon[5],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d012d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
464, 68, 487, 91, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 527, 528
} ;
/* idToolBoxToolTIcon[6] */
static MMIPACKET d013 = { &idToolBoxToolTIcon[6],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d013d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
416, 92, 439, 115, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 535, 536
} ;
/* idToolBoxToolTIcon[7] */
static MMIPACKET d014 = { &idToolBoxToolTIcon[7],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d014d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
440, 92, 463, 115, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 519, 520
} ;
/* idToolBoxToolTIcon[8] */
static MMIPACKET d015 = { &idToolBoxToolTIcon[8],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d015d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
464, 92, 487, 115, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 539, 540
} ;
/* idToolBoxToolTIcon[9] */
static MMIPACKET d016 = { &idToolBoxToolTIcon[9],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d016d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
416, 116, 439, 139, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 531, 532
} ;
/* idToolBoxToolTIcon[10] */
static MMIPACKET d017 = { &idToolBoxToolTIcon[10],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d017d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
440, 116, 463, 139, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 529, 530
} ;
/* idToolBoxToolTIcon[11] */
static MMIPACKET d018 = { &idToolBoxToolTIcon[11],
&idToolBoxDlg,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d018d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
464, 116, 487, 139, 0, 8, 0,
MS_NONEL40,
toolboxToolFunc,
0x0000, 541, 542
} ;
/* idToolBoxUndoDBtn */
static MMIPACKET d019 = { &idToolBoxUndoDBtn,
&idToolBoxDlg,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d019d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
417, 153, 486, 172, 8, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
ToolBoxUndoDBtnFunc,
0x0000
} ;
/* NULL */
static MMIPACKET d020 = { NULL,
&idToolBoxDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d020d = { MS_CENTERL40 | MS_DSPONLYL40,
425, 153, 477, 172, 8, 6, 8,
MS_NONEL40,
"アンドゥ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* idDesktopDialog */
static MMIPACKET d021 = { &idDesktopDialog,
&idDesktopSelectiveHyper,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d021d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 0, 511, 19, 8,12,15,
MS_NONEL40,
NULL, 0, 0
} ;
/* idDesktopMenu */
static MMIPACKET d022 = { &idDesktopMenu,
&idDesktopDialog,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d022d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_HORIL40,
0, 0, 347, 19, 8,12, 8,
MS_NONEL40,
NULL, 0
} ;
/* idDesktopMItem_System */
static MMIPACKET d023 = { &idDesktopMItem_System,
&idDesktopMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d023d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
0, 0, 74, 19, 6, 6, 6,
MS_PANELL40,
0,
0x0000, 512,
" ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopSystemMenu */
static MMIPACKET d024 = { &idDesktopSystemMenu,
&idDesktopMItem_System,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d024d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
0, 27, 82, 155,15, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* idDesktopSystemMItem[0] */
static MMIPACKET d025 = { &idDesktopSystemMItem[0],
&idDesktopSystemMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d025d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
2, 32, 76, 50, 0, 6, 8,
MS_NONEL40,
desktop_about,
0x0000, -1,
"ARTemis について...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopSystemMItem[1] */
static MMIPACKET d026 = { &idDesktopSystemMItem[1],
&idDesktopSystemMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d026d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
7, 51, 77, 70, 0, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
NULL,
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopSystemMItem[2] */
static MMIPACKET d027 = { &idDesktopSystemMItem[2],
&idDesktopSystemMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d027d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
8, 122, 78, 140, 0, 6, 8,
MS_NONEL40,
desktop_quit,
0x0000, -1,
"終了",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopMItem_File */
static MMIPACKET d028 = { &idDesktopMItem_File,
&idDesktopMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d028d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
75, 0, 150, 19, 8, 6, 8,
MS_PANELL40,
0,
0x0000, -1,
"ファイル",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopFileMenu */
static MMIPACKET d029 = { &idDesktopFileMenu,
&idDesktopMItem_File,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d029d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
54, 27, 151, 252,15, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* idDesktopFileMItem[0] */
static MMIPACKET d030 = { &idDesktopFileMItem[0],
&idDesktopFileMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d030d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
54, 39, 149, 58, 0, 6, 8,
MS_NONEL40,
desktop_create,
0x0000, -1,
"新規作成..",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopFileMItem[1] */
static MMIPACKET d031 = { &idDesktopFileMItem[1],
&idDesktopFileMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d031d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
58, 61, 153, 80, 0, 6, 8,
MS_NONEL40,
desktopMITEMfile_loadimgFunc,
0x0000, -1,
"読み込み..",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopFileMItem[2] */
static MMIPACKET d032 = { &idDesktopFileMItem[2],
&idDesktopFileMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d032d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
58, 81, 153, 100, 0, 6, 8,
MS_NONEL40,
desktopMITEMfile_saveimgFunc,
0x0000, -1,
"保存..",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopFileMItem[3] */
static MMIPACKET d033 = { &idDesktopFileMItem[3],
&idDesktopFileMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d033d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
56, 102, 151, 121, 0, 6, 8,
MS_NONEL40,
Desktop_FileCloseProc,
0x0000, -1,
"閉じる(クローズ)",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopMItem_Image */
static MMIPACKET d034 = { &idDesktopMItem_Image,
&idDesktopMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d034d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
180, 0, 255, 19, 8, 6, 8,
MS_PANELL40,
0,
0x0000, -1,
"画像",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopImageMenu */
static MMIPACKET d035 = { &idDesktopImageMenu,
&idDesktopMItem_Image,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d035d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
145, 37, 242, 262,15, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* idDesktopImageMItem[0] */
static MMIPACKET d036 = { &idDesktopImageMItem[0],
&idDesktopImageMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d036d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
144, 42, 239, 61, 0, 6, 8,
MS_NONEL40,
desktop_create,
0x0000, -1,
"表示倍率の設定",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMenu */
static MMIPACKET d037 = { &idDesktopZoomMenu,
&idDesktopImageMItem[0],
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d037d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
251, 43, 296, 202,15, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* idDesktopZoomMItem[0] */
static MMIPACKET d038 = { &idDesktopZoomMItem[0],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d038d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
256, 46, 293, 63, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×1",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[1] */
static MMIPACKET d039 = { &idDesktopZoomMItem[1],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d039d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
257, 63, 294, 80, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×2",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[2] */
static MMIPACKET d040 = { &idDesktopZoomMItem[2],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d040d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
257, 79, 294, 96, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×3",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[3] */
static MMIPACKET d041 = { &idDesktopZoomMItem[3],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d041d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
257, 99, 294, 116, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×4",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[4] */
static MMIPACKET d042 = { &idDesktopZoomMItem[4],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d042d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
253, 115, 290, 132, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×5",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[5] */
static MMIPACKET d043 = { &idDesktopZoomMItem[5],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d043d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
255, 131, 292, 148, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×6",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[6] */
static MMIPACKET d044 = { &idDesktopZoomMItem[6],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d044d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
255, 149, 292, 166, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×7",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopZoomMItem[7] */
static MMIPACKET d045 = { &idDesktopZoomMItem[7],
&idDesktopZoomMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d045d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
255, 171, 292, 188, 0, 6, 8,
MS_NONEL40,
desktop_setImageZoom,
0x0000, -1,
"×8",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopImageMItem[1] */
static MMIPACKET d046 = { &idDesktopImageMItem[1],
&idDesktopImageMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d046d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
144, 70, 239, 89, 0, 6, 8,
MS_NONEL40,
cmd_viewAllScr,
0x0000, -1,
"全画面表示",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopImageMItem[2] */
static MMIPACKET d047 = { &idDesktopImageMItem[2],
&idDesktopImageMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d047d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
150, 100, 245, 119, 0, 6, 8,
MS_NONEL40,
desktopMITEMfile_clearFunc,
0x0000, -1,
"画像クリア",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopImageMItem[3] */
static MMIPACKET d048 = { &idDesktopImageMItem[3],
&idDesktopImageMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d048d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
148, 124, 243, 143, 0, 6, 8,
MS_NONEL40,
Desktop_UndoProc,
0x0000, -1,
"アンドゥ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopMItem_Setup */
static MMIPACKET d049 = { &idDesktopMItem_Setup,
&idDesktopMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d049d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
266, 0, 341, 19, 8, 6, 8,
MS_PANELL40,
desktop_setup,
0x0000, -1,
"設定",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopExitIcon */
static MMIPACKET d050 = { &idDesktopExitIcon,
&idDesktopDialog,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d050d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
469, 0, 488, 19, 8, 6, 8,
MS_PANELL40,
desktop_quit,
0x0000, 290
} ;
/* idDesktopAlertHyper */
static MMIPACKET d051 = { &idDesktopAlertHyper,
&MJ_BASEOBJ,
&MJ_HYPER,
OFFSET(HYPER),
MS_NONE
} ;
static HYPER d051d = { MS_NONEL40,
0, 0, 11, 11, 0, 0, 0,
MS_NONEL40,
} ;
/* idDesktopHelpIcon */
static MMIPACKET d052 = { &idDesktopHelpIcon,
&idDesktopAlertHyper,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d052d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
405, 0, 424, 19, 8, 6, 8,
MS_PANELL40,
0,
0x0000, 291
} ;
/* idDesktopSkbIcon */
static MMIPACKET d053 = { &idDesktopSkbIcon,
&idDesktopAlertHyper,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d053d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
437, 0, 456, 19, 8, 6, 8,
MS_PANELL40,
0,
0x0000, 292
} ;
/* idDesktopFileDlgHyper */
static MMIPACKET d054 = { &idDesktopFileDlgHyper,
&idDesktopAlertHyper,
&MJ_HYPER,
OFFSET(HYPER),
MS_NONE
} ;
static HYPER d054d = { MS_NONEL40,
0, 0, 11, 11, 0, 0, 0,
MS_NONEL40,
} ;
/* idImageClearDlg */
static MMIPACKET d055 = { &idImageClearDlg,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d055d = { MS_BTLEFTL40 | MS_EVMOSONL40,
199, 336, 478, 439, 8, 6, 8,
MS_ALERTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* idImageClearTitleMsg */
static MMIPACKET d056 = { &idImageClearTitleMsg,
&idImageClearDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d056d = { MS_CENTERL40 | MS_DSPONLYL40,
199, 343, 478, 358, 0,15, 8,
MS_NONEL40,
"画像クリア",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* idImageClearMsg[0] */
static MMIPACKET d057 = { &idImageClearMsg[0],
&idImageClearDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d057d = { MS_CENTERL40 | MS_DSPONLYL40,
199, 363, 478, 378, 0,15, 8,
MS_NONEL40,
"現在の描画色で画像全体をクリアします。",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* idImageClearMsg[1] */
static MMIPACKET d058 = { &idImageClearMsg[1],
&idImageClearDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d058d = { MS_CENTERL40 | MS_DSPONLYL40,
199, 379, 478, 394, 0, 6, 8,
MS_NONEL40,
"よろしいですか?",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* idImageClearDBtn[0] */
static MMIPACKET d059 = { &idImageClearDBtn[0],
&idImageClearDlg,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d059d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
235, 407, 308, 426, 0, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
imgclearDBTNFunc,
0x0000
} ;
/* idImageClearDBtn[1] */
static MMIPACKET d060 = { &idImageClearDBtn[1],
&idImageClearDlg,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d060d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
369, 408, 442, 427, 0, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
imgclearDBTNFunc,
0x0000
} ;
/* idImageClearMsg[2] */
static MMIPACKET d061 = { &idImageClearMsg[2],
&idImageClearDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d061d = { MS_CENTERL40 | MS_DSPONLYL40,
245, 409, 298, 424, 0,15, 8,
MS_NONEL40,
"クリア",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* idImageClearMsg[3] */
static MMIPACKET d062 = { &idImageClearMsg[3],
&idImageClearDlg,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d062d = { MS_CENTERL40 | MS_DSPONLYL40,
379, 410, 432, 425, 0,15, 8,
MS_NONEL40,
"取消",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* idDesktopMItem_Edit */
static MMIPACKET d063 = { &idDesktopMItem_Edit,
NULL,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d063d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
339, 280, 408, 299, 8, 6, 8,
MS_PANELL40,
0,
0x0000, -1,
"編集",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopMItem_Layer */
static MMIPACKET d064 = { &idDesktopMItem_Layer,
NULL,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d064d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
7, 180, 76, 199, 8, 6, 8,
MS_PANELL40,
0,
0x0000, -1,
"レイヤ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMenu */
static MMIPACKET d065 = { &idDesktopLayerMenu,
&idDesktopMItem_Layer,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d065d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
0, 217, 94, 403, 8, 6, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* idDesktopLayerMItem[0] */
static MMIPACKET d066 = { &idDesktopLayerMItem[0],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d066d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
5, 226, 81, 245, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"新規追加...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[1] */
static MMIPACKET d067 = { &idDesktopLayerMItem[1],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d067d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
11, 249, 87, 268, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"削除",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[2] */
static MMIPACKET d068 = { &idDesktopLayerMItem[2],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d068d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
9, 270, 85, 289, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"クリア",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[3] */
static MMIPACKET d069 = { &idDesktopLayerMItem[3],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d069d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
5, 287, 81, 306, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"描画レイヤ...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[4] */
static MMIPACKET d070 = { &idDesktopLayerMItem[4],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d070d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
5, 305, 81, 324, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"レイヤ設定...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[5] */
static MMIPACKET d071 = { &idDesktopLayerMItem[5],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d071d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
9, 333, 85, 352, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"レイヤ合成...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[6] */
static MMIPACKET d072 = { &idDesktopLayerMItem[6],
&idDesktopLayerMenu,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d072d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
5, 350, 81, 377, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"保存...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* idDesktopLayerMItem[7] */
static MMIPACKET d073 = { &idDesktopLayerMItem[7],
&idDesktopLayerMenu,
&MJ_MITEML40,
0,
MS_NONE
} ;
static MITEML40 d073d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
11, 378, 87, 397, 8, 6, 8,
MS_NONEL40,
0,
0x0000, -1,
"読込...",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;