Packing it in for tonight.
This was SVN commit r1562.
This commit is contained in:
parent
9dc183c9a5
commit
1c89ab78f0
BIN
binaries/data/mods/official/art/textures/ui/atlas/atlas_mainborder_rt_corner.png
(Stored with Git LFS)
BIN
binaries/data/mods/official/art/textures/ui/atlas/atlas_mainborder_rt_corner.png
(Stored with Git LFS)
Binary file not shown.
@ -11,6 +11,50 @@
|
||||
<objects>
|
||||
|
||||
<object type="empty" name="atlas_gui" size="0 0 100% 100%" z="1" hidden="true">
|
||||
|
||||
<!-- Simply black out the lowest level of the GUI, until such time as we're capable of starting an editor session of a scenario. -->
|
||||
<object type="text" name="atlas_gui_bkg" sprite="black" size="0 0 100% 100%" z="1" ghost="true" hidden="false"/>
|
||||
|
||||
<!-- TOP: MENU -->
|
||||
<object type="button" name="atlas_mainborder_menu_bkg" sprite="atlas_menubar_bkg" z="60" hidden="false">
|
||||
<action on="Load"><![CDATA[
|
||||
setSizeCoord("atlas_mainborder_menu_bkg", crd_atlas_mainborder_menu_bkg_x, crd_atlas_mainborder_menu_bkg_y, -crd_atlas_mainborder_menu_bkg_width, crd_atlas_mainborder_menu_bkg_y+crd_atlas_mainborder_menu_bkg_height, left_screen, top_screen, right_screen, top_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<!-- TOP: TOOLBAR -->
|
||||
<object type="button" 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>
|
||||
|
||||
<!-- LT: LOGO -->
|
||||
<object type="text" name="atlas_mainborder_lt_corner" sprite="atlas_mainborder_lt_corner" 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>
|
||||
</object>
|
||||
|
||||
<!-- RT: INFO -->
|
||||
<object type="text" name="atlas_mainborder_rt_corner" sprite="atlas_mainborder_rt_corner" z="60" hidden="false">
|
||||
<action on="Load"><![CDATA[
|
||||
setSizeCoord("atlas_mainborder_rt_corner", crd_atlas_mainborder_rt_corner_x, crd_atlas_mainborder_rt_corner_y, crd_atlas_mainborder_rt_corner_x+crd_atlas_mainborder_rt_corner_width, crd_atlas_mainborder_rt_corner_y+crd_atlas_mainborder_rt_corner_height, right_screen, top_screen, right_screen, top_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
<!-- RB: MINIMAP -->
|
||||
<object type="button" name="atlas_minimap_bkg" sprite="atlas_border" z="60" hidden="false">
|
||||
<action on="Load"><![CDATA[
|
||||
setSizeCoord("atlas_minimap_bkg", -crd_atlas_minimap_bkg_x-crd_atlas_minimap_bkg_width, -crd_atlas_minimap_bkg_y-crd_atlas_minimap_bkg_height, -crd_atlas_minimap_bkg_x, -crd_atlas_minimap_bkg_y, right_screen, bottom_screen, right_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
<!-- Later change this to type minimap, no sprite (doesn't do anything if not in simulation mode). -->
|
||||
<object type="button" name="atlas_minimap" sprite="grey" z="60" hidden="false">
|
||||
<action on="Load"><![CDATA[
|
||||
setSizeCoord("atlas_minimap", -crd_atlas_minimap_x-crd_atlas_minimap_width, -crd_atlas_minimap_y-crd_atlas_minimap_height, -crd_atlas_minimap_x, -crd_atlas_minimap_y, right_screen, bottom_screen, right_screen, bottom_screen);
|
||||
]]></action>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
</objects>
|
||||
|
@ -5,6 +5,41 @@
|
||||
|
||||
function initAtlas()
|
||||
{
|
||||
// Top-left corner piece of main editor frame.
|
||||
crd_atlas_mainborder_lt_corner_width = 42;
|
||||
crd_atlas_mainborder_lt_corner_height = 42;
|
||||
crd_atlas_mainborder_lt_corner_x = 0;
|
||||
crd_atlas_mainborder_lt_corner_y = 0;
|
||||
|
||||
// Top-right corner piece of main editor frame ("Info Selection Box").
|
||||
crd_atlas_mainborder_rt_corner_width = 203;
|
||||
crd_atlas_mainborder_rt_corner_height = 54;
|
||||
crd_atlas_mainborder_rt_corner_x = -crd_atlas_mainborder_rt_corner_width;
|
||||
crd_atlas_mainborder_rt_corner_y = crd_atlas_mainborder_lt_corner_y;
|
||||
|
||||
// Top menu bar.
|
||||
crd_atlas_mainborder_menu_bkg_width = crd_atlas_mainborder_rt_corner_width;
|
||||
crd_atlas_mainborder_menu_bkg_height = 19;
|
||||
crd_atlas_mainborder_menu_bkg_x = crd_atlas_mainborder_lt_corner_x+crd_atlas_mainborder_lt_corner_width;
|
||||
crd_atlas_mainborder_menu_bkg_y = crd_atlas_mainborder_lt_corner_y;
|
||||
|
||||
// Top tool bar.
|
||||
crd_atlas_mainborder_toolbar_bkg_width = crd_atlas_mainborder_rt_corner_width-crd_atlas_mainborder_lt_corner_width;
|
||||
crd_atlas_mainborder_toolbar_bkg_height = 22;
|
||||
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;
|
||||
|
||||
// Bottom-right Mini Map Background.
|
||||
crd_atlas_minimap_bkg_width = 180;
|
||||
crd_atlas_minimap_bkg_height = 180;
|
||||
crd_atlas_minimap_bkg_x = 0;
|
||||
crd_atlas_minimap_bkg_y = 0;
|
||||
|
||||
// Bottom-right Mini Map.
|
||||
crd_atlas_minimap_width = 140;
|
||||
crd_atlas_minimap_height = 140;
|
||||
crd_atlas_minimap_x = 20;
|
||||
crd_atlas_minimap_y = 20;
|
||||
}
|
||||
|
||||
// ====================================================================
|
@ -83,6 +83,10 @@
|
||||
<image backcolor="243 242 240" size="0 0 100% 100%" />
|
||||
</sprite>
|
||||
|
||||
<sprite name="black">
|
||||
<image backcolor="0 0 0" size="0 0 100% 100%" />
|
||||
</sprite>
|
||||
|
||||
<sprite name="white-border">
|
||||
<image backcolor="100 70 120" size="0 0 100% 100%" />
|
||||
<image backcolor="255 255 255" size="-1 -1 100%+1 0" />
|
||||
@ -826,6 +830,14 @@
|
||||
==========================================
|
||||
-->
|
||||
|
||||
<sprite name="atlas_mainborder_lt_corner">
|
||||
<image texture="atlas/atlas_mainborder_lt_corner.png" texture-size="0 0 64 64" size="0 0 100% 100%"/>
|
||||
</sprite>
|
||||
|
||||
<sprite name="atlas_mainborder_rt_corner">
|
||||
<image texture="atlas/atlas_mainborder_rt_corner.png" texture-size="0 0 256 256" size="0 0 100% 100%"/>
|
||||
</sprite>
|
||||
|
||||
<!--
|
||||
==========================================
|
||||
TEMPORARY IMAGES
|
||||
|
Loading…
Reference in New Issue
Block a user