Rev | Line | |
---|
[777] | 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 |
|
---|
| 25 |
|
---|
| 26 | element TextArea(Example/Compositor/Desc)
|
---|
| 27 | {
|
---|
| 28 | metrics_mode pixels
|
---|
| 29 | left 5
|
---|
| 30 | top 5
|
---|
| 31 | width 180
|
---|
| 32 | height 30
|
---|
| 33 | font_name TrebuchetMSBold
|
---|
| 34 | char_height 16
|
---|
| 35 | caption Use keys 1-8 to toggle each compositor
|
---|
| 36 | colour_top 0.5 0.7 0.5
|
---|
| 37 | colour_bottom 0.3 0.5 0.3
|
---|
| 38 | }
|
---|
| 39 | element TextArea(Example/Compositor/ActiveLabel)
|
---|
| 40 | {
|
---|
| 41 | metrics_mode pixels
|
---|
| 42 | left 5
|
---|
| 43 | top 20
|
---|
| 44 | width 90
|
---|
| 45 | height 30
|
---|
| 46 | font_name TrebuchetMSBold
|
---|
| 47 | char_height 16
|
---|
| 48 | caption Active Compositors:
|
---|
| 49 | colour_top 0.5 0.7 0.5
|
---|
| 50 | colour_bottom 0.3 0.5 0.3
|
---|
| 51 | }
|
---|
| 52 | element TextArea(Example/Compositor/ActiveText)
|
---|
| 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 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.