Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:13:24 +09:30
commit 148805dbfc
16 changed files with 556 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<Quartz name="XUi_Common/controls.xml">
<!--/*Copyright 2022 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<!-- Crispness Fix -->
<setattribute xpath="/controls/textfield[@crispness='Never']" name="crispness">OnDesktop</setattribute>
<!-- UiAtlas Entry-->
<append xpath="/controls">
<Quartz_UiAtlas_Entry>
<rect depth="1" height="${height}" width="${width}" style="hover" disabled_font_color="[disabledLabelColor]" enabled_font_color="[labelColor]" controller="${controller}" visible="{hasentry}">
<sprite depth="3" name="backgroundMain" sprite="menu_empty2px" height="${1+height}" pos="2,0" width="${width-4}" color="[black]" type="sliced" fillcenter="false" />
<sprite depth="2" name="background" color="[darkGrey]" pos="2,0" width="${width-4}" type="sliced" />
<sprite depth="4" name="sprite" pos="10,-5" width="100" height="100" sprite="{sprite}" type="simple" />
<label depth="4" name="spriteName" pos="120,-10" width="${width-130}" height="32" text="{spriteName}" font_size="16" justify="left" pivot="topleft" overflow="ResizeHeight"/>
</rect>
</Quartz_UiAtlas_Entry>
</append>
</Quartz>

View File

@@ -0,0 +1,64 @@
<Quartz name="XUi_Common/styles.xml">
<!--/*Copyright 2022 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<append xpath="/styles">
<Fonts type="Fonts" name="NGUIFonts">
</Fonts>
<Fonts type="Fonts" name="UnityFonts">
</Fonts>
<Fonts type="Fonts" name="OSFonts">
</Fonts>
</append>
<append xpath="/styles/global">
<!-- QuartzUI GLOBAL colors. -->
<style_entry name="quartz_scrollbar_background" value="0,0,0" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar background -->
<style_entry name="quartz_scrollbar_background_hover" value="7,7,7" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar background hover (mouseover) -->
<style_entry name="quartz_scrollbar_handler" value="128,128,128" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar handler -->
<style_entry name="quartz_scrollbar_handler_hover" value="255,255,255" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar handler hover (mouseover) -->
</append>
<!-- Views default styles-->
<append xpath="/styles">
<style type="curvedlabel">
<style_entry name="color" value="[labelColor]"/>
<style_entry name="font_face" value="ReferenceFont"/>
<style_entry name="font_size" value="28"/>
<style_entry name="justify" value="left"/>
<style_entry name="effect" value="none"/>
<style_entry name="pivot" value="topleft"/>
<style_entry name="text" value=""/>
<style_entry name="upper_case" value="false" />
<style_entry name="crispness" value="OnDesktop" />
</style>
<style type="animatedsprite">
<style_entry name="atlas" value="UIAtlas"/>
<style_entry name="sprite" value="[default_sprite]"/>
<style_entry name="color" value="[white]"/>
</style>
</append>
<!-- Crispness Fix -->
<append xpath="/styles/style[@type='label' and count(@*)=1]">
<style_entry name="crispness" value="OnDesktop" />
</append>
<append xpath="/styles/style[@type='textlist' and count(@*)=1]">
<style_entry name="crispness" value="OnDesktop" />
</append>
</Quartz>