gui.xml

来自「一个坦克游戏附源代码」· XML 代码 · 共 47 行

XML
47
字号
<?xml version="1.0" ?>
<body type="gui" version="1.0">
	<window id="IDW_WINDOW1" text="寮犳枌" left="10" top="10" right="110" bottom="110">
		<button id="IDB_BUTTON1" text="text2" left="10" top="10" right="110" bottom="110" img="texture/button1.png"
			img_left="" img_top="" img_right="" img_bottom="" pimg="texture/button2.png" pimg_left=""
			pimg_top="" pimg_right="" pimg_bottom="" />
		<Tab id="IDTC_TABC" left="10" top="10" right="110" bottom="110" fillbackground="yes"
			color="0xffffffff" />
		<TabControl id="IDTC_TABC" border="yes" fillbackground="yes" left="10" top="10" right="110"
			bottom="110" selected="0">
			<TabPage id="IDTC_TABC" text="page1">
				<ToolBar id="IDTB_TOOL">
					<ToolButton id="" text="" img="texture/button1.png" pimg="texture/button2.png" isPushButton="false"
						Alpha="true" />
				</ToolBar>
				<StaticText id="IDST_TEXT1" text="text2" color="0xffffffff" wordwarp="true" border="true" fillbackground="true"
					left="10" top="10" right="110" bottom="110" />
				<CheckBox id="" text="" left="10" top="10" right="110" bottom="110" checked="true" />
				<ComboBox id="" left="10" top="10" right="110" bottom="110" selected="-1">
					<comboitem text="item1" />
					<comboitem text="item2" />
					<comboitem text="item3" />
					<comboitem text="item4" />
				</ComboBox>
				<Menu id="" enabled="true">
					<MenuItem Commandid="1" text="File" enabled="true">
						<MenuItem Commandid="2" text="Open" enabled="true" />
						<MenuItem Commandid="3" text="Save" enabled="true" />
						<MenuItem Commandid="4" text="Close" enabled="true" />
						<MenuItem Commandid="5" text="Exit" enabled="true" />
					</MenuItem>
				</Menu>
				<EditBox id="" text="" border="true" left="10" top="10" right="110" bottom="110" />
				<Image id="" text="" img="" alpha="true" left="10" top="10" right="110" bottom="110" />
				<ListBox id="" left="10" top="10" right="110" bottom="110" selected="-1" fillbackground="true">
					<listitem text="item1" />
					<listitem text="item2" />
					<listitem text="item3" />
					<listitem text="item4" />
				</ListBox>
				<MeshViewer id="" text="" mesh="" texture="" left="10" top="10" right="110" bottom="110" />
				<ScrollBar id="" horizontal="true" max="255" pos="0" left="10" top="10" right="110" bottom="110" />
				<InOutFader id="" left="10" top="10" right="110" bottom="110" color="0x00000000" in="yes" time="400" />
			</TabPage>
		</TabControl>
	</window>
</body>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?