source: OGRE/trunk/resources/overlays/TestKdTree.overlay @ 1177

Revision 1177, 2.7 KB checked in by szydlowski, 18 years ago (diff)
Line 
1// Ogre overlay scripts
2KdTree/DebugOverlay
3{
4        zorder 500
5        // Stats block
6        container BorderPanel(KdTree/StatPanel)
7        {
8                metrics_mode pixels
9                vert_align top
10                left 5
11                top 5
12                // width 220
13                width 430
14                height 120
15                material Core/StatsBlockCenter
16                border_size 1 1 1 1
17                border_material Core/StatsBlockBorder
18                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
19                border_top_uv         0.0039 1.0000 0.9961 0.9961
20                border_topright_uv    0.9961 1.0000 1.0000 0.9961
21                border_left_uv        0.0000 0.9961 0.0039 0.0039
22                border_right_uv       0.9961 0.9961 1.0000 0.0039
23                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
24                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
25                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
26
27//              container Panel(KdTree/BreakPanel)
28//              {
29//                      metrics_mode pixels
30//                      left 5
31//                      top 22
32//                      width 210
33//                      height 1
34//                      material Core/StatsBreak
35//              }
36
37                element TextArea(KdTree/RenderMethod)
38                {
39                        metrics_mode pixels
40                        left 5
41                        top 5
42                        width 90
43                        height 30
44                        font_name TrebuchetMSBold
45                        char_height 16
46                        caption [SPACE] Algorithm:
47                        colour_top 0.5 0.7 0.5
48                        colour_bottom 0.3 0.5 0.3
49                }
50                element TextArea(KdTree/BuildMethod)
51                {
52                        metrics_mode pixels
53                        left 5
54                        top 20
55                        width 90
56                        height 30
57                        font_name TrebuchetMSBold
58                        char_height 16
59                        caption [X] Build Method:
60                        colour_top 0.5 0.7 0.5
61                        colour_bottom 0.3 0.5 0.3
62                }
63                element TextArea(KdTree/Depth)
64                {
65                        metrics_mode pixels
66                        left 5
67                        top 35
68                        width 90
69                        height 30
70                        font_name TrebuchetMSBold
71                        char_height 16
72                        caption [1][2] Max Tree Depth:
73                        colour_top 0.5 0.7 0.5
74                        colour_bottom 0.3 0.5 0.3
75//                      colour_top 1 1 0.7
76//                      colour_bottom 1 1 0.7
77                }
78                element TextArea(KdTree/Highlight)
79                {
80                        metrics_mode pixels
81                        left 5
82                        top 50
83                        width 90
84                        height 30
85                        font_name TrebuchetMSBold
86                        char_height 16
87                        caption [3][4] Highlight:
88                        colour_top 0.5 0.7 0.5
89                        colour_bottom 0.3 0.5 0.3
90                }
91                element TextArea(KdTree/KT)
92                {
93                        metrics_mode pixels
94                        left 5
95                        top 65
96                        width 90
97                        height 30
98                        font_name TrebuchetMSBold
99                        char_height 16
100                        caption [5][6] KT:
101                        colour_top 0.5 0.7 0.5
102                        colour_bottom 0.3 0.5 0.3
103                }
104                element TextArea(KdTree/KI)
105                {
106                        metrics_mode pixels
107                        left 5
108                        top 80
109                        width 90
110                        height 30
111                        font_name TrebuchetMSBold
112                        char_height 16
113                        caption [7][8] KI:
114                        colour_top 0.5 0.7 0.5
115                        colour_bottom 0.3 0.5 0.3
116                }
117                element TextArea(KdTree/Movement)
118                {
119                        metrics_mode pixels
120                        left 5
121                        top 95
122                        width 90
123                        height 30
124                        font_name TrebuchetMSBold
125                        char_height 16
126                        caption [Q] Movement:
127                        colour_top 0.5 0.7 0.5
128                        colour_bottom 0.3 0.5 0.3
129                }
130        }
131}
132
Note: See TracBrowser for help on using the repository browser.