Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto_vs05/media/overlay/DP3.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: 2.2 KB
Line 
1Example/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 BlueHighway
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 BlueHighway
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 BlueHighway
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 BlueHighway
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 BlueHighway
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 BlueHighway
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}
Note: See TracBrowser for help on using the repository browser.