mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 06:43:58 -07:00
This grid-based system allows browsing all available maps at a glance, encouraging more diversity and making it nicer to pick a map. Moves the mapCache and the map filters controller to the gui maps/ folders, and include that folder where it is used, instead of them being in common/ or the gamesetup. Comments By: Freagarach Patch By: Nani (reworked by elexis then wraitii) Fixes #5315 (though further work, such as proper scrolling, would be nice). Differential Revision: https://code.wildfiregames.com/D1703 This was SVN commit r24459.
25 lines
579 B
XML
25 lines
579 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<object name="mapBrowserContainer">
|
|
<repeat count="100" var="n">
|
|
<object
|
|
name="map[n]"
|
|
type="button"
|
|
size="0 0 0 0"
|
|
sprite_over="color: 255 0 0 100"
|
|
sprite_pressed="color: 255 0 0 150"
|
|
>
|
|
<object ghost="true" type="image" sprite="ModernDarkBoxGold" size="3 3 100%-3 100%-3">
|
|
<object
|
|
name="mapPreview[n]"
|
|
style="ModernLabelText"
|
|
type="button"
|
|
size="1 1 100%-1 100%-1"
|
|
text_align="center"
|
|
text_valign="bottom"
|
|
buffer_zone="10"
|
|
/>
|
|
</object>
|
|
</object>
|
|
</repeat>
|
|
|
|
</object>
|