"Resource/UI/TestPanel.res" //-----------------------------------------定义文件位置
{
"testpanel"//--------------------------------------------------定义面板名称
{
"ControlName" "CTestPanel"//----------------------------定义类型[在代码中所定义的类]
"fieldName" "testpanel"//-----------------------------定义所控制的域的名称
"title" "Test Panel"//---------------------定义面板标题名称
"xpos" "0"//-------------------------------------定义面板出现时的x坐标位置
"ypos" "0"//-------------------------------------定义面板出现时的y坐标位置
"wide" "200"//-----------------------------------定义面板宽度
"tall" "200"//-----------------------------------定义面板高度
"autoResize" "0"//-------------------------------------定义是否可调节大小
"pinCorner" "0"//-------------------------------------???和角相关的定义
"visible" "1"//-------------------------------------是否可见
"enabled" "1"//-------------------------------------是否可使用
"tabPosition" "0"//-------------------------------------定义tab键的编号
}
"Label1"//-----------------------------------------------------定义Label1标签
{
"ControlName" "Label"//----------------------------------定义类型
"fieldName" "Label1"//---------------------------------定义域名称
"xpos" "8"//--------------------------------------定义出现时的x坐标位置
"ypos" "32"//-------------------------------------定义出现时的y坐标位置
"wide" "200"//------------------------------------定义宽度
"tall" "175"//------------------------------------定义高度
"wrap" "1"//--------------------------------------是否有外部有约束
"autoResize" "0"//--------------------------------------是否可调节大小
"pinCorner" "0"//--------------------------------------和角相关的定义
"visible" "1"//--------------------------------------是否可见
"enabled" "1"//--------------------------------------是否可使用
"tabPosition" "0"//--------------------------------------定义tab标签的位置
"labelText" "An example label inside of an example frame"//标签的内容
"textAlignment" "north"//---------------------------文字的放置方式
"dulltext" "0"//--------------------------------------??
"brighttext" "0"//--------------------------------------高亮文字??
}
"close"
{
"ControlName" "Button"
"fieldName" "close"
"xpos" "68"
"ypos" "168"
"wide" "64"
"tall" "24"
"labelText" "#GameUI_Close"
"Command" "Close"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
}
1706

被折叠的 条评论
为什么被折叠?



