source: OGRE/trunk/ogrenew/Samples/Media/overlays/BasicOgreGuiTemplates.inc @ 692

Revision 692, 1.1 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]1// Ogre overlay scripts
2template container BorderPanel(SS/Templates/BasicBorderPanel)
3{
4        left 0
5        top 0
6        width 1
7        height 1
8        material Core/StatsBlockCenter
9        border_size 0.06 0.06 0.06665 0.06665
10        border_material Core/StatsBlockBorder
11        border_topleft_uv     0.0000 0.0000 0.1914 0.2031
12        border_top_uv         0.1914 0.0000 0.8086 0.2031
13        border_topright_uv    0.8086 0.0000 1.0000 0.2031
14        border_left_uv        0.0000 0.2031 0.1914 0.7852
15        border_right_uv       0.8086 0.2031 1.0000 0.7852
16        border_bottomleft_uv  0.0000 0.7852 0.1914 1.0000
17        border_bottom_uv      0.1914 0.7852 0.8086 1.0000
18        border_bottomright_uv 0.8086 0.7852 1.0000 1.0000
19}
20
21template container BorderPanel(SS/Templates/BasicSmallBorderPanel) : SS/Templates/BasicBorderPanel
22{
23    border_size 0.04 0.04 0.04665 0.04665
24}
25
26
27template element TextArea(SS/Templates/BasicText)
28{
29        font_name Ogre
30        char_height 0.08
31        colour_top 1 1 0
32        colour_bottom 1 0.2 0.2
33        left 0.03
34        top 0.02
35        width 0.12
36        height 0.09
37}
38
39template container Panel(SS/Templates/BasicPanel)
40{
41        left 0
42        top 0
43        width 1
44        height 1
45        material Core/StatsBlockCenter
46}
47
Note: See TracBrowser for help on using the repository browser.