Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto_vs05/media/overlay/Example-DynTex.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: 4.0 KB
Line 
1Example/DynTexOverlay
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Core/DynTexPanel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 200
12                height 100
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/DynTex/Note)
26                {
27                        metrics_mode pixels
28                        left 5
29                        top 5
30                        width 90
31                        height 30
32                        font_name BlueHighway
33                        char_height 16
34                        caption Reaction parameters
35                        colour_top 0.7 0.9 0.7
36                        colour_bottom 0.5 0.7 0.5
37                }
38
39                element TextArea(Example/DynTex/Param_K)
40                {
41                        metrics_mode pixels
42                        left 5
43                        top 20
44                        width 90
45                        height 30
46                        font_name BlueHighway
47                        char_height 16
48                        caption [1/2]K:
49                        colour_top 0.5 0.7 0.5
50                        colour_bottom 0.3 0.5 0.3
51                }
52
53                element TextArea(Example/DynTex/Param_F)
54                {
55                        metrics_mode pixels
56                        left 5
57                        top 35
58                        width 90
59                        height 30
60                        font_name BlueHighway
61                        char_height 16
62                        caption [3/4]F:
63                        colour_top 0.5 0.7 0.5
64                        colour_bottom 0.3 0.5 0.3
65                }
66
67                element TextArea(Example/DynTex/Param_A0)
68                {
69                        metrics_mode pixels
70                        left 5
71                        top 50
72                        width 90
73                        height 30
74                        font_name BlueHighway
75                        char_height 16
76                        caption [5/6]Diffusion 1:
77                        colour_top 0.5 0.7 0.5
78                        colour_bottom 0.3 0.5 0.3
79                }
80
81                element TextArea(Example/DynTex/Param_A1)
82                {
83                        metrics_mode pixels
84                        left 5
85                        top 65
86                        width 90
87                        height 30
88                        font_name BlueHighway
89                        char_height 16
90                        caption [7/8]Diffusion 2:
91                        colour_top 0.5 0.7 0.5
92                        colour_bottom 0.3 0.5 0.3
93                }
94
95                element TextArea(Example/DynTex/Zero)
96                {
97                        metrics_mode pixels
98                        left 5
99                        top 80
100                        width 90
101                        height 30
102                        font_name BlueHighway
103                        char_height 16
104                        caption [0]Reset initial conditions
105                        colour_top 0.5 0.7 0.5
106                        colour_bottom 0.3 0.5 0.3
107                }
108
109
110        }
111}
112Example/VolTexOverlay
113{
114        zorder 500
115        // Stats block
116        container BorderPanel(Example/VolTexPanel)
117        {
118                metrics_mode pixels
119                vert_align top
120                left 5
121                top 5
122                width 200
123                height 70
124                material Core/StatsBlockCenter
125                border_size 1 1 1 1
126                border_material Core/StatsBlockBorder
127                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
128                border_top_uv         0.0039 1.0000 0.9961 0.9961
129                border_topright_uv    0.9961 1.0000 1.0000 0.9961
130                border_left_uv        0.0000 0.9961 0.0039 0.0039
131                border_right_uv       0.9961 0.9961 1.0000 0.0039
132                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
133                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
134                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
135
136                element TextArea(Example/VolTex/Note)
137                {
138                        metrics_mode pixels
139                        left 5
140                        top 5
141                        width 90
142                        height 30
143                        font_name BlueHighway
144                        char_height 16
145                        caption Julia parameters
146                        colour_top 0.7 0.9 0.7
147                        colour_bottom 0.5 0.7 0.5
148                }
149
150                element TextArea(Example/VolTex/Param_real)
151                {
152                        metrics_mode pixels
153                        left 5
154                        top 20
155                        width 90
156                        height 30
157                        font_name BlueHighway
158                        char_height 16
159                        caption [1/2]real:
160                        colour_top 0.5 0.7 0.5
161                        colour_bottom 0.3 0.5 0.3
162                }
163
164                element TextArea(Example/VolTex/Param_imag)
165                {
166                        metrics_mode pixels
167                        left 5
168                        top 35
169                        width 90
170                        height 30
171                        font_name BlueHighway
172                        char_height 16
173                        caption [3/4]imag:
174                        colour_top 0.5 0.7 0.5
175                        colour_bottom 0.3 0.5 0.3
176                }
177
178                element TextArea(Example/VolTex/Param_theta)
179                {
180                        metrics_mode pixels
181                        left 5
182                        top 50
183                        width 90
184                        height 30
185                        font_name BlueHighway
186                        char_height 16
187                        caption [5/6]theta:
188                        colour_top 0.5 0.7 0.5
189                        colour_bottom 0.3 0.5 0.3
190                }
191
192
193        }
194}
Note: See TracBrowser for help on using the repository browser.