Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto_vs05/media/overlay/Example-Water.overlay @ 288

Last change on this file since 288 was 288, checked in by rgrieder, 16 years ago
  • added Chai's HUD overlay
  • abstracted debugOverlay —> TestOverlay
  • added overlay media files
  • cleaned up RunManager a little bit
  • omitted using ogre's Singleton template
  • added useful CMake structure
  • some more things
File size: 3.3 KB
Line 
1Example/WaterOverlay
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Core/WaterPanel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 400
12                height 87
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/Water/Normals)
27                {
28                        metrics_mode pixels
29                        left 5
30                        top 5
31                        width 90
32                        height 30
33                        font_name BlueHighway
34                        char_height 16
35                        caption [N]Normals:
36                        colour_top 0.5 0.7 0.5
37                        colour_bottom 0.3 0.5 0.3
38                }
39
40                element TextArea(Example/Water/Rain)
41                {
42                        metrics_mode pixels
43                        left 5
44                        top 20
45                        width 90
46                        height 30
47                        font_name BlueHighway
48                        char_height 16
49                        caption [SPACE]Rain
50                        colour_top 0.5 0.7 0.5
51                        colour_bottom 0.3 0.5 0.3
52                }
53
54                element TextArea(Example/Water/SkyBox)
55                {
56                        metrics_mode pixels
57                        left 5
58                        top 35
59                        width 90
60                        height 30
61                        font_name BlueHighway
62                        char_height 16
63                        caption [B]SkyBox:
64                        colour_top 0.5 0.7 0.5
65                        colour_bottom 0.3 0.5 0.3
66                }
67
68                element TextArea(Example/Water/Depth)
69                {
70                        metrics_mode pixels
71                        left 5
72                        top 50
73                        width 90
74                        height 30
75                        font_name BlueHighway
76                        char_height 16
77                        caption [U/J]Head depth:
78                        colour_top 0.5 0.7 0.5
79                        colour_bottom 0.3 0.5 0.3
80                }
81
82                element TextArea(Example/Water/Material)
83                {
84                        metrics_mode pixels
85                        left 5
86                        top 65
87                        width 90
88                        height 30
89                        font_name BlueHighway
90                        char_height 16
91                        caption [M]Material:
92                        colour_top 0.5 0.7 0.5
93                        colour_bottom 0.3 0.5 0.3
94                }
95
96                element TextArea(Example/Water/Note)
97                {
98                        metrics_mode pixels
99                        left 200
100                        top 5
101                        width 90
102                        height 30
103                        font_name BlueHighway
104                        char_height 16
105                        caption Careful with these values!
106                        colour_top 0.7 0.9 0.7
107                        colour_bottom 0.5 0.7 0.5
108                }
109
110                element TextArea(Example/Water/Param_C)
111                {
112                        metrics_mode pixels
113                        left 200
114                        top 20
115                        width 90
116                        height 30
117                        font_name BlueHighway
118                        char_height 16
119                        caption [1/2]Ripple speed:
120                        colour_top 0.5 0.7 0.5
121                        colour_bottom 0.3 0.5 0.3
122                }
123
124                element TextArea(Example/Water/Param_D)
125                {
126                        metrics_mode pixels
127                        left 200
128                        top 35
129                        width 90
130                        height 30
131                        font_name BlueHighway
132                        char_height 16
133                        caption [3/4]Distance:
134                        colour_top 0.5 0.7 0.5
135                        colour_bottom 0.3 0.5 0.3
136                }
137
138                element TextArea(Example/Water/Param_U)
139                {
140                        metrics_mode pixels
141                        left 200
142                        top 50
143                        width 90
144                        height 30
145                        font_name BlueHighway
146                        char_height 16
147                        caption [5/6]Viscosity:
148                        colour_top 0.5 0.7 0.5
149                        colour_bottom 0.3 0.5 0.3
150                }
151
152                element TextArea(Example/Water/Param_T)
153                {
154                        metrics_mode pixels
155                        left 200
156                        top 65
157                        width 90
158                        height 30
159                        font_name BlueHighway
160                        char_height 16
161                        caption [7/8]Time period:
162                        colour_top 0.5 0.7 0.5
163                        colour_bottom 0.3 0.5 0.3
164                }
165
166
167        }
168}
Note: See TracBrowser for help on using the repository browser.