[657] | 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 |
|
---|
| 25 | element TextArea(Example/DP3/Light)
|
---|
| 26 | {
|
---|
| 27 | metrics_mode pixels
|
---|
| 28 | left 5
|
---|
| 29 | top 5
|
---|
| 30 | width 180
|
---|
| 31 | height 30
|
---|
| 32 | font_name TrebuchetMSBold
|
---|
| 33 | char_height 16
|
---|
| 34 | caption [1,2,3] toggle lights
|
---|
| 35 | colour_top 0.5 0.7 0.5
|
---|
| 36 | colour_bottom 0.3 0.5 0.3
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | element TextArea(Example/DP3/Object)
|
---|
| 40 | {
|
---|
| 41 | metrics_mode pixels
|
---|
| 42 | left 5
|
---|
| 43 | top 20
|
---|
| 44 | width 180
|
---|
| 45 | height 30
|
---|
| 46 | font_name TrebuchetMSBold
|
---|
| 47 | char_height 16
|
---|
| 48 | caption [O] change objects
|
---|
| 49 | colour_top 0.5 0.7 0.5
|
---|
| 50 | colour_bottom 0.3 0.5 0.3
|
---|
| 51 | }
|
---|
| 52 | element TextArea(Example/DP3/ObjectInfo)
|
---|
| 53 | {
|
---|
| 54 | metrics_mode pixels
|
---|
| 55 | left 155
|
---|
| 56 | top 20
|
---|
| 57 | width 90
|
---|
| 58 | height 30
|
---|
| 59 | font_name TrebuchetMSBold
|
---|
| 60 | char_height 16
|
---|
| 61 | caption Current:
|
---|
| 62 | colour_top 0.5 0.7 0.5
|
---|
| 63 | colour_bottom 0.3 0.5 0.3
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | element TextArea(Example/DP3/Materials)
|
---|
| 67 | {
|
---|
| 68 | metrics_mode pixels
|
---|
| 69 | left 5
|
---|
| 70 | top 35
|
---|
| 71 | width 90
|
---|
| 72 | height 30
|
---|
| 73 | font_name TrebuchetMSBold
|
---|
| 74 | char_height 16
|
---|
| 75 | caption [M] Change material
|
---|
| 76 | colour_top 0.5 0.7 0.5
|
---|
| 77 | colour_bottom 0.3 0.5 0.3
|
---|
| 78 | }
|
---|
| 79 | element TextArea(Example/DP3/MaterialInfo)
|
---|
| 80 | {
|
---|
| 81 | metrics_mode pixels
|
---|
| 82 | left 155
|
---|
| 83 | top 35
|
---|
| 84 | width 90
|
---|
| 85 | height 30
|
---|
| 86 | font_name TrebuchetMSBold
|
---|
| 87 | char_height 16
|
---|
| 88 | caption Current:
|
---|
| 89 | colour_top 0.5 0.7 0.5
|
---|
| 90 | colour_bottom 0.3 0.5 0.3
|
---|
| 91 | }
|
---|
| 92 | element TextArea(Example/DP3/Info)
|
---|
| 93 | {
|
---|
| 94 | metrics_mode pixels
|
---|
| 95 | left 5
|
---|
| 96 | top 50
|
---|
| 97 | width 250
|
---|
| 98 | height 30
|
---|
| 99 | font_name TrebuchetMSBold
|
---|
| 100 | char_height 16
|
---|
| 101 | colour_top 0.5 0.7 0.5
|
---|
| 102 | colour_bottom 0.3 0.5 0.3
|
---|
| 103 | }
|
---|
| 104 | }
|
---|
| 105 | }
|
---|