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

游戏引擎

开发平台:

Visual C++

  1. Example/CompositorOverlay
  2. {
  3. zorder 500
  4. // Stats block
  5. container BorderPanel(Core/CompositorPanel)
  6. {
  7. metrics_mode pixels
  8. vert_align top
  9. left 5 
  10. top 5
  11. width 500
  12. height 55
  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/Compositor/Desc)
  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 Use keys 1-8 to toggle each compositor
  34. colour_top 0.5 0.7 0.5
  35. colour_bottom 0.3 0.5 0.3
  36. }
  37. element TextArea(Example/Compositor/ActiveLabel)
  38. {
  39. metrics_mode pixels
  40. left 5
  41. top 20
  42. width 90
  43. height 30
  44. font_name BlueHighway
  45. char_height 16
  46. caption Active Compositors:
  47. colour_top 0.5 0.7 0.5
  48. colour_bottom 0.3 0.5 0.3
  49. }
  50. element TextArea(Example/Compositor/ActiveText)
  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. }
  64. }