restructure
This commit is contained in:
516
content/panorama/layout/custom_game/info.xml
Normal file
516
content/panorama/layout/custom_game/info.xml
Normal file
@@ -0,0 +1,516 @@
|
||||
<root>
|
||||
<styles>
|
||||
<include src="s2r://panorama/styles/dotastyles.vcss_c" />
|
||||
<include src="s2r://panorama/styles/custom_game/info.vcss_c" />
|
||||
</styles>
|
||||
<scripts>
|
||||
<include src="s2r://panorama/scripts/custom_game/power.vjs_c" />
|
||||
<include src="s2r://panorama/scripts/custom_game/info.vjs_c" />
|
||||
<include src="s2r://panorama/scripts/custom_game/display_error.vjs_c" />
|
||||
<!-- <include src="s2r://panorama/layout/custom_game/frames/cosmetic_abilities/creator.vjs_c" /> -->
|
||||
</scripts>
|
||||
<snippets>
|
||||
<!-- 卡片 -->
|
||||
<snippet name="CardPoolCard">
|
||||
<Panel class="Card" >
|
||||
<Image id="CardImage" src="" />
|
||||
<Panel class="CardBar"/>
|
||||
<Panel class="CardType"/>
|
||||
</Panel>
|
||||
</snippet>
|
||||
|
||||
<!-- 卡组详情 -->
|
||||
<snippet name="RankDetailCard">
|
||||
<Panel class="RankDetailItem" >
|
||||
<Panel id="CardRankContent"/>
|
||||
<Panel id="StarContent">
|
||||
<Image src="s2r://panorama/images/custom_game/star_png.vtex" />
|
||||
<Image src="s2r://panorama/images/custom_game/star_png.vtex" />
|
||||
<Image src="s2r://panorama/images/custom_game/star_png.vtex" />
|
||||
<Image src="s2r://panorama/images/custom_game/star_png.vtex" />
|
||||
<Image src="s2r://panorama/images/custom_game/star_png.vtex" />
|
||||
</Panel>
|
||||
<Panel id="EquipContent">
|
||||
<DOTAItemImage itemname="" />
|
||||
<DOTAItemImage itemname="" />
|
||||
<DOTAItemImage itemname="" />
|
||||
<DOTAItemImage itemname="" />
|
||||
<DOTAItemImage itemname="" />
|
||||
<DOTAItemImage itemname="" />
|
||||
</Panel>
|
||||
<Panel id="TextContent">
|
||||
<Label html="true" text="" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
</snippet>
|
||||
|
||||
<!-- 攻略列表项目 -->
|
||||
<snippet name="StrategyListItem">
|
||||
<Panel class="URLItem">
|
||||
<Label class="LeftTitle" text="" />
|
||||
<Panel class="TopBottomFlow MiddleAlign">
|
||||
<Label class="URLItemTitle" text="" />
|
||||
<Label class="URLItemSubTitle" text="" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
</snippet>
|
||||
|
||||
<!-- 排行榜列表项目 -->
|
||||
<snippet name="RankListItem">
|
||||
<Panel class="RankItem" onactivate="RankDetail()">
|
||||
<Label class="RankLeftTitle" html="true" text="" />
|
||||
<Panel id="PlayerList">
|
||||
</Panel>
|
||||
<Panel class="TopBottomFlow MiddleAlign">
|
||||
<Label class="URLItemTitle" html="true" text="" />
|
||||
<Label class="URLItemSubTitle" html="true" text="" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
</snippet>
|
||||
|
||||
<!-- 卡池卡片 -->
|
||||
<snippet name="Tower">
|
||||
<Panel class="Tower" >
|
||||
<DOTAItemImage id="Item" itemname="" hittest="false" />
|
||||
<Label id="xxx" text="x" />
|
||||
<Label id="Count" text="" />
|
||||
</Panel>
|
||||
</snippet>
|
||||
</snippets>
|
||||
<Panel hittest="false" class="InfoRoot" >
|
||||
<!--顶部菜单-->
|
||||
<Panel id="iconlist" class="">
|
||||
<Panel id="UpdatePoint" onmouseover="DOTAShowTextTooltip(td_refresh_desc)" onmouseout="DOTAHideTextTooltip()" onactivate="UpdateGamePoint()" >
|
||||
<Image src="s2r://panorama/images/custom_game/refresh2_png.vtex" />
|
||||
</Panel>
|
||||
<Button onmouseover="DOTAShowTextTooltip(td_patron_desc)" onmouseout="DOTAHideTextTooltip()" onactivate="$('#PatronStore').RemoveClass('Hide')" >
|
||||
<Label text="赞助" />
|
||||
</Button>
|
||||
<Label id="AccountID" text="" />
|
||||
</Panel>
|
||||
|
||||
<!-- 商城 -->
|
||||
<Panel id="PatronStore" class="Hide" />
|
||||
|
||||
<!-- 进攻进度 -->
|
||||
<Panel id="AttackingPanel" >
|
||||
<Panel id="CreepCountProcessBar" >
|
||||
<Panel id="CreepCountProcessBarPCT" >
|
||||
</Panel>
|
||||
<Label id="CreepCount" text="#td_pawn_count" />
|
||||
</Panel>
|
||||
<Panel id="DifficultyWavePanel" >
|
||||
<Label id="Difficulty" text="" />
|
||||
<Label id="WaveText" html="true" text="#td_attacking_wave" />
|
||||
</Panel>
|
||||
<Panel id="AttackingProcessTimePanel" >
|
||||
<Label id="AttackingProcessTime" text="5" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<!-- 卡池 -->
|
||||
<Panel id="CardPoolPanel" hittest="false">
|
||||
<Panel id="CardPoolHeader" onactivate="$('#CardPoolPanel').ToggleClass('ShowTime')" >
|
||||
<Label text="#td_card_pool" />
|
||||
</Panel>
|
||||
<Panel id="CardPoolContent" />
|
||||
</Panel>
|
||||
|
||||
<!-- 商店 todo-->
|
||||
<Panel id="Shop" />
|
||||
|
||||
<!-- 选择卡片 -->
|
||||
<Panel id="SelectCardPanel" hittest="false" class="Hide">
|
||||
<Panel id="SelectCardHeader" >
|
||||
<Label id="SelectCardHeaderText" text="#td_select_card" />
|
||||
</Panel>
|
||||
<Button id="SelectCardCloseButton" onactivate="SelectCardClose()" >
|
||||
</Button>
|
||||
<Panel id="SelectCardPoolContent" />
|
||||
</Panel>
|
||||
|
||||
<!-- 选择初始卡 -->
|
||||
<Panel id="SelectStartCard" >
|
||||
<Panel class="Card" onactivate="SelectStartCard('item_0001')">
|
||||
<Panel class="ItemImage">
|
||||
<DOTAItemImage hittest="false" itemname="item_0001" />
|
||||
</Panel>
|
||||
<Label class="ItemName" html="true" text="{s:item1}" />
|
||||
<Panel class="ItemContent">
|
||||
<Panel id="Item1Description" class="Description" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
<Panel class="Card" onactivate="SelectStartCard('item_0002')">
|
||||
<Panel class="ItemImage">
|
||||
<DOTAItemImage hittest="false" itemname="item_0002" />
|
||||
</Panel>
|
||||
<Label class="ItemName" html="true" text="{s:item2}" />
|
||||
<Panel class="ItemContent">
|
||||
<Panel id="Item2Description" class="Description" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
<Panel class="Card" onactivate="SelectStartCard('item_0003')">
|
||||
<Panel class="ItemImage">
|
||||
<DOTAItemImage hittest="false" itemname="item_0003" />
|
||||
</Panel>
|
||||
<Label class="ItemName" html="true" text="{s:item3}" />
|
||||
<Panel class="ItemContent">
|
||||
<Panel id="Item3Description" class="Description" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<!-- 打开攻略 -->
|
||||
<Button id="VideosButton" onactivate="VideosPanelOpen()" >
|
||||
<Label text="#td_tutorial_video" />
|
||||
</Button>
|
||||
|
||||
<!-- 踢人按钮 -->
|
||||
<Button id="KickButton" onactivate="KickVoteOpen()" >
|
||||
<Label text="#td_kick_vote" />
|
||||
</Button>
|
||||
|
||||
<!-- 永久暂停按钮 -->
|
||||
<Button id="PauseButton" onactivate="PauseGame()" >
|
||||
<Label text="#pause_game_btn" />
|
||||
</Button>
|
||||
|
||||
<!-- 排行榜按钮 -->
|
||||
<Button id="RankButton" onactivate="RankPanelOpen()" >
|
||||
<Label text="#td_rank_list_100" onmouseover="ShowRankButtonTip(1)" onmouseout="HideRankButtonTip()"/>
|
||||
</Button>
|
||||
|
||||
<!-- 组队排行榜按钮 -->
|
||||
<Button id="TeamRankButton" onactivate="TeamRankPanelOpen()" >
|
||||
<Label text="#td_team_rank_list_100" onmouseover="ShowRankButtonTip(2)" onmouseout="HideRankButtonTip()"/>
|
||||
</Button>
|
||||
|
||||
<!-- 攻略 -->
|
||||
<Panel id="VideosPanel" hittest="false" class="Hide">
|
||||
<Panel id="VideoListWindow" class="Hide" >
|
||||
<Button class="CloseButton" onactivate="VideosPanelClose()" />
|
||||
<Panel id="VideoDescription" >
|
||||
<Label html="true" text="#td_video_tip" />
|
||||
</Panel>
|
||||
<Panel id="URLList" />
|
||||
</Panel>
|
||||
|
||||
<Panel id="StrategyWindow" class="Hide" >
|
||||
<Button class="CloseButton" onactivate="CloseStrategyWindow()" />
|
||||
|
||||
<Label class="StrategyTitle" html="true" text="{s:StrategyTitle1}" />
|
||||
<Label class="StrategyText" html="true" text="{s:StrategyText1}" />
|
||||
|
||||
<Label class="StrategyTitle" html="true" text="{s:StrategyTitle2}" />
|
||||
<Label class="StrategyText" html="true" text="{s:StrategyText2}" />
|
||||
|
||||
<Label class="StrategyTitle" html="true" text="{s:StrategyTitle3}" />
|
||||
<Label class="StrategyText" html="true" text="{s:StrategyText3}" />
|
||||
|
||||
<Label class="StrategyTitle" html="true" text="{s:StrategyTitle4}" />
|
||||
<Label class="StrategyText" html="true" text="{s:StrategyText4}" />
|
||||
|
||||
<Image id="StrategyImage" src="" scaling="stretch-to-fit-preserve-aspect"/>
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
|
||||
<!-- 投票踢人 -->
|
||||
<Panel id="KickVotePanel" hittest="false" class="Hide">
|
||||
<Panel id="KickVoteMain" hittest="false">
|
||||
<Button class="KickVoteButton" onactivate="KickVote(1)" >
|
||||
<Label html="true" class="Title" text="#kick_player_1" />
|
||||
<Label html="true" class="Title" text="{s:PlayerName1}" />
|
||||
</Button>
|
||||
<Button class="KickVoteButton" onactivate="KickVote(2)" >
|
||||
<Label html="true" class="Title" text="#kick_player_2" />
|
||||
<Label html="true" class="Title" text="{s:PlayerName2}" />
|
||||
</Button>
|
||||
<Button class="KickVoteButton" onactivate="KickVote(3)" >
|
||||
<Label html="true" class="Title" text="#kick_player_3" />
|
||||
<Label html="true" class="Title" text="{s:PlayerName3}" />
|
||||
</Button>
|
||||
<Button class="KickVoteButton" onactivate="KickVote(4)" >
|
||||
<Label html="true" class="Title" text="#kick_player_4" />
|
||||
<Label html="true" class="Title" text="{s:PlayerName4}" />
|
||||
</Button>
|
||||
<Button id="KickVoteCancelButton" onactivate="KickVoteClose()" >
|
||||
<Label html="true" text="#DOTA_UI_Cancel" />
|
||||
</Button>
|
||||
</Panel>
|
||||
</Panel>
|
||||
<!-- 投票踢人确认 -->
|
||||
<Panel id="KickAcceptPanel" class="Hide">
|
||||
<Panel id="KickAcceptText">
|
||||
<Label html="true" text="{s:msg}" />
|
||||
<Label html="true" text="#kick_player_ask" />
|
||||
<Label html="true" text="{d:remaing_time}" />
|
||||
</Panel>
|
||||
<Button id="KickYesButton" class="Ok">
|
||||
<Label text="#yes" />
|
||||
</Button>
|
||||
<Button id="KickNoButton" class="Cancel">
|
||||
<Label text="#no" />
|
||||
</Button>
|
||||
</Panel>
|
||||
|
||||
|
||||
<!-- 排行榜 -->
|
||||
<Panel id="RankPanel" hittest="false" class="Hide">
|
||||
<Panel id="RankListWindow" class="Hide" >
|
||||
<Button class="CloseButton" onactivate="RankPanelClose()" />
|
||||
<Panel id="RankDescription" >
|
||||
<Label html="true" text="#td_rank_list_100_desc" />
|
||||
</Panel>
|
||||
<Panel id="RankList" />
|
||||
</Panel>
|
||||
|
||||
<Panel id="RankDetailWindow" class="Hide" >
|
||||
<Panel class="RightTopButtons">
|
||||
<Button id="ResetRankAll" class="Hide" onactivate="RankResetAll()">
|
||||
<Label text="全部重置" />
|
||||
</Button>
|
||||
<Button id="ResetRank" onactivate="">
|
||||
<Label text="重置" />
|
||||
</Button>
|
||||
<Button class="CloseButton" onactivate="RankDetailClose()" />
|
||||
</Panel>
|
||||
<Panel id="RankDetail" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<!-- 组队排行榜 -->
|
||||
<Panel id="TeamRankPanel" hittest="false" class="Hide">
|
||||
<Panel id="TeamRankListWindow" class="Hide" >
|
||||
<Button class="CloseButton" onactivate="TeamRankPanelClose()" />
|
||||
<Panel id="TeamRankDescription" >
|
||||
<Label html="true" text="#td_team_rank_list_100_desc" />
|
||||
</Panel>
|
||||
<Panel id="TeamRankList" />
|
||||
</Panel>
|
||||
|
||||
<Panel id="TeamRankDetailWindow" class="Hide" >
|
||||
<Panel class="RightTopButtons">
|
||||
<Button id="TeamResetRankAll" class="Hide" onactivate="TeamRankResetAll()">
|
||||
<Label text="全部重置" />
|
||||
</Button>
|
||||
<Button id="TeamResetRank" onactivate="">
|
||||
<Label text="重置" />
|
||||
</Button>
|
||||
<Button class="CloseButton" onactivate="TeamRankDetailClose()" />
|
||||
</Panel>
|
||||
<Panel id="TeamRankDetail" />
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<!-- 玩家头像 -->
|
||||
<Panel id="PlayerAvatarElements" class="Hide">
|
||||
<!-- <DOTAAvatarImage hittest="false" hittestchildren="false" /> -->
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
</Panel>
|
||||
|
||||
<!-- 玩家头像 -->
|
||||
<Panel id="TeamPlayerAvatarElements" class="Hide">
|
||||
<!-- <DOTAAvatarImage hittest="false" hittestchildren="false" /> -->
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
<DOTAAvatarImage />
|
||||
</Panel>
|
||||
</Panel>
|
||||
</root>
|
||||
Reference in New Issue
Block a user