1
0
forked from 0ad/0ad

Itsy bitsy Editor adjustments.

This was SVN commit r1586.
This commit is contained in:
Acumen 2004-12-28 12:55:49 +00:00
parent aab60e9ab8
commit c97077f971
8 changed files with 159 additions and 29 deletions

View File

@ -0,0 +1,100 @@
100
128 64
96
12
32 0 64 0 0 0 0 3
33 70 64 2 8 1 8 4
34 92 56 5 3 0 8 5
35 85 8 7 8 1 8 9
36 34 64 6 10 1 8 7
37 1 64 11 8 1 8 13
38 16 8 8 8 0 8 8
39 69 56 3 3 0 8 3
40 72 64 4 10 1 8 5
41 76 64 4 10 0 8 4
42 123 64 5 5 1 8 7
43 100 64 6 7 1 7 8
44 108 28 4 4 -1 2 3
45 97 56 3 3 1 5 5
46 38 11 2 3 1 3 3
47 64 64 5 10 0 8 6
48 32 16 6 8 0 8 6
49 63 24 5 8 1 8 7
50 71 24 5 8 1 8 6
51 40 16 6 8 0 8 6
52 48 16 6 8 0 8 6
53 79 24 5 8 1 8 6
54 56 16 6 8 0 8 6
55 87 24 5 8 1 8 6
56 64 16 6 8 0 8 6
57 72 16 6 8 0 8 6
58 74 6 2 6 1 6 4
59 124 8 4 8 0 6 4
60 108 64 6 7 1 7 8
61 28 30 6 6 1 7 8
62 116 64 6 7 1 7 8
63 80 16 6 8 0 8 6
64 0 10 8 10 1 8 10
65 24 8 8 8 -1 8 7
66 88 16 6 8 1 8 7
67 96 16 6 8 0 8 6
68 93 8 7 8 1 8 8
69 95 24 5 8 1 8 6
70 103 24 5 8 1 8 6
71 101 8 7 8 0 8 7
72 104 16 6 8 1 8 8
73 124 24 4 8 0 8 4
74 16 32 4 8 0 8 4
75 109 8 7 8 1 8 7
76 111 24 5 8 1 8 6
77 32 8 8 8 1 8 10
78 112 16 6 8 1 8 8
79 117 8 7 8 0 8 7
80 120 16 6 8 1 8 7
81 8 10 7 10 0 8 7
82 17 16 7 8 1 8 8
83 0 20 6 8 0 8 6
84 8 20 6 8 0 8 6
85 16 24 6 8 1 8 8
86 40 8 8 8 -1 8 7
87 13 64 11 8 0 8 10
88 48 8 8 8 -1 8 7
89 56 8 8 8 -1 8 6
90 24 24 6 8 0 8 6
91 80 64 4 10 1 8 5
92 42 64 6 10 0 8 6
93 84 64 4 10 0 8 5
94 0 56 8 4 0 8 8
95 16 56 7 3 0 0 7
96 101 56 3 3 1 10 5
97 59 30 5 6 0 6 6
98 119 24 5 8 1 8 6
99 67 30 5 6 0 6 5
100 32 24 6 8 0 8 6
101 36 30 6 6 0 6 6
102 20 32 4 8 0 8 4
103 40 24 6 8 0 6 6
104 3 28 5 8 1 8 7
105 106 64 2 8 1 8 3
106 88 64 4 10 -1 8 3
107 48 24 6 8 1 8 6
108 114 64 2 8 1 8 3
109 64 6 9 6 1 6 10
110 75 30 5 6 1 6 7
111 44 30 6 6 0 6 6
112 11 28 5 8 1 6 6
113 56 24 6 8 0 6 6
114 104 30 4 6 1 6 5
115 83 30 5 6 0 6 5
116 24 32 4 8 0 8 4
117 91 30 5 6 1 6 7
118 52 30 6 6 0 6 6
119 76 6 9 6 0 6 9
120 92 64 8 6 -1 6 6
121 25 16 7 8 -1 6 6
122 99 30 5 6 0 6 5
123 50 64 6 10 0 8 6
124 40 64 2 10 2 8 6
125 58 64 6 10 0 8 6
126 8 56 7 5 1 6 9
65533 24 64 9 9 0 8 9

Binary file not shown.

View File

@ -1631,27 +1631,6 @@
</object>
</object>
<!--
==========================================
- DEBUG -
==========================================
-->
<!-- FPS COUNTER -->
<object type="text" name="FPS_Counter" z="100" hotkey="fps.toggle" textcolor="200 200 0" font="verdana16" ghost="true" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("FPS_Counter",
"18 100%-35 200 100%",
"18 0% 200 0%+35");
]]></action>
<action on="Press"><![CDATA[
GUIObjectToggle("FPS_Counter");
]]></action>
<action on="Tick"><![CDATA[
UpdateFPSCounter(mouse);
]]></action>
</object>
<!--
==========================================
- TEST -

View File

@ -74,14 +74,22 @@
</object>
<!-- TOP: TOOLBAR -->
<object type="text" name="atlas_mainborder_toolbar_bkg" sprite="atlas_toolbar_bkg" z="60" hidden="false">
<action on="Load"><![CDATA[
setSizeCoord("atlas_mainborder_toolbar_bkg", crd_atlas_mainborder_toolbar_bkg_x, crd_atlas_mainborder_toolbar_bkg_y, -crd_atlas_mainborder_toolbar_bkg_width, crd_atlas_mainborder_toolbar_bkg_y+crd_atlas_mainborder_toolbar_bkg_height, left_screen, top_screen, right_screen, top_screen);
]]></action>
<object type="empty" name="atlas_mainborder_toolbar" size="0 0 100% 100%" z="1" hidden="false">
<object type="text" name="atlas_mainborder_toolbar_bkg" sprite="atlas_toolbar_bkg" z="60" hidden="false">
<action on="Load"><![CDATA[
setSizeCoord("atlas_mainborder_toolbar_bkg", crd_atlas_mainborder_toolbar_bkg_x, crd_atlas_mainborder_toolbar_bkg_y, crd_atlas_mainborder_toolbar_bkg_width, crd_atlas_mainborder_toolbar_bkg_y+crd_atlas_mainborder_toolbar_bkg_height, left_screen, top_screen, right_screen, top_screen);
]]></action>
</object>
<object type="button" name="atlas_mainborder_toolbar_minimise_arrow" sprite="atlas_mainborder_lt_corner" tooltip-style="atlas_tooltip" tooltip="[font=tahoma10b]Toolbar Minimise Arrow[font=tahoma10]\nClick to minimise the toolbar." z="60" hidden="false">
<action on="Load"><![CDATA[
setSizeCoord("atlas_mainborder_toolbar_minimise_arrow", -crd_atlas_mainborder_toolbar_minimise_arrow_x-crd_atlas_mainborder_toolbar_minimise_arrow_width, -crd_atlas_mainborder_toolbar_minimise_arrow_y-crd_atlas_mainborder_toolbar_minimise_arrow_height, -crd_atlas_mainborder_toolbar_minimise_arrow_x, -crd_atlas_mainborder_toolbar_minimise_arrow_y, right_screen, top_screen, right_screen, top_screen);
console.write(crd_atlas_mainborder_toolbar_minimise_arrow_x + ":" + crd_atlas_mainborder_toolbar_minimise_arrow_y + ":" + crd_atlas_mainborder_toolbar_minimise_arrow_width + ":" + crd_atlas_mainborder_toolbar_minimise_arrow_height);
]]></action>
</object>
</object>
<!-- LT: LOGO -->
<object type="text" name="atlas_mainborder_lt_corner" sprite="atlas_mainborder_lt_corner" tooltip-style="atlas_tooltip" tooltip="Mmm, nothing like the smell of blatant self-promotion in the morning ..." z="60" hidden="false">
<object type="text" name="atlas_mainborder_lt_corner" sprite="atlas_mainborder_lt_corner" tooltip-style="atlas_tooltip" tooltip="[font=tahoma10b]0 A.D. Logo[font=tahoma10]\nMmm, nothing like the smell of blatant self-promotion in the morning ..." z="60" hidden="false">
<action on="Load"><![CDATA[
setSizeCoord("atlas_mainborder_lt_corner", crd_atlas_mainborder_lt_corner_x, crd_atlas_mainborder_lt_corner_y, crd_atlas_mainborder_lt_corner_x+crd_atlas_mainborder_lt_corner_width, crd_atlas_mainborder_lt_corner_y+crd_atlas_mainborder_lt_corner_height, left_screen, top_screen, left_screen, top_screen);
]]></action>
@ -96,7 +104,7 @@
]]></action>
</object>
<!-- RT: INFO WINDOW BAR -->
<object type="button" name="atlas_info_window" sprite="atlas_window_white" font="tahoma10" textcolor="0 0 0" text-align="left" text-valign="center" tooltip-style="atlas_tooltip" tooltip="Information about the current scenario." z="60" hidden="false">
<object type="text" name="atlas_info_window" sprite="atlas_window_white" font="tahoma10" textcolor="0 0 0" text-align="left" text-valign="center" tooltip-style="atlas_tooltip" tooltip="[font=tahoma10b]Info Window[font=tahoma10]\nInformation about the current scenario." z="60" hidden="false">
<action on="Load"><![CDATA[
setSizeCoord("atlas_info_window", crd_atlas_info_window_x, crd_atlas_info_window_y, crd_atlas_info_window_x+crd_atlas_info_window_width, crd_atlas_info_window_y+crd_atlas_info_window_height, right_screen, top_screen, right_screen, top_screen);
setInterval(atlasUpdateInfoWindow, 500);

View File

@ -24,6 +24,27 @@
]]></action>
</object>
<!--
==========================================
- DEBUG -
==========================================
-->
<!-- FPS COUNTER -->
<object type="text" name="FPS_Counter" z="100" hotkey="fps.toggle" textcolor="100 100 0" font="verdana16" ghost="true" hidden="true">
<action on="Load"><![CDATA[
AddSizeString("FPS_Counter",
"18 100%-35 200 100%",
"18 0% 200 0%+35");
]]></action>
<action on="Press"><![CDATA[
GUIObjectToggle("FPS_Counter");
]]></action>
<action on="Tick"><![CDATA[
UpdateFPSCounter(mouse);
]]></action>
</object>
<!--
==========================================
- MESSAGE BOX -

View File

@ -35,6 +35,12 @@ function initAtlas()
crd_atlas_mainborder_toolbar_bkg_x = crd_atlas_mainborder_lt_corner_x;
crd_atlas_mainborder_toolbar_bkg_y = crd_atlas_mainborder_menu_bkg_y+crd_atlas_mainborder_menu_bkg_height;
// Minimise arrow on tool bar.
crd_atlas_mainborder_toolbar_minimise_arrow_width = 8;
crd_atlas_mainborder_toolbar_minimise_arrow_height = 4;
crd_atlas_mainborder_toolbar_minimise_arrow_x = (-crd_atlas_mainborder_rt_corner_x)+crd_atlas_mainborder_toolbar_minimise_arrow_width;
crd_atlas_mainborder_toolbar_minimise_arrow_y = crd_atlas_mainborder_toolbar_bkg_y;
// Left-hand selection pane.
crd_atlas_left_pane_bkg_width = 187;
crd_atlas_left_pane_bkg_height = crd_atlas_mainborder_toolbar_bkg_y-crd_atlas_mainborder_toolbar_bkg_height;

View File

@ -903,6 +903,22 @@
<image backcolor="184 190 201" size="100%-1 0 100% 100%"/>
</sprite>
<sprite name="atlas_global_arrow_up">
<image texture="atlas/atlas_global_arrow_up.png" texture-size="0 0 8 4" size="0 0 100% 100%"/>
</sprite>
<sprite name="atlas_global_arrow_dn">
<image texture="atlas/atlas_global_arrow_dn.png" texture-size="0 0 8 4" size="0 0 100% 100%"/>
</sprite>
<sprite name="atlas_global_arrow_lt">
<image texture="atlas/atlas_global_arrow_lt.png" texture-size="0 0 4 8" size="0 0 100% 100%"/>
</sprite>
<sprite name="atlas_global_arrow_rt">
<image texture="atlas/atlas_global_arrow_rt.png" texture-size="0 0 4 8" size="0 0 100% 100%"/>
</sprite>
<!--
==========================================
TEMPORARY IMAGES