buttonsets.xml 国旗按钮设定


buttonsets.xml是用来设定游戏操作界面国旗按钮的,由civs.xml的homecityflagbuttonset调用(civs.xml还有一个homecityflagbuttonsetlarge)。


buttonsets.xml的结构如下显示
<buttonsets>
	<set name="ChineseFlagBtn" texturecoords="0 0 0.5859375 0.75">
		<normal>ui\eso\flag_China_normal</normal>
		<depressed>ui\eso\flag_China_click</depressed>
		<highlight>ui\eso\flag_China_high</highlight>
		<disabled>ui\eso\flag_China_disable</disabled>
	</set>
	<set name="JapaneseFlagBtn" texturecoords="0 0 0.5859375 0.75">
		<normal>ui\eso\flag_Japan_normal</normal>
		<depressed>ui\eso\flag_Japan_click</depressed>
		<highlight>ui\eso\flag_Japan_high</highlight>
		<disabled>ui\eso\flag_Japan_disable</disabled>
	</set>

	<set name="调用名" texturecoords="XStart YStart XEnd YEnd(XY坐标裁剪国旗图片)">
		
		<normal>默认显示的图标</normal>
		
		<depressed>按下后显示图标</depressed>
		
		<highlight>(鼠标移动到国旗上)高亮图标</highlight>
		
		<disabled>。。。自己看图片吧</disabled>
	</set>
</buttonsets>