mirror of https://github.com/axmolengine/axmol.git
246 lines
6.8 KiB
C
246 lines
6.8 KiB
C
|
//------------------------------------------------------------------------------
|
|||
|
// cocosTemplate_Res_c.h
|
|||
|
// <20><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ݶ<EFBFBD><DDB6><EFBFBD><EFBFBD>ļ<EFBFBD>
|
|||
|
//
|
|||
|
//
|
|||
|
// Copyright (C) Tranzda CORPORATION
|
|||
|
//
|
|||
|
//---<2D>ȱ<EFBFBD><C8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>---
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: TR3C.exe
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾: TG3 <20><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>汾V1.5 Build 91
|
|||
|
//
|
|||
|
//---<2D><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>---
|
|||
|
// <20><><EFBFBD>棺δ<E6A3BA><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><CEBA>˲<EFBFBD><EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD>Ĵ<DEB8><C4B4>ļ<EFBFBD>!!!<21><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD>!
|
|||
|
//
|
|||
|
//------------------------------------------------------------------------------
|
|||
|
#include "cocostemplate_res_h.h" //<2F><><EFBFBD>Ͷ<EFBFBD><CDB6><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
|
|||
|
#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<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
------------------------------------------------------------*/
|
|||
|
|
|||
|
|
|||
|
/*"Main"*/
|
|||
|
const TUChar COCOST_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
|
|||
|
|
|||
|
const ResWindowType COCOST_Form1002 =
|
|||
|
{
|
|||
|
{//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
COCOST_ID_Form1002,//<2F><>ԴID
|
|||
|
RES_CLASS_FORM,//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ΪFORM(<28><><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD>
|
|||
|
sizeof(ResWindowType),//<2F><>Դ<EFBFBD><D4B4>С
|
|||
|
-1,//<2F><><EFBFBD><EFBFBD>ԴID(<28><><EFBFBD><EFBFBD>û<EFBFBD>й<EFBFBD>Ϊ-1)
|
|||
|
0,//Tag
|
|||
|
0//StyleOption
|
|||
|
},//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
{//ControlAttrType<70><65><EFBFBD><EFBFBD>
|
|||
|
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,<2C><>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
0,//sbmHasHorizontal<61><6C>ˮƽ<CBAE><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
0,//sbmAuto,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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, // <20>ؼ<EFBFBD><D8BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
{//ResWindowExAttrType
|
|||
|
0,//closeBtnStyle
|
|||
|
0,//actionBtnStyle
|
|||
|
0,//DisableSystemStatusBar
|
|||
|
0,//fullScreen
|
|||
|
0,//rotateMode
|
|||
|
},
|
|||
|
(TUChar *)COCOST_Form1002TitleStr, //<2F><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!<21><>
|
|||
|
NULL, // <20>رհ<D8B1>ť<EFBFBD><C5A5><EFBFBD>֣<EFBFBD><D6A3><EFBFBD>ǰΪ<C7B0>գ<EFBFBD><D5A3><EFBFBD>
|
|||
|
NULL, // action button text = null
|
|||
|
0, //CharSet
|
|||
|
stdFont,//Font
|
|||
|
-1, //MainMenuID(-1Ϊû<CEAA><C3BB><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>)
|
|||
|
TG3_WINDOW_MOVIE_MODE_DEFAULT , // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
TG3_WINDOW_MOVIE_MODE_DEFAULT , // <20>رն<D8B1><D5B6><EFBFBD>ģʽ
|
|||
|
NULL, // ָ<><D6B8><EFBFBD>ؼ<EFBFBD><D8BC>б<EFBFBD>(û<>пؼ<D0BF><D8BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>գ<EFBFBD>)
|
|||
|
0, // <20><>ת<EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
NULL // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>ο<EFBFBD><CEBF><EFBFBD>(<28><>)
|
|||
|
};//<2F><><EFBFBD><EFBFBD>COCOST_Form1002<30><32>Դ<EFBFBD><D4B4><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
------------------------------------------------------------*/
|
|||
|
|
|||
|
|
|||
|
/*"Main"*/
|
|||
|
const TUChar COCOST_ENU_Form1002TitleStr[]={0x004D,0x0061,0x0069,0x006E,0x0000};
|
|||
|
|
|||
|
const ResWindowType COCOST_ENU_Form1002 =
|
|||
|
{
|
|||
|
{//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
COCOST_ID_Form1002,//<2F><>ԴID
|
|||
|
RES_CLASS_FORM,//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ΪFORM(<28><><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD>
|
|||
|
sizeof(ResWindowType),//<2F><>Դ<EFBFBD><D4B4>С
|
|||
|
-1,//<2F><><EFBFBD><EFBFBD>ԴID(<28><><EFBFBD><EFBFBD>û<EFBFBD>й<EFBFBD>Ϊ-1)
|
|||
|
0,//Tag
|
|||
|
0//StyleOption
|
|||
|
},//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
{//ControlAttrType<70><65><EFBFBD><EFBFBD>
|
|||
|
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,<2C><>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
0,//sbmHasHorizontal<61><6C>ˮƽ<CBAE><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
0,//sbmAuto,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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, // <20>ؼ<EFBFBD><D8BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
{//ResWindowExAttrType
|
|||
|
0,//closeBtnStyle
|
|||
|
0,//actionBtnStyle
|
|||
|
0,//DisableSystemStatusBar
|
|||
|
0,//fullScreen
|
|||
|
0,//rotateMode
|
|||
|
},
|
|||
|
(TUChar *)COCOST_ENU_Form1002TitleStr, //<2F><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!<21><>
|
|||
|
NULL, // <20>رհ<D8B1>ť<EFBFBD><C5A5><EFBFBD>֣<EFBFBD><D6A3><EFBFBD>ǰΪ<C7B0>գ<EFBFBD><D5A3><EFBFBD>
|
|||
|
NULL, // action button text = null
|
|||
|
0, //CharSet
|
|||
|
stdFont,//Font
|
|||
|
-1, //MainMenuID(-1Ϊû<CEAA><C3BB><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>)
|
|||
|
TG3_WINDOW_MOVIE_MODE_DEFAULT , // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
TG3_WINDOW_MOVIE_MODE_DEFAULT , // <20>رն<D8B1><D5B6><EFBFBD>ģʽ
|
|||
|
NULL, // ָ<><D6B8><EFBFBD>ؼ<EFBFBD><D8BC>б<EFBFBD>(û<>пؼ<D0BF><D8BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>գ<EFBFBD>)
|
|||
|
0, // <20><>ת<EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
NULL // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>ο<EFBFBD><CEBF><EFBFBD>(<28><>)
|
|||
|
};//<2F><><EFBFBD><EFBFBD>COCOST_ENU_Form1002<30><32>Դ<EFBFBD><D4B4><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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
|
|||
|
};
|
|||
|
|
|||
|
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>
|
|||
|
#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},
|