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

游戏引擎

开发平台:

Visual C++

  1. <?xml version="1.0" ?>
  2. <GUILayout>
  3. <Window Type="DefaultGUISheet" Name="root">
  4. <Window Type="DefaultGUISheet" Name="debug_overlay">
  5. <Property Name="AlwaysOnTop" Value="True" />
  6. <Property Name="Disabled" Value="True" />
  7. <Window Type="TaharezLook/StaticText" Name="Panel 1">
  8. <Property Name="Position" Value="x:0 y:0.83" />
  9. <Property Name="Size" Value="w:0.23 h:0.17" />
  10. <Property Name="TopLeftFrameImage" Value="set:OgreGuiImagery image:BoxTopLeft" />
  11. <Property Name="TopRightFrameImage" Value="set:OgreGuiImagery image:BoxTopRight" />
  12. <Property Name="BottomLeftFrameImage" Value="set:OgreGuiImagery image:BoxBottomLeft" />
  13. <Property Name="BottomRightFrameImage" Value="set:OgreGuiImagery image:BoxBottomRight" />
  14. <Property Name="LeftFrameImage" Value="set:OgreGuiImagery image:BoxLeft" />
  15. <Property Name="TopFrameImage" Value="set:OgreGuiImagery image:BoxTop" />
  16. <Property Name="RightFrameImage" Value="set:OgreGuiImagery image:BoxRight" />
  17. <Property Name="BottomFrameImage" Value="set:OgreGuiImagery image:BoxBottom" />
  18. <Property Name="BackgroundImage" Value="set:OgreGuiImagery image:BoxBack" />
  19. <Property Name="Alpha" Value="0.9" />
  20. <Property Name="InheritsAlpha" Value="False" />
  21. <Window Type="TaharezLook/StaticText" Name="OPCurrentFPS">
  22. <Property Name="FrameEnabled" Value="False" />
  23. <Property Name="BackgroundEnabled" Value="False" />
  24. <Property Name="Font" Value="BlueHighway-10" />
  25. <Property Name="Position" Value="x:0.075 y:0.12" />
  26. <Property Name="Size" Value="w:0.85 h:0.25" />
  27. <Property Name="TextColours" Value="tl:FF4FF06F tr:FF4FF06F bl:FF4FF06F br:FF4FF06F" />
  28. <Property Name="HorzFormatting" Value="HorzCentred" />
  29. <Property Name="Text" Value="Current FPS: " />
  30. </Window>
  31. <Window Type="TaharezLook/StaticImage" Name="OPBar1">
  32. <Property Name="FrameEnabled" Value="False" />
  33. <Property Name="BackgroundEnabled" Value="False" />
  34. <Property Name="Position" Value="x:0.2 y:0.27" />
  35. <Property Name="Size" Value="w:0.6 h:0.025" />
  36. <Property Name="Image" Value="set:OgreGuiImagery image:Bar" />
  37. </Window>
  38. <Window Type="TaharezLook/StaticText" Name="OPAverageFPS">
  39. <Property Name="FrameEnabled" Value="False" />
  40. <Property Name="BackgroundEnabled" Value="False" />
  41. <Property Name="Font" Value="BlueHighway-10" />
  42. <Property Name="Position" Value="x:0.075 y:0.32" />
  43. <Property Name="Size" Value="w:1.0 h:0.25" />
  44. <Property Name="TextColours" Value="tl:FFFFF5F0 tr:FFFFF5F0 bl:FFFFF510 br:FFFFF5F0" />
  45. <Property Name="Text" Value="Average FPS: " />
  46. </Window>
  47. <Window Type="TaharezLook/StaticText" Name="OPWorstFPS">
  48. <Property Name="FrameEnabled" Value="False" />
  49. <Property Name="BackgroundEnabled" Value="False" />
  50. <Property Name="Font" Value="BlueHighway-10" />
  51. <Property Name="Position" Value="x:0.075 y:0.45" />
  52. <Property Name="Size" Value="w:1.0 h:0.25" />
  53. <Property Name="TextColours" Value="tl:FFFFF5F0 tr:FFFFF5F0 bl:FFFFF510 br:FFFFF5F0" />
  54. <Property Name="Text" Value="Worst FPS: " />
  55. </Window>
  56. <Window Type="TaharezLook/StaticText" Name="OPBestFPS">
  57. <Property Name="FrameEnabled" Value="False" />
  58. <Property Name="BackgroundEnabled" Value="False" />
  59. <Property Name="Font" Value="BlueHighway-10" />
  60. <Property Name="Position" Value="x:0.075 y:0.58" />
  61. <Property Name="Size" Value="w:1.0 h:0.25" />
  62. <Property Name="TextColours" Value="tl:FFFFF5F0 tr:FFFFF5F0 bl:FFFFF510 br:FFFFF5F0" />
  63. <Property Name="Text" Value="Best FPS: " />
  64. </Window>
  65. <Window Type="TaharezLook/StaticText" Name="OPTriCount">
  66. <Property Name="FrameEnabled" Value="False" />
  67. <Property Name="BackgroundEnabled" Value="False" />
  68. <Property Name="Font" Value="BlueHighway-10" />
  69. <Property Name="Position" Value="x:0.075 y:0.71" />
  70. <Property Name="Size" Value="w:1.0 h:0.25" />
  71. <Property Name="TextColours" Value="tl:FFFFF5F0 tr:FFFFF5F0 bl:FFFFF510 br:FFFFF5F0" />
  72. <Property Name="Text" Value="Triangle Count: " />
  73. </Window>
  74. </Window>
  75. <Window Type="TaharezLook/StaticText" Name="OPDebugMsg">
  76. <Property Name="FrameEnabled" Value="False" />
  77. <Property Name="BackgroundEnabled" Value="False" />
  78. <Property Name="Font" Value="BlueHighway-10" />
  79. <Property Name="Position" Value="x:0.25 y:0.93" />
  80. <Property Name="Size" Value="w:0.65 h:0.07" />
  81. <Property Name="TextColours" Value="tl:A0FFFFFF tr:A0FFFFFF bl:A0FFFFFF br:A0FFFFFF" />
  82. <Property Name="InheritsAlpha" Value="False" />
  83. <Property Name="VertFormatting" Value="VertCentred" />
  84. <Property Name="HorzFormatting" Value="WordWrapCentred" />
  85. </Window>
  86. <Window Type="TaharezLook/StaticImage" Name="OgreLogo">
  87. <Property Name="FrameEnabled" Value="False" />
  88. <Property Name="BackgroundEnabled" Value="False" />
  89. <Property Name="Position" Value="x:0.9 y:0.95" />
  90. <Property Name="Size" Value="w:0.1 h:0.05" />
  91. <Property Name="Image" Value="set:OgreGuiImagery image:OgreLogo" />
  92. <Property Name="Alpha" Value="0.75" />
  93. <Property Name="InheritsAlpha" Value="False" />
  94. </Window>
  95. <Window Type="TaharezLook/StaticImage" Name="CeguiLogo">
  96. <Property Name="FrameEnabled" Value="False" />
  97. <Property Name="BackgroundEnabled" Value="False" />
  98. <Property Name="Position" Value="x:0.9125 y:0.9115" />
  99. <Property Name="Size" Value="w:0.075 h:0.0385" />
  100. <Property Name="Image" Value="set:OgreGuiImagery image:CeguiLogo" />
  101. <Property Name="Alpha" Value="0.75" />
  102. <Property Name="InheritsAlpha" Value="False" />
  103. </Window>
  104. </Window>
  105. <Window Type="DefaultGUISheet" Name="CompositorDemo">
  106. <Property Name="RelativeMaxSize" Value="w:1 h:2" />
  107. <Property Name="Size" Value="w:1 h:2" />
  108. <Window Type="TaharezLook/StaticText" Name="HelpTxt">
  109. <Property Name="Position" Value="x:0.6 y:0.8" />
  110. <Property Name="RelativeMinSize" Value="w:0.5 h:0.3" />
  111. <Property Name="Size" Value="w:0.5 h:0.3" />
  112. <Property Name="Text" Value="Use the Combo boxes to select a shader and a model" />
  113. <Property Name="InheritsAlpha" Value="False" />
  114. </Window>
  115. <Window Type="TaharezLook/FrameWindow" Name="CompositorSelectorWin">
  116. <Property Name="Position" Value="x:0 y:0" />
  117. <Property Name="RelativeMinSize" Value="w:0.16 h:0.22" />
  118. <Property Name="RelativeMaxSize" Value="w:0.16 h:0.75" />
  119. <Property Name="Size" Value="w:0.16 h:0.3" />
  120. <Property Name="Text" Value="Compositors" />
  121. <Property Name="Alpha" Value="0.75" />
  122. <Property Name="CloseButtonEnabled" Value="False" />
  123. <Window Type="TaharezLook/Button" Name="ExitDemoBtn">
  124. <Property Name="VerticalAlignment" Value="Bottom" />
  125. <Property Name="HorizontalAlignment" Value="Centre" />
  126. <Property Name="Position" Value="x:0 y:0" />
  127. <Property Name="RelativeMaxSize" Value="w:0.12 h:0.03" />
  128. <Property Name="RelativeMinSize" Value="w:0.12 h:0.03" />
  129. <Property Name="Size" Value="w:0.33 h:0.03" />
  130. <Property Name="Text" Value="Exit Demo" />
  131. <Property Name="InheritsAlpha" Value="False" />
  132. </Window>
  133. </Window>
  134. <Window Type="TaharezLook/FrameWindow" Name="DebugRTTs">
  135. <Property Name="RollUpState" Value="True" />
  136. <Property Name="Position" Value="x:0.70 y:0" />
  137. <Property Name="RelativeMinSize" Value="w:0.3 h:0.3" />
  138. <Property Name="RelativeMaxSize" Value="w:0.3 h:0.3" />
  139. <Property Name="Size" Value="w:0.3 h:0.3" />
  140. <Property Name="Text" Value="Debug RTTs" />
  141. <Property Name="Alpha" Value="0.75" />
  142. <Property Name="CloseButtonEnabled" Value="False" />
  143. <Window Type="TaharezLook/Listbox" Name="DebugRTTListbox">
  144. <Property Name="Position" Value="x:0.02 y:0.1" />
  145. <Property Name="RelativeMinSize" Value="w:0.1 h:0.25" />
  146. <Property Name="RelativeMaxSize" Value="w:0.1 h:0.25" />
  147. <Property Name="Size" Value="w:0.1 h:0.25" />
  148. </Window>
  149. <Window Type="TaharezLook/StaticImage" Name="DebugRTTImage">
  150. <Property Name="Position" Value="x:0.36 y:0.1" />
  151. <Property Name="RelativeMinSize" Value="w:0.2 h:0.25" />
  152. <Property Name="RelativeMaxSize" Value="w:0.2 h:0.25" />
  153. <Property Name="Size" Value="w:0.2 h:0.25" />
  154. </Window>
  155. </Window>
  156. </Window>
  157. </Window>
  158. </GUILayout>