mirror of https://github.com/axmolengine/axmol.git
parent
7852912fdd
commit
0848154b72
|
@ -1,53 +0,0 @@
|
|||
|
||||
// Original file name: test_uphone_Res.ENU.tr3
|
||||
// Generated by TOPS Builder 1.2.3.229 Date:2010-8-5
|
||||
|
||||
|
||||
//$VERSION 60003
|
||||
//$SETTINGS
|
||||
//$Begin
|
||||
//$VCPRJFILE=$002E$002E$005C$0074$0065$0073$0074$005F$0075$0070$0068$006F$006E$0065$002E$0076$0063$0070$0072$006F$006A
|
||||
//$SCR_WIDTH=320
|
||||
//$SCR_HEIGHT=480
|
||||
//$End
|
||||
LANGUAGE = 1033
|
||||
// ImageLists
|
||||
|
||||
// TComObject
|
||||
|
||||
// Forms
|
||||
|
||||
FORM ID Form1002 AT(0,0,320,480)
|
||||
FRAME
|
||||
NOSAVEBEHIND
|
||||
BIClose
|
||||
VISIBLED
|
||||
ENABLED
|
||||
CHARSET 0
|
||||
UseSYSDefColor
|
||||
TRANSPARENT
|
||||
BACKCOLOR $0003
|
||||
FORECOLOR $0002
|
||||
FOCUSBACKCOLOR $0006
|
||||
FOCUSFORECOLOR $0007
|
||||
SELECTEDFORECOLOR $0005
|
||||
SELECTEDBACKCOLOR $0004
|
||||
BEGIN
|
||||
END
|
||||
|
||||
// Menus Ö÷²Ëµ¥
|
||||
|
||||
// Alerts ¾¯¸æÏûÏ¢
|
||||
|
||||
// Strings
|
||||
|
||||
// Fonts
|
||||
|
||||
// Bitmaps
|
||||
|
||||
IMAGEFOLDER ID ResFolder1001 FOLDERNAME $0052$006F$006F$0074$0028$0041$006C$006C$0029
|
||||
// Îļþ¼Ð: Root(All)
|
||||
BEGIN
|
||||
END
|
||||
// Application
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
// Tranzda Translation File.
|
||||
// TOPS Builder use infomation contained by this file to
|
||||
// update the controls' trnaslation status.
|
||||
|
||||
// Original file name: test_uphone_Res.ENU.tr3.tts
|
||||
// Generated by TOPS Builder 1.2.3.229 Date:2010-8-5
|
||||
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
|
||||
// Original file name: test_uphone_Res.TR3
|
||||
// Generated by TOPS Builder 1.2.3.229 Date:2010-8-5
|
||||
|
||||
|
||||
#include "test_uphone_Res.h"
|
||||
|
||||
//$VERSION 60003
|
||||
//$SETTINGS
|
||||
//$Begin
|
||||
//$VCPRJFILE=$002E$002E$005C$0074$0065$0073$0074$005F$0075$0070$0068$006F$006E$0065$002E$0076$0063$0070$0072$006F$006A
|
||||
//$SCR_WIDTH=320
|
||||
//$SCR_HEIGHT=480
|
||||
//$End
|
||||
LANGUAGE = 2052
|
||||
// ImageLists
|
||||
|
||||
// TComObject
|
||||
|
||||
// Forms
|
||||
|
||||
FORM ID Form1002 AT(0,0,320,480)
|
||||
FRAME
|
||||
NOSAVEBEHIND
|
||||
FullScreen
|
||||
VISIBLED
|
||||
ENABLED
|
||||
CHARSET 0
|
||||
UseSYSDefColor
|
||||
TRANSPARENT
|
||||
BACKCOLOR $0003
|
||||
FORECOLOR $0002
|
||||
FOCUSBACKCOLOR $0006
|
||||
FOCUSFORECOLOR $0007
|
||||
SELECTEDFORECOLOR $0005
|
||||
SELECTEDBACKCOLOR $0004
|
||||
BEGIN
|
||||
END
|
||||
|
||||
// Menus Ö÷²Ëµ¥
|
||||
|
||||
// Alerts ¾¯¸æÏûÏ¢
|
||||
|
||||
// Strings
|
||||
|
||||
// Fonts
|
||||
|
||||
// Bitmaps
|
||||
|
||||
IMAGEFOLDER ID ResFolder1001 FOLDERNAME $0052$006F$006F$0074$0028$0041$006C$006C$0029
|
||||
// Îļþ¼Ð: Root(All)
|
||||
BEGIN
|
||||
END
|
||||
// Application
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Application resource group file.
|
||||
|
||||
// Original file name: test_uphone_Res.TRG
|
||||
// Generated by TOPS Builder:Project wizard,Date:2010-7-26
|
||||
|
||||
|
||||
|
||||
VERSION 60001
|
||||
PROJECT
|
||||
Begin
|
||||
IsLangBase
|
||||
FileName = ".\test_uphone_Res.TR3"
|
||||
End
|
||||
|
||||
PROJECT
|
||||
Begin
|
||||
FileName = ".\test_uphone_Res.ENU.tr3"
|
||||
End
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
// Original file name: test_uphone_Res.h
|
||||
// Generated by TOPS Builder 1.2.3.229 Date:2010-8-5
|
||||
|
||||
#define ResFolder1001 1001
|
||||
#define Form1002 1002
|
|
@ -1,223 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// test_uphone_Res_c.h
|
||||
// 资源编译器转换文件数据定义文件
|
||||
//
|
||||
//
|
||||
// Copyright (C) Tranzda CORPORATION
|
||||
//
|
||||
//---┤编译器信息├---
|
||||
// 编译器名称: TR3C.exe
|
||||
// 编译器版本: TG3 资源编译器 版本V1.5 Build 87
|
||||
//
|
||||
//---┤注意├---
|
||||
// 警告:未经允许,任何人不准擅自修改此文件!!!否则后果自负!
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
#include "test_uphone_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_U_ID_Form1002窗体的数据
|
||||
------------------------------------------------------------*/
|
||||
|
||||
|
||||
const ResWindowType TEST_U_Form1002 =
|
||||
{
|
||||
{//资源公共头部定义
|
||||
TEST_U_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
|
||||
0,//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
|
||||
0, // 控件个数
|
||||
{//ResWindowExAttrType
|
||||
0,//closeBtnStyle
|
||||
0,//actionBtnStyle
|
||||
0,//hasSystemStatusBar
|
||||
1,//fullScreen
|
||||
},
|
||||
NULL, // 标题(当前窗体没有标题,故为空!)
|
||||
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_U_Form1002资源数据常量结束
|
||||
const ResourceLangRegisterEntry TEST_U_CHS_Resource[] =
|
||||
{
|
||||
{kWindowRscType,TEST_U_ID_Form1002,(void*)&TEST_U_Form1002,sizeof(TEST_U_Form1002)}
|
||||
};
|
||||
|
||||
const ResourceLangRegisterEntry2 TEST_U_CHS_ResourceEntry =
|
||||
{
|
||||
tgresource_tag,
|
||||
10,//res version
|
||||
0,//subVersionValue
|
||||
0,//reserved1
|
||||
0,//reserved2
|
||||
TEST_U_CHS_Resource
|
||||
};
|
||||
|
||||
|
||||
/************************************************************
|
||||
* Language:ENU
|
||||
*************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------
|
||||
* ID为TEST_U_ID_Form1002窗体的数据
|
||||
------------------------------------------------------------*/
|
||||
|
||||
|
||||
const ResWindowType TEST_U_ENU_Form1002 =
|
||||
{
|
||||
{//资源公共头部定义
|
||||
TEST_U_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
|
||||
0, // 控件个数
|
||||
{//ResWindowExAttrType
|
||||
0,//closeBtnStyle
|
||||
0,//actionBtnStyle
|
||||
0,//hasSystemStatusBar
|
||||
0,//fullScreen
|
||||
},
|
||||
NULL, // 标题(当前窗体没有标题,故为空!)
|
||||
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_U_ENU_Form1002资源数据常量结束
|
||||
const ResourceLangRegisterEntry TEST_U_ENU_Resource[] =
|
||||
{
|
||||
{kWindowRscType,TEST_U_ID_Form1002,(void*)&TEST_U_ENU_Form1002,sizeof(TEST_U_ENU_Form1002)}
|
||||
};
|
||||
|
||||
const ResourceLangRegisterEntry2 TEST_U_ENU_ResourceEntry =
|
||||
{
|
||||
tgresource_tag,
|
||||
10,//res version
|
||||
0,//subVersionValue
|
||||
0,//reserved1
|
||||
0,//reserved2
|
||||
TEST_U_ENU_Resource
|
||||
};
|
||||
|
||||
//资源定义
|
||||
#define TG_RESOURCE_DEFINE \
|
||||
{SYS_LANGUAGE_CHS,sizeof( TEST_U_CHS_Resource )/ sizeof(ResourceLangRegisterEntry), &TEST_U_CHS_ResourceEntry}, \
|
||||
{SYS_LANGUAGE_ENU,sizeof( TEST_U_ENU_Resource )/ sizeof(ResourceLangRegisterEntry), &TEST_U_ENU_ResourceEntry},
|
|
@ -1,20 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// test_uphone_Res_def.h
|
||||
// 资源编译器转换文件ID宏声明文件
|
||||
//
|
||||
//
|
||||
// Copyright (C) Tranzda CORPORATION
|
||||
//
|
||||
//---┤编译器信息├---
|
||||
// 编译器名称: TR3C.exe
|
||||
// 编译器版本: TG3 资源编译器 版本V1.5 Build 87
|
||||
//
|
||||
//---┤注意├---
|
||||
// 警告:未经允许,任何人不准擅自修改此文件!!!否则后果自负!
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
#ifndef __TEST_UPHONE_RES_DEF_H__
|
||||
#define __TEST_UPHONE_RES_DEF_H__
|
||||
|
||||
#define TEST_U_ID_Form1002 1073742826
|
||||
#endif
|
|
@ -1,23 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// test_uphone_Res_h.h
|
||||
// 资源编译器转换文件数据结构声明文件
|
||||
//
|
||||
//
|
||||
// Copyright (C) Tranzda CORPORATION
|
||||
//
|
||||
//---┤编译器信息├---
|
||||
// 编译器名称: TR3C.exe
|
||||
// 编译器版本: TG3 资源编译器 版本V1.5 Build 87
|
||||
//
|
||||
//---┤注意├---
|
||||
// 警告:未经允许,任何人不准擅自修改此文件!!!否则后果自负!
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
#ifndef __TEST_UPHONE_RES_H_H__
|
||||
#define __TEST_UPHONE_RES_H_H__
|
||||
|
||||
#include "ResTypes.h"
|
||||
|
||||
#include "test_uphone_res_def.h"
|
||||
|
||||
#endif
|
|
@ -191,10 +191,6 @@
|
|||
RelativePath=".\test_uphoneEntry.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\test_uphoneEntry.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="app"
|
||||
>
|
||||
|
@ -220,42 +216,6 @@
|
|||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Res"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_Res.ENU.tr3"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_Res.ENU.tr3.tts"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_Res.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_Res.TR3"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_Res.TRG"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_res_c.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_res_def.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Res\test_uphone_res_h.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Makefiles"
|
||||
>
|
||||
|
@ -916,24 +876,6 @@
|
|||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\test_uphoneUnicodeScript.h"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine="..\..\PRJ_TG3\Common\StrConv\TzdStrConv_V1.exe $(InputPath) $(InputDir)$(InputName)_str.h
"
|
||||
AdditionalDependencies="..\..\PRJ_TG3\Common\StrConv\TzdStrConv_V1.exe"
|
||||
Outputs="$(InputDir)$(InputName)_str.h"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\test_uphoneUnicodeScript_str.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
|
|
@ -5,20 +5,8 @@
|
|||
|
||||
|
||||
|
||||
#include "test_uphoneEntry.h"
|
||||
#include "test_uphoneApp.h"
|
||||
#include "test_uphone_res_c.h"
|
||||
|
||||
const ResourceRegisterEntry ResRegList_test_uphone[] =
|
||||
{
|
||||
TG_RESOURCE_DEFINE
|
||||
};
|
||||
|
||||
const AppResourceEntry test_uphoneResourceEntry =
|
||||
{
|
||||
(ResourceRegisterEntry*)ResRegList_test_uphone, // res list in this app
|
||||
sizeof(ResRegList_test_uphone) / sizeof(ResourceRegisterEntry), //number of item in res
|
||||
};
|
||||
#include "TG3.h"
|
||||
#include "test_uphoneApp.h"
|
||||
|
||||
Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
|
||||
{
|
||||
|
@ -28,7 +16,6 @@ Int32 TG3AppMain(const TUChar * pAppID, UInt32 nCmd, void * pCmdParam)
|
|||
{
|
||||
// UI应用程序例子:
|
||||
Ttest_uphoneApp * pApp= new Ttest_uphoneApp();
|
||||
pApp->WM_SetResourceEntry(&test_uphoneResourceEntry);
|
||||
pApp->Run();
|
||||
|
||||
delete pApp;
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
// Application main header file.
|
||||
|
||||
// Original file name: test_uphoneEntry.h
|
||||
// Generated by TOPS Builder:Project wizard,Date:2010-7-26
|
||||
|
||||
|
||||
|
||||
#ifndef __test_uphone_Main_H__
|
||||
#define __test_uphone_Main_H__
|
||||
#include "TG3.h"
|
||||
|
||||
#endif
|
||||
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
|
||||
#include "test_uphoneMainForm.h"
|
||||
|
||||
#include "test_uphone_res_def.h"
|
||||
#include "TG3.h"
|
||||
#include "ssMsgQueue.h"
|
||||
#include "CCTouchDelegateProtocol.h"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
// Unicode string resource scrip file,DOT NOT include it.
|
||||
|
||||
// Original file name: test_uphoneUnicodeScript.h
|
||||
// Generated by TOPS Builder:Project wizard,Date:2010-7-26
|
||||
|
||||
|
||||
|
||||
#define TZD_CONV(x, y)
|
||||
TZD_CONV(AppName_test_uphone, "test_uphone")
|
||||
|
Loading…
Reference in New Issue