mirror of https://github.com/axmolengine/axmol.git
1088 lines
30 KiB
C
1088 lines
30 KiB
C
//------------------------------------------------------------------------------
|
||
// TestAudioEngine_Res_c.h
|
||
// 资源编译器转换文件数据定义文件
|
||
//
|
||
//
|
||
// Copyright (C) Tranzda CORPORATION
|
||
//
|
||
//---┤编译器信息├---
|
||
// 编译器名称: TR3C.exe
|
||
// 编译器版本: TG3 资源编译器 版本V1.5 Build 91
|
||
//
|
||
//---┤注意├---
|
||
// 警告:未经允许,任何人不准擅自修改此文件!!!否则后果自负!
|
||
//
|
||
//------------------------------------------------------------------------------
|
||
#include "testaudioengine_res_h.h" //类型定义头文件
|
||
#ifndef WIN32
|
||
//#pragma diag_remark 1296
|
||
#endif
|
||
#if 11<RES_VERSION
|
||
#error Resource file version too low!Must be compiled with higher version TR3C.
|
||
#endif
|
||
|
||
|
||
/************************************************************
|
||
* Language:CHS
|
||
*************************************************************/
|
||
|
||
|
||
const ResProjectType TESTAU_project=
|
||
{
|
||
320, //screenWidth
|
||
480, //screenHeight
|
||
165, //screenDPI
|
||
};
|
||
|
||
|
||
/*-------------------------------------------------------------
|
||
* ID为TESTAU_ID_Form1002窗体的数据
|
||
------------------------------------------------------------*/
|
||
|
||
|
||
/*"TestAudioEngine"*/
|
||
const TUChar TESTAU_Form1002TitleStr[]={0x0054,0x0065,0x0073,0x0074,0x0041,0x0075,0x0064,0x0069,0x006F,0x0045,0x006E,0x0067,0x0069,0x006E,0x0065,0x0000};
|
||
|
||
extern const ResCommonType * const TESTAU_Form1002_ControlList[];
|
||
const ResWindowType TESTAU_Form1002 =
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002,//资源ID
|
||
RES_CLASS_FORM,//资源类型为FORM(窗体)类型
|
||
sizeof(ResWindowType),//资源大小
|
||
-1,//父资源ID(窗体没有故为-1)
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//ControlAttrType属性
|
||
0,//Enabled,(nouse here)
|
||
0,//Visibled,(nouse here)
|
||
0,//Ctl3D,,(nouse here)
|
||
0,//TabStop,(nouse here)
|
||
0,//ReadOnly,(nouse here)
|
||
0,//ImeEnable,(nouse here)
|
||
0,//WordWrap,(nouse here)
|
||
0,//TopLeftIsLock,(nouse here)
|
||
0,//Check,(nouse here)
|
||
0,//MultiLine,(nouse here)
|
||
0,//AutoSize,(nouse here)
|
||
0,//Modal,
|
||
0,//Numeric ,Field Use
|
||
0,//AutoShift,Field Use
|
||
0,//DynamicSize,Field Use
|
||
0,//UnderLine,Field Use
|
||
1,//BIClose
|
||
0,//HasStatusBar
|
||
0,//BIAction
|
||
0,//BIMaximize
|
||
0,//ForceShowTitle
|
||
0,//Graphical,(nouse here)
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},
|
||
{//PanelAttr
|
||
2,//HScrollMode,0-auto,1-enable,2-disable
|
||
0,//VScrollMode,0-auto,1-enable,2-disable
|
||
},
|
||
0X3, // BackColor
|
||
0X2, // ForeColor
|
||
{{0, 0}, {320, 480}}, // RectangleType windowBounds
|
||
6, // 控件个数
|
||
{//ResWindowExAttrType
|
||
0,//closeBtnStyle
|
||
0,//actionBtnStyle
|
||
0,//DisableSystemStatusBar
|
||
1,//fullScreen
|
||
0,//rotateMode
|
||
},
|
||
(TUChar *)TESTAU_Form1002TitleStr, //标题文本(在上!)
|
||
NULL, // 关闭按钮文字(当前为空!)
|
||
NULL, // action button text = null
|
||
0, //CharSet
|
||
stdFont,//Font
|
||
-1, //MainMenuID(-1为没有主菜单)
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 启动动画模式
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 关闭动画模式
|
||
(ResCommonType **)TESTAU_Form1002_ControlList, // 指向控件列表
|
||
0, // 旋转参考表子项个数
|
||
NULL // 界面旋转参考表(空)
|
||
};//窗体TESTAU_Form1002资源数据常量结束
|
||
|
||
//----------------------- Button TESTAU_PlayBack属性定义 Begin------------------------
|
||
/*"PlayBackgroundMusic"*/
|
||
const TUChar TESTAU_PlayBackCaption[]={0x0050,0x006C,0x0061,0x0079,0x0042,0x0061,0x0063,0x006B,0x0067,0x0072,0x006F,0x0075,0x006E,0x0064,0x004D,0x0075,0x0073,0x0069,0x0063,
|
||
0x0000};
|
||
|
||
const ResButtonType TESTAU_PlayBack=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayBack, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 60}, {200, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_PlayBackCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
1,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_PlayBack定义结束
|
||
|
||
//----------------------- Button TESTAU_PlayBack属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_StopBack属性定义 Begin------------------------
|
||
/*"StopBackgroundMusic"*/
|
||
const TUChar TESTAU_StopBackCaption[]={0x0053,0x0074,0x006F,0x0070,0x0042,0x0061,0x0063,0x006B,0x0067,0x0072,0x006F,0x0075,0x006E,0x0064,0x004D,0x0075,0x0073,0x0069,0x0063,
|
||
0x0000};
|
||
|
||
const ResButtonType TESTAU_StopBack=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_StopBack, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 95}, {200, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_StopBackCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
2,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_StopBack定义结束
|
||
|
||
//----------------------- Button TESTAU_StopBack属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_LoadEffect属性定义 Begin------------------------
|
||
/*"LoadEffect"*/
|
||
const TUChar TESTAU_LoadEffectCaption[]={0x004C,0x006F,0x0061,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_LoadEffect=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_LoadEffect, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 150}, {107, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_LoadEffectCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
3,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_LoadEffect定义结束
|
||
|
||
//----------------------- Button TESTAU_LoadEffect属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_PlayLoaded属性定义 Begin------------------------
|
||
/*"PlayLoadedEffect"*/
|
||
const TUChar TESTAU_PlayLoadedCaption[]={0x0050,0x006C,0x0061,0x0079,0x004C,0x006F,0x0061,0x0064,0x0065,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_PlayLoaded=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayLoaded, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 190}, {160, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_PlayLoadedCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
4,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_PlayLoaded定义结束
|
||
|
||
//----------------------- Button TESTAU_PlayLoaded属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_PlayEffect属性定义 Begin------------------------
|
||
/*"PlayEffect"*/
|
||
const TUChar TESTAU_PlayEffectCaption[]={0x0050,0x006C,0x0061,0x0079,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_PlayEffect=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayEffect, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 250}, {107, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_PlayEffectCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
5,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_PlayEffect定义结束
|
||
|
||
//----------------------- Button TESTAU_PlayEffect属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_UnLoadBtn属性定义 Begin------------------------
|
||
/*"UnLoadEffect"*/
|
||
const TUChar TESTAU_UnLoadBtnCaption[]={0x0055,0x006E,0x004C,0x006F,0x0061,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_UnLoadBtn=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_UnLoadBtn, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{135, 150}, {120, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_UnLoadBtnCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
6,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_UnLoadBtn定义结束
|
||
|
||
//----------------------- Button TESTAU_UnLoadBtn属性定义 End------------------------
|
||
const ResCommonType * const TESTAU_Form1002_ControlList[6]=
|
||
{
|
||
(ResCommonType *)&TESTAU_PlayBack
|
||
,(ResCommonType *)&TESTAU_StopBack
|
||
,(ResCommonType *)&TESTAU_LoadEffect
|
||
,(ResCommonType *)&TESTAU_PlayLoaded
|
||
,(ResCommonType *)&TESTAU_PlayEffect
|
||
,(ResCommonType *)&TESTAU_UnLoadBtn
|
||
};
|
||
|
||
const ResourceLangRegisterEntry TESTAU_CHS_Resource[] =
|
||
{
|
||
{kProjectRscType,0,(void*)&TESTAU_project,sizeof(TESTAU_project)}
|
||
,{kWindowRscType,TESTAU_ID_Form1002,(void*)&TESTAU_Form1002,sizeof(TESTAU_Form1002)}
|
||
};
|
||
|
||
const ResourceLangRegisterEntry2 TESTAU_CHS_ResourceEntry =
|
||
{
|
||
tgresource_tag,
|
||
11,//res version
|
||
0,//subVersionValue
|
||
0,//reserved1
|
||
0,//reserved2
|
||
TESTAU_CHS_Resource
|
||
};
|
||
|
||
|
||
/************************************************************
|
||
* Language:ENU
|
||
*************************************************************/
|
||
|
||
|
||
const ResProjectType TESTAU_ENU_project=
|
||
{
|
||
320, //screenWidth
|
||
480, //screenHeight
|
||
165, //screenDPI
|
||
};
|
||
|
||
|
||
/*-------------------------------------------------------------
|
||
* ID为TESTAU_ID_Form1002窗体的数据
|
||
------------------------------------------------------------*/
|
||
|
||
|
||
/*"TestAudioEngine"*/
|
||
const TUChar TESTAU_ENU_Form1002TitleStr[]={0x0054,0x0065,0x0073,0x0074,0x0041,0x0075,0x0064,0x0069,0x006F,0x0045,0x006E,0x0067,0x0069,0x006E,0x0065,0x0000};
|
||
|
||
extern const ResCommonType * const TESTAU_ENU_Form1002_ControlList[];
|
||
const ResWindowType TESTAU_ENU_Form1002 =
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002,//资源ID
|
||
RES_CLASS_FORM,//资源类型为FORM(窗体)类型
|
||
sizeof(ResWindowType),//资源大小
|
||
-1,//父资源ID(窗体没有故为-1)
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//ControlAttrType属性
|
||
0,//Enabled,(nouse here)
|
||
0,//Visibled,(nouse here)
|
||
0,//Ctl3D,,(nouse here)
|
||
0,//TabStop,(nouse here)
|
||
0,//ReadOnly,(nouse here)
|
||
0,//ImeEnable,(nouse here)
|
||
0,//WordWrap,(nouse here)
|
||
0,//TopLeftIsLock,(nouse here)
|
||
0,//Check,(nouse here)
|
||
0,//MultiLine,(nouse here)
|
||
0,//AutoSize,(nouse here)
|
||
0,//Modal,
|
||
0,//Numeric ,Field Use
|
||
0,//AutoShift,Field Use
|
||
0,//DynamicSize,Field Use
|
||
0,//UnderLine,Field Use
|
||
1,//BIClose
|
||
0,//HasStatusBar
|
||
0,//BIAction
|
||
0,//BIMaximize
|
||
0,//ForceShowTitle
|
||
0,//Graphical,(nouse here)
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},
|
||
{//PanelAttr
|
||
2,//HScrollMode,0-auto,1-enable,2-disable
|
||
0,//VScrollMode,0-auto,1-enable,2-disable
|
||
},
|
||
0X3, // BackColor
|
||
0X2, // ForeColor
|
||
{{0, 0}, {320, 480}}, // RectangleType windowBounds
|
||
6, // 控件个数
|
||
{//ResWindowExAttrType
|
||
0,//closeBtnStyle
|
||
0,//actionBtnStyle
|
||
0,//DisableSystemStatusBar
|
||
0,//fullScreen
|
||
0,//rotateMode
|
||
},
|
||
(TUChar *)TESTAU_ENU_Form1002TitleStr, //标题文本(在上!)
|
||
NULL, // 关闭按钮文字(当前为空!)
|
||
NULL, // action button text = null
|
||
0, //CharSet
|
||
stdFont,//Font
|
||
-1, //MainMenuID(-1为没有主菜单)
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 启动动画模式
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 关闭动画模式
|
||
(ResCommonType **)TESTAU_ENU_Form1002_ControlList, // 指向控件列表
|
||
0, // 旋转参考表子项个数
|
||
NULL // 界面旋转参考表(空)
|
||
};//窗体TESTAU_ENU_Form1002资源数据常量结束
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayBack属性定义 Begin------------------------
|
||
/*"PlayBackgroundMusic"*/
|
||
const TUChar TESTAU_ENU_PlayBackCaption[]={0x0050,0x006C,0x0061,0x0079,0x0042,0x0061,0x0063,0x006B,0x0067,0x0072,0x006F,0x0075,0x006E,0x0064,0x004D,0x0075,0x0073,0x0069,0x0063,
|
||
0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_PlayBack=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayBack, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 60}, {200, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_PlayBackCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
1,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_PlayBack定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayBack属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_ENU_StopBack属性定义 Begin------------------------
|
||
/*"StopBackgroundMusic"*/
|
||
const TUChar TESTAU_ENU_StopBackCaption[]={0x0053,0x0074,0x006F,0x0070,0x0042,0x0061,0x0063,0x006B,0x0067,0x0072,0x006F,0x0075,0x006E,0x0064,0x004D,0x0075,0x0073,0x0069,0x0063,
|
||
0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_StopBack=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_StopBack, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 95}, {200, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_StopBackCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
2,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_StopBack定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_StopBack属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_ENU_LoadEffect属性定义 Begin------------------------
|
||
/*"LoadEffect"*/
|
||
const TUChar TESTAU_ENU_LoadEffectCaption[]={0x004C,0x006F,0x0061,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_LoadEffect=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_LoadEffect, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 150}, {107, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_LoadEffectCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
3,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_LoadEffect定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_LoadEffect属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayLoaded属性定义 Begin------------------------
|
||
/*"PlayLoadedEffect"*/
|
||
const TUChar TESTAU_ENU_PlayLoadedCaption[]={0x0050,0x006C,0x0061,0x0079,0x004C,0x006F,0x0061,0x0064,0x0065,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_PlayLoaded=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayLoaded, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 190}, {160, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_PlayLoadedCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
4,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_PlayLoaded定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayLoaded属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayEffect属性定义 Begin------------------------
|
||
/*"PlayEffect"*/
|
||
const TUChar TESTAU_ENU_PlayEffectCaption[]={0x0050,0x006C,0x0061,0x0079,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_PlayEffect=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_PlayEffect, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{5, 250}, {107, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_PlayEffectCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
5,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_PlayEffect定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_PlayEffect属性定义 End------------------------
|
||
|
||
//----------------------- Button TESTAU_ENU_UnLoadBtn属性定义 Begin------------------------
|
||
/*"UnLoadEffect"*/
|
||
const TUChar TESTAU_ENU_UnLoadBtnCaption[]={0x0055,0x006E,0x004C,0x006F,0x0061,0x0064,0x0045,0x0066,0x0066,0x0065,0x0063,0x0074,0x0000};
|
||
|
||
const ResButtonType TESTAU_ENU_UnLoadBtn=//
|
||
{
|
||
{//资源公共头部定义
|
||
TESTAU_ID_Form1002_UnLoadBtn, //资源ID号
|
||
RES_CLASS_BUTTON,
|
||
sizeof(ResButtonType),//大小
|
||
TESTAU_ID_Form1002,//父容器资源ID
|
||
0,//Tag
|
||
0//StyleOption
|
||
},//资源公共头部定义结束
|
||
{//属性标志
|
||
1,//enabled
|
||
1,//visibled
|
||
0,//ctl3D
|
||
1,//tabStop
|
||
0,//readOnly
|
||
0,//imeEnable
|
||
0,//wordWrap
|
||
0,//topLeftIsLock
|
||
0,//check
|
||
0,//multiLine,(nouse here)
|
||
0,//autoSize,(nouse here)
|
||
0,//modal,(Form使用)
|
||
0,//numeric,(nouse here)
|
||
0,//autoShift,(nouse here)
|
||
0,//dynamicSize,(nouse here)
|
||
0,//underLine,(nouse here)
|
||
0,//bIClose,(nouse here)
|
||
0,//HasStatusBar,(nouse here)
|
||
0,//bIAction,(nouse here)
|
||
0,//bIMaximize,(nouse here)
|
||
0,//ForceShowTitle,(nouse here)
|
||
0,//graphical
|
||
0,//sbmHasVertical,垂直滚动条
|
||
0,//sbmHasHorizontal,水平滚动条
|
||
0,//sbmAuto,滚动条自动出现
|
||
0,//hasImage
|
||
0,//hasCheckBox
|
||
1,//UseSYSDefColor
|
||
0,//Smooth
|
||
0,//ShowText
|
||
1,//TransParent
|
||
0//OwnerDraw
|
||
},//属性标志结束
|
||
{{135, 150}, {120, 30}},//rect
|
||
0x3,//backColor
|
||
0x2,//boreColor
|
||
0x4,//selectedBackColor
|
||
0x5,//selectedForeColor
|
||
0x6,//focusBackColor
|
||
0x7,//focusForeColor
|
||
(TUChar *)TESTAU_ENU_UnLoadBtnCaption,//Caption
|
||
0,//charSet
|
||
stdFont,//Font
|
||
-1,//BitmapID
|
||
-1,//SelectedBitmapID
|
||
-1,//FocusBitmapID
|
||
0,//Style
|
||
6,//TabOrder
|
||
0//TabOrderGroup
|
||
};//TESTAU_ENU_UnLoadBtn定义结束
|
||
|
||
//----------------------- Button TESTAU_ENU_UnLoadBtn属性定义 End------------------------
|
||
const ResCommonType * const TESTAU_ENU_Form1002_ControlList[6]=
|
||
{
|
||
(ResCommonType *)&TESTAU_ENU_PlayBack
|
||
,(ResCommonType *)&TESTAU_ENU_StopBack
|
||
,(ResCommonType *)&TESTAU_ENU_LoadEffect
|
||
,(ResCommonType *)&TESTAU_ENU_PlayLoaded
|
||
,(ResCommonType *)&TESTAU_ENU_PlayEffect
|
||
,(ResCommonType *)&TESTAU_ENU_UnLoadBtn
|
||
};
|
||
|
||
const ResourceLangRegisterEntry TESTAU_ENU_Resource[] =
|
||
{
|
||
{kProjectRscType,0,(void*)&TESTAU_ENU_project,sizeof(TESTAU_ENU_project)}
|
||
,{kWindowRscType,TESTAU_ID_Form1002,(void*)&TESTAU_ENU_Form1002,sizeof(TESTAU_ENU_Form1002)}
|
||
};
|
||
|
||
const ResourceLangRegisterEntry2 TESTAU_ENU_ResourceEntry =
|
||
{
|
||
tgresource_tag,
|
||
11,//res version
|
||
0,//subVersionValue
|
||
0,//reserved1
|
||
0,//reserved2
|
||
TESTAU_ENU_Resource
|
||
};
|
||
|
||
//资源定义
|
||
#define TG_RESOURCE_DEFINE \
|
||
{SYS_LANGUAGE_CHS,sizeof( TESTAU_CHS_Resource )/ sizeof(ResourceLangRegisterEntry), &TESTAU_CHS_ResourceEntry}, \
|
||
{SYS_LANGUAGE_ENU,sizeof( TESTAU_ENU_Resource )/ sizeof(ResourceLangRegisterEntry), &TESTAU_ENU_ResourceEntry},
|