Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Moving GUI XML files such as styles, sprites and setup to their own d…
Browse files Browse the repository at this point in the history
…irectory, this makes the mod easier to maintain.

Replace the font mono-stroke with sans-stroke /sans-bold-stroke
  • Loading branch information
LangLangBart committed Mar 5, 2022
1 parent 3456c44 commit a2ecaed
Show file tree
Hide file tree
Showing 39 changed files with 270 additions and 24,336 deletions.
4,625 changes: 0 additions & 4,625 deletions fonts/mono-stroke-12.fnt

This file was deleted.

Binary file removed fonts/mono-stroke-12.png
Binary file not shown.
4,625 changes: 0 additions & 4,625 deletions fonts/mono-stroke-14.fnt

This file was deleted.

Binary file removed fonts/mono-stroke-14.png
Binary file not shown.
4,625 changes: 0 additions & 4,625 deletions fonts/mono-stroke-16.fnt

This file was deleted.

Binary file removed fonts/mono-stroke-16.png
Binary file not shown.
4,625 changes: 0 additions & 4,625 deletions fonts/mono-stroke-18.fnt

This file was deleted.

Binary file removed fonts/mono-stroke-18.png
Binary file not shown.
4,625 changes: 0 additions & 4,625 deletions fonts/mono-stroke-20.fnt

This file was deleted.

Binary file removed fonts/mono-stroke-20.png
Binary file not shown.
129 changes: 0 additions & 129 deletions gui/common/OverlayCounterManager.js

This file was deleted.

117 changes: 0 additions & 117 deletions gui/common/styles.xml

This file was deleted.

16 changes: 12 additions & 4 deletions gui/page_session.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@
<include>session/setup.xml</include>
<include>session/sprites.xml</include>
<include>session/styles.xml</include>
<include>session/session.xml</include>

<include>session/setups/tech.xml</include>
<include>session/setups/misc.xml</include>
<include>session/setups/emblem.xml</include>
<!--
boonGUI's GUI_-_XML_Files
Try to put as much as possible in here and avoid adding the default XML files to the mod, makes it easier to maintain
https://trac.wildfiregames.com/wiki/GUI_-_XML_Files
-->
<include>session/boonGUI_XML/setups_icons.xml</include>
<include>session/boonGUI_XML/setups_tooltip.xml</include>
<include>session/boonGUI_XML/sprites.xml</include>
<!-- styles must come before session.xml -->
<include>session/boonGUI_XML/styles.xml</include>

<include>session/session.xml</include>
</page>
4 changes: 2 additions & 2 deletions gui/session/GameSpeedControl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<object
name="gameSpeed"
type="dropdown"
font="mono-stroke-14"
font="sans-bold-16"
style="ModernDropDown"
size="100%-300 40 100%-100 65"
size="100%-270 40 100%-100 65"
hidden="true"
z="200"
tooltip_style="sessionToolTip"
Expand Down
6 changes: 2 additions & 4 deletions gui/session/ResearchProgress.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<object name="researchStartedButtons"
size="100%-48 40 100%-10 420"
>
<object name="researchStartedButtons" size="100%-48 40 100%-10 420">
<repeat count="10">
<object name="researchStartedButton[n]" hidden="true" style="iconButton" type="button" size="0 0 48 48" tooltip_style="sessionToolTipBottom">
<object name="researchStartedIcon[n]" ghost="true" type="image" size="4 3 45 45"/>
<object name="researchStartedProgressSlider[n]" type="image" sprite="queueProgressSlider" ghost="true" size="4 3 44 45"/>
<object name="researchStartedTimeRemaining[n]" ghost="true" font="mono-stroke-14" text_align="center" text_valign="center" textcolor="white" type="text"/>
<object name="researchStartedTimeRemaining[n]" type="text" style="resourceTimeCounter"/>
</object>
</repeat>
</object>
40 changes: 0 additions & 40 deletions gui/session/SessionMessageBox.js

This file was deleted.

2 changes: 1 addition & 1 deletion gui/session/TimeNotificationOverlay.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<object name="notificationPanel" type="image" size="0 100%-600 315 100%-335" ghost="true">
<object name="notificationText" type="text" style="notificationPanel" ghost="true" z="0"/>
<object name="notificationText" type="text" style="notifiyPanel" ghost="true" z="0"/>
</object>
Loading

0 comments on commit a2ecaed

Please sign in to comment.