ogregui.layout
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:4k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. <?xml version="1.0" ?>
  2. <GUILayout>
  3. <Window Type="DefaultGUISheet" Name="root">
  4.     <Window Type="DefaultGUISheet" Name="OgreGuiDemo">
  5. <Property Name="Size" Value="w:0.25 h:1" />
  6.         <Window Type="TaharezLook/TabControl" Name="OgreGuiDemo/TabCtrl">
  7.             <Property Name="Position" Value="x:0.0 y:0.0" />
  8.             <Property Name="Size" Value="w:1 h:0.5" />
  9.             <Window Type="DefaultGUISheet" Name="OgreGuiDemo/TabCtrl/Page1">
  10.                 <Property Name="Text" Value="File" />
  11.                 <Window Type="TaharezLook/Button" Name="OgreGuiDemo/TabCtrl/Page1/NewButton">
  12.                     <Property Name="Position" Value="x:0.1 y:0.1" />
  13.                     <Property Name="Size" Value="w:0.8 h:0.07" />
  14.                     <Property Name="Text" Value="New" />
  15.                 </Window>
  16.                 <Window Type="TaharezLook/Button" Name="OgreGuiDemo/TabCtrl/Page1/LoadButton">
  17.                     <Property Name="Position" Value="x:0.1 y:0.2" />
  18.                     <Property Name="Size" Value="w:0.8 h:0.07" />
  19.                     <Property Name="Text" Value="Load Test Layout" />
  20.                 </Window>
  21.                 <Window Type="TaharezLook/Button" Name="OgreGuiDemo/TabCtrl/Page1/QuitButton">
  22.                     <Property Name="Position" Value="x:0.1 y:0.3" />
  23.                     <Property Name="Size" Value="w:0.8 h:0.07" />
  24.                     <Property Name="Text" Value="Quit" />
  25.                 </Window>
  26.             </Window>
  27.             <Window Type="DefaultGUISheet" Name="OgreGuiDemo/TabCtrl/Page2">
  28.                 <Property Name="Text" Value="Objects" />
  29.                 <Window Type="TaharezLook/Combobox" Name="OgreGuiDemo/TabCtrl/Page2/ObjectTypeList">
  30.                     <Property Name="Position" Value="x:0.1 y:0.1" />
  31.                     <Property Name="Size" Value="w:0.8 h:0.5" />
  32.                     <Property Name="Text" Value="Select Type" />
  33.                     <Property Name="ClippedByParent" Value="false" />
  34.                     <Property Name="ReadOnly" Value="true" />
  35.                 </Window>
  36.             </Window>
  37.         </Window>
  38.         <!--<Window Type="TaharezLook/FrameWindow" Name="OgreGuiDemo/WindowPropertiesWindow">
  39.             <Property Name="Size" Value="w:1 h:0.3" />
  40.             <Property Name="Position" Value="x:0 y:0.52" />
  41.             <Property Name="TitlebarEnabled" Value="false" />
  42.             <Property Name="CloseButtonEnabled" Value="false" />
  43.             <Property Name="Visible" Value="false" />
  44.             <Property Name="Text" Value="Editor Window" />
  45.             <Window Type="TaharezLook/StaticText" Name="OgreGuiDemo/WindowProperties/NameText">
  46.                 <Property Name="Position" Value="x:0.05 y:0.2" />
  47.                 <Property Name="Size" Value="w:0.9 h:0.4" />
  48.                 <Property Name="Text" Value="Name:" />
  49.             </Window>
  50.             <Window Type="TaharezLook/Button" Name="OgreGuiDemo/WindowPropertiesWindow/OKButton">
  51.                 <Property Name="Position" Value="x:0.15 y:0.8" />
  52.                 <Property Name="Size" Value="w:0.3 h:0.1" />
  53.                 <Property Name="Text" Value="OK" />
  54.             </Window>
  55.             <Window Type="TaharezLook/Button" Name="OgreGuiDemo/WindowPropertiesWindow/CancelButton">
  56.                 <Property Name="Position" Value="x:0.55 y:0.8" />
  57.                 <Property Name="Size" Value="w:0.3 h:0.1" />
  58.                 <Property Name="Text" Value="Cancel" />
  59.             </Window>
  60.         </Window>-->
  61. </Window>
  62.     <Window Type="DefaultGUISheet" Name="OgreGuiDemo2">
  63. <Property Name="Size" Value="w:0.75 h:1" />
  64. <Property Name="Position" Value="x:0.25 y:0" />
  65.         <Window Type="TaharezLook/FrameWindow" Name="OgreGuiDemo2/MainWindow">
  66.             <Property Name="Size" Value="w:1 h:1" />
  67.             <Property Name="Position" Value="x:0 y:0" />
  68.             <Property Name="DragMovingEnabled" Value="false" />
  69.             <Property Name="RollUpEnabled" Value="false" />
  70.             <Property Name="CloseButtonEnabled" Value="false" />
  71.             <Property Name="Text" Value="Editor Window" />
  72.         </Window>
  73.     </Window>
  74. </Window>
  75. </GUILayout>