axmol/template/Res/cocostemplate_res_c.h

246 lines
6.8 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// cocosTemplate_Res_c.h
// 资源编译器转换文件数据定义文件
//
//
// Copyright (C) Tranzda CORPORATION
//
//---┤编译器信息├---
// 编译器名称: TR3C.exe
// 编译器版本: TG3 资源编译器 版本V1.5 Build 91
//
//---┤注意├---
// 警告:未经允许,任何人不准擅自修改此文件!!!否则后果自负!
//
//------------------------------------------------------------------------------
#include "cocostemplate_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 COCOST_project=
{
320, //screenWidth
480, //screenHeight
165, //screenDPI
};
/*-------------------------------------------------------------
* ID为COCOST_ID_Form1002窗体的数据
------------------------------------------------------------*/
/*"Main"*/
const TUChar COCOST_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
const ResWindowType COCOST_Form1002 =
{
{//资源公共头部定义
COCOST_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,//DisableSystemStatusBar
0,//fullScreen
0,//rotateMode
},
(TUChar *)COCOST_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 // 界面旋转参考表(空)
};//窗体COCOST_Form1002资源数据常量结束
const ResourceLangRegisterEntry COCOST_CHS_Resource[] =
{
{kProjectRscType,0,(void*)&COCOST_project,sizeof(COCOST_project)}
,{kWindowRscType,COCOST_ID_Form1002,(void*)&COCOST_Form1002,sizeof(COCOST_Form1002)}
};
const ResourceLangRegisterEntry2 COCOST_CHS_ResourceEntry =
{
tgresource_tag,
11,//res version
0,//subVersionValue
0,//reserved1
0,//reserved2
COCOST_CHS_Resource
};
/************************************************************
* Language:ENU
*************************************************************/
const ResProjectType COCOST_ENU_project=
{
320, //screenWidth
480, //screenHeight
165, //screenDPI
};
/*-------------------------------------------------------------
* ID为COCOST_ID_Form1002窗体的数据
------------------------------------------------------------*/
/*"Main"*/
const TUChar COCOST_ENU_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
const ResWindowType COCOST_ENU_Form1002 =
{
{//资源公共头部定义
COCOST_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,//DisableSystemStatusBar
0,//fullScreen
0,//rotateMode
},
(TUChar *)COCOST_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 // 界面旋转参考表(空)
};//窗体COCOST_ENU_Form1002资源数据常量结束
const ResourceLangRegisterEntry COCOST_ENU_Resource[] =
{
{kProjectRscType,0,(void*)&COCOST_ENU_project,sizeof(COCOST_ENU_project)}
,{kWindowRscType,COCOST_ID_Form1002,(void*)&COCOST_ENU_Form1002,sizeof(COCOST_ENU_Form1002)}
};
const ResourceLangRegisterEntry2 COCOST_ENU_ResourceEntry =
{
tgresource_tag,
11,//res version
0,//subVersionValue
0,//reserved1
0,//reserved2
COCOST_ENU_Resource
};
//资源定义
#define TG_RESOURCE_DEFINE \
{SYS_LANGUAGE_CHS,sizeof( COCOST_CHS_Resource )/ sizeof(ResourceLangRegisterEntry), &COCOST_CHS_ResourceEntry}, \
{SYS_LANGUAGE_ENU,sizeof( COCOST_ENU_Resource )/ sizeof(ResourceLangRegisterEntry), &COCOST_ENU_ResourceEntry},