<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Common_UI_Properties_%28Civ5%29</id>
	<title>Common UI Properties (Civ5) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Common_UI_Properties_%28Civ5%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Common_UI_Properties_(Civ5)&amp;action=history"/>
	<updated>2026-04-13T17:38:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Common_UI_Properties_(Civ5)&amp;diff=10062&amp;oldid=prev</id>
		<title>DonQuich: Created page with &quot;&#039;&#039;This page is a part of the Lua and UI Reference (Civ5).&#039;&#039;  = ButtonBase = == Voids == &lt;h4&gt;Void1&lt;/h4&gt; :Format: any integer. :Usage: This value is passed to the registered ca...&quot;</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Common_UI_Properties_(Civ5)&amp;diff=10062&amp;oldid=prev"/>
		<updated>2012-09-19T14:31:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;This page is a part of the &lt;a href=&quot;/index.php/Lua_and_UI_Reference_(Civ5)&quot; title=&quot;Lua and UI Reference (Civ5)&quot;&gt;Lua and UI Reference (Civ5)&lt;/a&gt;.&amp;#039;&amp;#039;  = ButtonBase = == Voids == &amp;lt;h4&amp;gt;Void1&amp;lt;/h4&amp;gt; :Format: any integer. :Usage: This value is passed to the registered ca...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
= ButtonBase =&lt;br /&gt;
== Voids ==&lt;br /&gt;
&amp;lt;h4&amp;gt;Void1&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any integer.&lt;br /&gt;
:Usage: This value is passed to the registered callbacks for user inputs (such as a click) and can be used in Lua to associate a control with the corresponding data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Void2&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Same as [[#Void1]].&lt;br /&gt;
&lt;br /&gt;
= AnimBase =&lt;br /&gt;
== Animation behavior ==&lt;br /&gt;
&amp;lt;h4&amp;gt;Stopped&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Pause&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any positive floating point.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;EndPause&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any positive floating point.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Cycle&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;Once&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Bounce&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
== Speed and acceleration ==&lt;br /&gt;
&amp;lt;h4&amp;gt;Speed&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any positive floating point..&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Function&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;Root&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Square&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;FunctionPower&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any positive floating point.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
= TextBase =&lt;br /&gt;
&lt;br /&gt;
== Text and font ==&lt;br /&gt;
&amp;lt;h4&amp;gt;String&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any string. May be a text key.&lt;br /&gt;
:Usage: The text to be displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Font&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;TwCenMT14&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TwCenMT16&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TwCenMT18&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TwCenMT20&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;TwCenMT22&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;TwCenMT24&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: The font name and size used to render the text. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;FontStyle&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;Base&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Shadow&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SoftShadow&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Stroke&amp;lt;/code&amp;gt; or an empty string.&lt;br /&gt;
:Usage: The style to apply to the text.&lt;br /&gt;
&lt;br /&gt;
== Font color ==&lt;br /&gt;
&amp;lt;h4&amp;gt;ColorSet&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any of the color sets defined in &amp;lt;code&amp;gt;Assets/UI/ColorAtlas.xml&amp;lt;/code&amp;gt;. Typical values are &amp;lt;code&amp;gt;Beige_Black_Alpha&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Beige_Black&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Color0&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: see [[#Color]]&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Color1&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: see [[#Color]].&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Color2&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: see [[#Color]]. &lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Color3&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: see [[#Color]].&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Text layout ==&lt;br /&gt;
&amp;lt;h4&amp;gt;WrapWidth&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any integer.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;TruncateWidth&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any integer. &lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ReduceOnTruncate&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any integer.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;LeadingOffset&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any integer.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Input method editor ==&lt;br /&gt;
&amp;lt;h4&amp;gt;ForceIME&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ForceNonIME&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
= ControlBase =&lt;br /&gt;
== Core properties ==&lt;br /&gt;
&amp;lt;h4&amp;gt;ID&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any string.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Disabled&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&amp;lt;h4&amp;gt;Hidden&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Style&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: the name of a style defined in &amp;lt;code&amp;gt;Assets/UI/Styles.xml&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;NoClip&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Color&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: either &amp;lt;code&amp;gt;R,G,B,A&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Color, A&amp;lt;/code&amp;gt;. Examples: &amp;lt;code&amp;gt;255,0,0,128&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Red,128&amp;lt;/code&amp;gt;.&lt;br /&gt;
:*&amp;#039;&amp;#039;Color&amp;#039;&amp;#039; is one of the color names defined in &amp;lt;code&amp;gt;Assets/UI/ColorAtlas.xml&amp;lt;/code&amp;gt; or in the {{Table5|Colors|Civ5Colors}} table.&lt;br /&gt;
:*&amp;#039;&amp;#039;R&amp;#039;&amp;#039;, &amp;#039;&amp;#039;G&amp;#039;&amp;#039;, &amp;#039;&amp;#039;B&amp;#039;&amp;#039; and &amp;#039;&amp;#039;A&amp;#039;&amp;#039; are integer values between 0 and 255. The alpha parameter is optional.&lt;br /&gt;
:*Separators may be dots or commas.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;BranchAlpha&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any positive floating point.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
[[File:Anchoring.png|frame|right|Different anchoring combinations for a child within its parent container. Size and offset are constant for all positions.]]&lt;br /&gt;
&amp;lt;h4&amp;gt;Size&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;X,Y&amp;lt;/code&amp;gt; where X and Y are positive integers. The separator may be a dot or a comma.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Offset&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;X,Y&amp;lt;/code&amp;gt; where X and Y are positive integers. The separator may be a dot or a comma.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Anchor&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;X,Y&amp;lt;/code&amp;gt;. The separator may be a dot or a comma.&lt;br /&gt;
:*X may be &amp;lt;code&amp;gt;Left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Center&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Right&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt;.&lt;br /&gt;
:*Y may be &amp;lt;code&amp;gt;Top&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Center&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Bottom&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;B&amp;lt;/code&amp;gt;.&lt;br /&gt;
:*The character case does not matter.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;AnchorSide&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;X,Y&amp;lt;/code&amp;gt; where X and Y are either &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;o&amp;lt;/code&amp;gt;. The separator may be a dot or a comma.&lt;br /&gt;
:*The possible values stand for &amp;quot;inner&amp;quot; and &amp;quot;outer&amp;quot;.&lt;br /&gt;
:*The character case does not matter.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Interaction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;NeedsMouseOver&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ConsumeMouse&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ConsumeMouseOver&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ConsumeMouseWheel&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ConsumeMouseButton&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
== Tool tips ==&lt;br /&gt;
&amp;lt;h4&amp;gt;ToolTip&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any string.&lt;br /&gt;
:Usage: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;ToolTipType&amp;lt;/h4&amp;gt;&lt;br /&gt;
:Format: any string, the name of a previously defined {{Type5|ToolTipType}}.&lt;br /&gt;
:Usage:&lt;br /&gt;
&lt;br /&gt;
[[Category:Civ5 API]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>