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

游戏引擎

开发平台:

Visual C++

  1. Example/DP3Overlay
  2. {
  3. zorder 500
  4. // Stats block
  5. container BorderPanel(Core/DP3Panel)
  6. {
  7. metrics_mode pixels
  8. vert_align top
  9. left 5 
  10. top 5
  11. width 500
  12. height 70
  13. material Core/StatsBlockCenter
  14.          border_size 1 1 1 1
  15.          border_material Core/StatsBlockBorder
  16.          border_topleft_uv     0.0000 1.0000 0.0039 0.9961
  17.      border_top_uv         0.0039 1.0000 0.9961 0.9961
  18.      border_topright_uv    0.9961 1.0000 1.0000 0.9961
  19.      border_left_uv        0.0000 0.9961 0.0039 0.0039
  20.      border_right_uv       0.9961 0.9961 1.0000 0.0039
  21.      border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
  22.          border_bottom_uv      0.0039 0.0039 0.9961 0.0000
  23.      border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
  24. element TextArea(Example/DP3/Light)
  25. {
  26. metrics_mode pixels
  27. left 5
  28. top 5
  29. width 180
  30. height 30
  31. font_name BlueHighway
  32. char_height 16
  33. caption [1,2,3] toggle lights
  34. colour_top 0.5 0.7 0.5
  35. colour_bottom 0.3 0.5 0.3
  36. }
  37. element TextArea(Example/DP3/Object)
  38. {
  39. metrics_mode pixels
  40. left 5
  41. top 20
  42. width 180
  43. height 30
  44. font_name BlueHighway
  45. char_height 16
  46. caption [O] change objects
  47. colour_top 0.5 0.7 0.5
  48. colour_bottom 0.3 0.5 0.3
  49. }
  50. element TextArea(Example/DP3/ObjectInfo)
  51. {
  52. metrics_mode pixels
  53. left 155
  54. top 20
  55. width 90
  56. height 30
  57. font_name BlueHighway
  58. char_height 16
  59. caption Current:
  60. colour_top 0.5 0.7 0.5
  61. colour_bottom 0.3 0.5 0.3
  62. }
  63. element TextArea(Example/DP3/Materials)
  64. {
  65. metrics_mode pixels
  66. left 5
  67. top 35
  68. width 90
  69. height 30
  70. font_name BlueHighway
  71. char_height 16
  72. caption [M] Change material
  73. colour_top 0.5 0.7 0.5
  74. colour_bottom 0.3 0.5 0.3
  75. }
  76. element TextArea(Example/DP3/MaterialInfo)
  77. {
  78. metrics_mode pixels
  79. left 155
  80. top 35
  81. width 90
  82. height 30
  83. font_name BlueHighway
  84. char_height 16
  85. caption Current:
  86. colour_top 0.5 0.7 0.5
  87. colour_bottom 0.3 0.5 0.3
  88. }
  89. element TextArea(Example/DP3/Info)
  90. {
  91. metrics_mode pixels
  92. left 5
  93. top 50
  94. width 250
  95. height 30
  96. font_name BlueHighway
  97. char_height 16
  98. colour_top 0.5 0.7 0.5
  99. colour_bottom 0.3 0.5 0.3
  100. }
  101. }
  102. }