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

游戏引擎

开发平台:

Visual C++

  1. <?xml version="1.0" ?>
  2. <!-- Layout file from CEGUI Demo8 -->
  3. <GUILayout>
  4. <Window Type="DefaultGUISheet" Name="demo_root">
  5. <Window Type="DefaultGUISheet" Name="Demo8">
  6. <Property Name="RelativeMaxSize" Value="w:1 h:2" />
  7. <Property Name="Size" Value="w:1 h:2" />
  8. <Window Type="TaharezLook/VerticalScrollbar" Name="Demo8/ViewScroll">
  9. <Property Name="Position" Value="x:0.0 y:0.0" />
  10. <Property Name="Size" Value="w:0.03 h:0.75" />
  11. <Property Name="DocumentSize" Value="2" />
  12. <Property Name="PageSize" Value="1" />
  13. <Property Name="StepSize" Value="0.01" />
  14. <Property Name="OverlapSize" Value="0.5" />
  15. </Window>
  16.         <Window Type="TaharezLook/FrameWindow" Name="Demo8/Window1">
  17. <Property Name="Position" Value="x:0.05 y:0.1" />
  18. <Property Name="RelativeMaxSize" Value="w:0.5 h:1" />
  19. <Property Name="AbsoluteMinSize" Value="w:128 h:128" />
  20. <Property Name="Size" Value="w:0.4 h:0.35" />
  21. <Property Name="Text" Value="Demo 8 - Listbox Demo" />
  22. <Window Type="TaharezLook/Listbox" Name="Demo8/Window1/Listbox">
  23. <Property Name="Position" Value="x:0.05 y:0.1" />
  24. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  25. <Property Name="Size" Value="w:0.9 h:0.33" />
  26. </Window>
  27. <Window Type="TaharezLook/StaticText" Name="Demo8/Window1/Controls">
  28. <Property Name="Position" Value="x:0.05 y:0.45" />
  29. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  30. <Property Name="Size" Value="w:0.9 h:0.5" />
  31.                 <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Red">
  32. <Property Name="Position" Value="x:0.05 y:0.05" />
  33. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  34. <Property Name="Size" Value="w:0.9 h:0.06" />
  35. <Property Name="DocumentSize" Value="255" />
  36. <Property Name="PageSize" Value="16" />
  37. <Property Name="StepSize" Value="1" />
  38. <Property Name="OverlapSize" Value="1" />
  39. </Window>
  40.                 <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Green">
  41. <Property Name="Position" Value="x:0.05 y:0.12" />
  42. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  43. <Property Name="Size" Value="w:0.9 h:0.06" />
  44. <Property Name="DocumentSize" Value="256" />
  45. <Property Name="PageSize" Value="16" />
  46. <Property Name="StepSize" Value="1" />
  47. <Property Name="OverlapSize" Value="1" />
  48. </Window>
  49.                 <Window Type="TaharezLook/HorizontalScrollbar" Name="Demo8/Window1/Controls/Blue">
  50. <Property Name="Position" Value="x:0.05 y:0.19" />
  51. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  52. <Property Name="Size" Value="w:0.9 h:0.06" />
  53. <Property Name="DocumentSize" Value="255" />
  54. <Property Name="PageSize" Value="16" />
  55. <Property Name="StepSize" Value="1" />
  56. <Property Name="OverlapSize" Value="1" />
  57. </Window>
  58. <Window Type="TaharezLook/StaticImage" Name="Demo8/Window1/Controls/ColourSample">
  59. <Property Name="Position" Value="x:0.05 y:0.26" />
  60. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  61. <Property Name="Size" Value="w:0.9 h:0.1" />
  62. <Property Name="Image" Value="set:TaharezLook image:ListboxSelectionBrush" />
  63. <Property Name="ImageColours" Value="tl:0 tr:0 bl:0 br:0" />
  64. </Window>
  65. <Window Type="TaharezLook/Editbox" Name="Demo8/Window1/Controls/Editbox">
  66. <Property Name="Position" Value="x:0.05 y:0.38" />
  67. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  68. <Property Name="Size" Value="w:0.6 h:0.15" />
  69. </Window>
  70.                 <Window Type="TaharezLook/Button" Name="Demo8/Window1/Controls/Add">
  71. <Property Name="Position" Value="x:0.68 y:0.38" />
  72. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  73. <Property Name="Size" Value="w:0.3 h:0.15" />
  74. <Property Name="Text" Value="Add" />
  75. </Window>
  76.                 <Window Type="TaharezLook/StaticText" Name="Demo8/Window1/Controls/ins1">
  77. <Property Name="Position" Value="x:0.05 y:0.55" />
  78. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  79. <Property Name="Size" Value="w:0.9 h:0.4" />
  80. <Property Name="HorzFormatting" Value="WordWrapCentred" />
  81. <Property Name="Text" Value="Use this panel to add items.  The scrollbars change the selection colour." />
  82. </Window>
  83. </Window>
  84. </Window>
  85.         <Window Type="TaharezLook/FrameWindow" Name="Demo8/Window2">
  86. <Property Name="Position" Value="x:0.55 y:0.1" />
  87. <Property Name="RelativeMaxSize" Value="w:0.5 h:1" />
  88. <Property Name="AbsoluteMinSize" Value="w:128 h:128" />
  89. <Property Name="Size" Value="w:0.4 h:0.3" />
  90. <Property Name="Text" Value="Demo 8 - Information Window" />
  91.             <Window Type="TaharezLook/StaticText" Name="Demo8/Window2/Info">
  92. <Property Name="Position" Value="x:0.05 y:0.1" />
  93. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  94. <Property Name="Size" Value="w:0.9 h:0.3" />
  95. <Property Name="HorzFormatting" Value="WordWrapCentred" />
  96. <Property Name="Text" Value="The panel below gives some information about the item under the mouse." />
  97. </Window>
  98.             <Window Type="TaharezLook/StaticText" Name="Demo8/Window2/Tips">
  99. <Property Name="Position" Value="x:0.05 y:0.5" />
  100. <Property Name="RelativeMaxSize" Value="w:1 h:1" />
  101. <Property Name="Size" Value="w:0.9 h:0.4" />
  102. <Property Name="HorzFormatting" Value="WordWrapCentred" />
  103. </Window>
  104. </Window>
  105. </Window>
  106. </Window>
  107. </GUILayout>