mirror of https://github.com/axmolengine/axmol.git
221 lines
6.1 KiB
C
221 lines
6.1 KiB
C
// Application resource content file.
|
||
|
||
// Original file name: test_sprite_res_c.h
|
||
// Generated by TOPS Builder:Project wizard,Date:2010-8-3
|
||
|
||
|
||
#include "test_sprite_res_h.h" //类型定义头文件
|
||
#ifndef WIN32
|
||
//#pragma diag_remark 1296
|
||
#endif
|
||
#if 10<RES_VERSION
|
||
#error Resource file version too low!Must be compiled with higher version TR3C.
|
||
#endif
|
||
|
||
|
||
/************************************************************
|
||
* Language:CHS
|
||
*************************************************************/
|
||
|
||
|
||
|
||
|
||
/*-------------------------------------------------------------
|
||
* ID为TEST_S_ID_Form1002窗体的数据
|
||
------------------------------------------------------------*/
|
||
|
||
|
||
/*"Main"*/
|
||
const TUChar TEST_S_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
|
||
|
||
const ResWindowType TEST_S_Form1002 =
|
||
{
|
||
{//资源公共头部定义
|
||
TEST_S_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, 24}, {320, 456}}, // RectangleType windowBounds
|
||
0, // 控件个数
|
||
{//ResWindowExAttrType
|
||
0,//closeBtnStyle
|
||
0,//actionBtnStyle
|
||
0,//hasSystemStatusBar
|
||
0,//fullScreen
|
||
},
|
||
(TUChar *)TEST_S_Form1002TitleStr, //标题文本(在上!)
|
||
NULL, // 关闭按钮文字(当前为空!)
|
||
NULL, // action button text = null
|
||
0, //CharSet
|
||
stdFont,//Font
|
||
-1, //MainMenuID(-1为没有主菜单)
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 启动动画模式
|
||
TG3_WINDOW_MOVIE_MODE_DEFAULT , // 关闭动画模式
|
||
NULL, // 指向控件列表(没有控件,所以为空!)
|
||
0, // 旋转参考表子项个数
|
||
NULL // 界面旋转参考表(空)
|
||
};//窗体TEST_S_Form1002资源数据常量结束
|
||
const ResourceLangRegisterEntry TEST_S_CHS_Resource[] =
|
||
{
|
||
{kWindowRscType,TEST_S_ID_Form1002,(void*)&TEST_S_Form1002,sizeof(TEST_S_Form1002)}
|
||
};
|
||
|
||
const ResourceLangRegisterEntry2 TEST_S_CHS_ResourceEntry =
|
||
{
|
||
tgresource_tag,
|
||
10,//res version
|
||
0,//subVersionValue
|
||
0,//reserved1
|
||
0,//reserved2
|
||
TEST_S_CHS_Resource
|
||
};
|
||
|
||
|
||
/************************************************************
|
||
* Language:ENU
|
||
*************************************************************/
|
||
|
||
|
||
|
||
|
||
/*-------------------------------------------------------------
|
||
* ID为TEST_S_ID_Form1002窗体的数据
|
||
------------------------------------------------------------*/
|
||
|
||
|
||
/*"Main"*/
|
||
const TUChar TEST_S_ENU_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
|
||
|
||
const ResWindowType TEST_S_ENU_Form1002 =
|
||
{
|
||
{//资源公共头部定义
|
||
TEST_S_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, 24}, {320, 456}}, // RectangleType windowBounds
|
||
0, // 控件个数
|
||
{//ResWindowExAttrType
|
||
0,//closeBtnStyle
|
||
0,//actionBtnStyle
|
||
0,//hasSystemStatusBar
|
||
0,//fullScreen
|
||
},
|
||
(TUChar *)TEST_S_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 , // 关闭动画模式
|
||
NULL, // 指向控件列表(没有控件,所以为空!)
|
||
0, // 旋转参考表子项个数
|
||
NULL // 界面旋转参考表(空)
|
||
};//窗体TEST_S_ENU_Form1002资源数据常量结束
|
||
const ResourceLangRegisterEntry TEST_S_ENU_Resource[] =
|
||
{
|
||
{kWindowRscType,TEST_S_ID_Form1002,(void*)&TEST_S_ENU_Form1002,sizeof(TEST_S_ENU_Form1002)}
|
||
};
|
||
|
||
const ResourceLangRegisterEntry2 TEST_S_ENU_ResourceEntry =
|
||
{
|
||
tgresource_tag,
|
||
10,//res version
|
||
0,//subVersionValue
|
||
0,//reserved1
|
||
0,//reserved2
|
||
TEST_S_ENU_Resource
|
||
};
|
||
|
||
//资源定义
|
||
#define TG_RESOURCE_DEFINE \
|
||
{SYS_LANGUAGE_CHS,sizeof( TEST_S_CHS_Resource )/ sizeof(ResourceLangRegisterEntry), &TEST_S_CHS_ResourceEntry}, \
|
||
{SYS_LANGUAGE_ENU,sizeof( TEST_S_ENU_Resource )/ sizeof(ResourceLangRegisterEntry), &TEST_S_ENU_ResourceEntry},
|