<!-- Global values
Provides values globally accessible by src="globals" -- unfortunately not by scripts
COPYRIGHT BY ZENIMAX; MODIFIED JULY 2021 BY AXONIS FOR VANILLA UI PLUS
* Fixed line thickness for ultra high and ultra low resolutions
* Added a couple of strings used by VUI+
* Added New Vegas sniffing
* Calculated width and height values for font metrics
* Linked to settings and font metrics; these can be used to override automatic values for font metrics
-->
<rect name="Strings">
	<_line_thickness>
		<copy src="screen" trait="resolutionconverter"/> <!--VUI+ resolutionconverter is the size of a single pixel in the current resolution -->
		<mul>
			<floor> <!--VUI+ use rounded values otherwise we'll have blurry lines! -->
				<copy> 2.6 </copy>
				<!--VUI+ vanilla is reducing line thickness when resolutions grow above 2K because the resolutionconverter gets less than 1 -->
				<div src="screen" trait="resolutionconverter"/>
			</floor>
			<max> 1 </max> <!--VUI+ to support the absolute minimum 640x360 screen resolution -->
		</mul>
	</_line_thickness>
	<_line_brightness> 200 </_line_brightness>
	<_line_brightness_disabled> 128 </_line_brightness_disabled>
	<_text_brightness> 255 </_text_brightness>
	<_text_brightness_disabled> 128 </_text_brightness_disabled>
	<_background_fill_alpha> 206 </_background_fill_alpha> <!--VUI+ fine-tuned with _VUI+DarkBrightness to match the new color-neutral backgrounds with vanilla -->
	<_background_fill_brightness> 128 </_background_fill_brightness>
	<_gap_size> 15 </_gap_size>
	<_sound_button_click> UIMenuOK </_sound_button_click>
	<_pipboy_width> 1024 </_pipboy_width>
	<_pipboy_height> 768 </_pipboy_height>
	<_Has360Controller> 1 </_Has360Controller> <!--VUI+ unlike &xbox; this gets updated in-game -->

	<!--VUI+ strings and internal settings -->
	<_VUI+RBCtitle>пюдхюжхнммши ахнкнцхвеяйхи ухлхвеяйхи нрвер</_VUI+RBCtitle>
	<_VUI+EnergyResistLabel>яноп щмепц</_VUI+EnergyResistLabel>
	<_VUI+FireResistLabel>яноп нцмч</_VUI+FireResistLabel>
	<_VUI+PoisonResistLabel>яноп ъдс</_VUI+PoisonResistLabel>
	<_VUI+BrightnessCalibrationTip>Adjust this setting so that you can *barely* see the text on either side</_VUI+BrightnessCalibrationTip>
	<_VUI+HotkeyControllerTip>use D-pad to assign</_VUI+HotkeyControllerTip>
	<_VUI+VW>я/б</_VUI+VW> <!--VUI+ Value per Weight stat label -->
	<_VUI+Highlighting> 40 </_VUI+Highlighting> <!--VUI+ when a targetable element is selected or hovered, its alpha or brightness is increased by this value. -->
	<_VUI+InsideButton> 25 </_VUI+InsideButton> <!--VUI+ how many pixels to move button labels to the left -->
	<_VUI+DarkBrightness> 200 </_VUI+DarkBrightness> <!--VUI+ intensity of the color cast on the dark background behind menus and subtitles -->

	<!--VUI+ font height and width values used for precise alignment, can be overriden at fonts.xml -->
	<_VUI+FontH_1> <copy src="child(font1)" trait="height" /> </_VUI+FontH_1>
	<_VUI+FontH_2> <copy src="child(font2)" trait="height" /> </_VUI+FontH_2>
	<_VUI+FontH_3> <copy src="child(font3)" trait="height" /> </_VUI+FontH_3>
	<_VUI+FontH_4> <copy src="child(font4)" trait="height" /> </_VUI+FontH_4>
	<_VUI+FontH_5> <copy src="child(font5)" trait="height" /> </_VUI+FontH_5>
	<_VUI+FontH_6> <copy src="child(font6)" trait="height" /> </_VUI+FontH_6>
	<_VUI+FontH_7> <copy src="child(font7)" trait="height" /> </_VUI+FontH_7>
	<_VUI+FontH_8> <copy src="child(font8)" trait="height" /> </_VUI+FontH_8>
	<_VUI+FontW_1> <copy src="child(font1)" trait="width" /> </_VUI+FontW_1>
	<_VUI+FontW_2> <copy src="child(font2)" trait="width" /> </_VUI+FontW_2>
	<_VUI+FontW_3> <copy src="child(font3)" trait="width" /> </_VUI+FontW_3>
	<_VUI+FontW_4> <copy src="child(font4)" trait="width" /> </_VUI+FontW_4>
	<_VUI+FontW_5> <copy src="child(font5)" trait="width" /> </_VUI+FontW_5>
	<_VUI+FontW_6> <copy src="child(font6)" trait="width" /> </_VUI+FontW_6>
	<_VUI+FontW_7> <copy src="child(font7)" trait="width" /> </_VUI+FontW_7>
	<_VUI+FontW_8> <copy src="child(font8)" trait="width" /> </_VUI+FontW_8>
	<text name="font1"> <font> 1 </font> <string>W.</string> </text>
	<text name="font2"> <font> 2 </font> <string>W.</string> </text>
	<text name="font3"> <font> 3 </font> <string>W.</string> </text>
	<text name="font4"> <font> 4 </font> <string>W.</string> </text>
	<text name="font5"> <font> 5 </font> <string>W.</string> </text>
	<text name="font6"> <font> 6 </font> <string>W.</string> </text>
	<text name="font7"> <font> 7 </font> <string>W.</string> </text>
	<text name="font8"> <font> 8 </font> <string>W.</string> </text>
	<_VUI+FontH_0> <copy src="me" trait="_VUI+FontH_1" /> <_VUI+FontH_0>
	<_VUI+FontW_0> <copy src="me" trait="_VUI+FontW_1" /> </_VUI+FontW_0>
	<_VUI+FontY_0> <copy src="me" trait="_VUI+FontY_1" /> </_VUI+FontY_0>
	<_VUI+FontX_0> <copy src="me" trait="_VUI+FontX_1" /> </_VUI+FontX_0>
	<include src="VUI+\fonts.xml" />
	<include src="VUI+\settings.xml" />
	<_VUI+Vegas> <!--VUI+ used to apply code specific to FO3 or NV -->
		<copy> 1 </copy>
		<onlyif> <copy> &-sStatsH20Abbrev; </copy> </onlyif>
	</_VUI+Vegas>
	<_VUI+> 883 </_VUI+>
	<visible> 0 </visible>
</rect>