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

Revision 1169, 2.5 KB checked in by szydlowski, 18 years ago (diff)

added overlay file for TestKdTree? demo

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 300
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/Depth)
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 [1][2] Max Tree Depth:
47                        colour_top 0.5 0.7 0.5
48                        colour_bottom 0.3 0.5 0.3
49//                      colour_top 1 1 0.7
50//                      colour_bottom 1 1 0.7
51                }
52                element TextArea(KdTree/Highlight)
53                {
54                        metrics_mode pixels
55                        left 5
56                        top 20
57                        width 90
58                        height 30
59                        font_name TrebuchetMSBold
60                        char_height 16
61                        caption [3][4] Highlight:
62                        colour_top 0.5 0.7 0.5
63                        colour_bottom 0.3 0.5 0.3
64                }
65                element TextArea(KdTree/KT)
66                {
67                        metrics_mode pixels
68                        left 5
69                        top 35
70                        width 90
71                        height 30
72                        font_name TrebuchetMSBold
73                        char_height 16
74                        caption [5][6] KT:
75                        colour_top 0.5 0.7 0.5
76                        colour_bottom 0.3 0.5 0.3
77                }
78                element TextArea(KdTree/KI)
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 [7][8] KI:
88                        colour_top 0.5 0.7 0.5
89                        colour_bottom 0.3 0.5 0.3
90                }
91                element TextArea(KdTree/BuildMethod)
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 [Y] Build Method:
101                        colour_top 0.5 0.7 0.5
102                        colour_bottom 0.3 0.5 0.3
103                }
104                element TextArea(KdTree/RenderMethod)
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 [X] Render Method:
114                        colour_top 0.5 0.7 0.5
115                        colour_bottom 0.3 0.5 0.3
116                }
117        }
118}
Note: See TracBrowser for help on using the repository browser.