<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=UIEdit</id>
	<title>UIEdit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=UIEdit"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=UIEdit&amp;action=history"/>
	<updated>2026-04-07T17:00:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=UIEdit&amp;diff=3263&amp;oldid=prev</id>
		<title>JRAD at 12:06, 21 November 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=UIEdit&amp;diff=3263&amp;oldid=prev"/>
		<updated>2007-11-21T12:06:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOEDITSECTION__&lt;br /&gt;
== Class Tree ==&lt;br /&gt;
* [[:UIObject]]&lt;br /&gt;
** [[:UIObject_Drawable]]&lt;br /&gt;
*** [[:UIWindow]]&lt;br /&gt;
**** [[:UIEdit]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
An edit window should be used to get text input from the player. It is used for entering a server password, player name, clan tag, renaming the fireteam and chat text among other things. If the edit window should support non ASCII characters then editw should be used instead.&lt;br /&gt;
&lt;br /&gt;
Templates are used to decrease the amount of text needed to create an edit box, the _edit and _end_edit templates should be used.&lt;br /&gt;
&lt;br /&gt;
This class may be used in the GUIs. It will inherit all properties, flags, functions and events from [[UIWindow]].&lt;br /&gt;
&lt;br /&gt;
Window type:&lt;br /&gt;
 type edit;&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
 _edit( createServerName, 100, 0, 100, BUTTON_HEIGHT )&lt;br /&gt;
 	_cvar_set_edit( si_name )&lt;br /&gt;
 	_draw_left_edit_label( localize( &amp;quot;guis/mainmenu/servername&amp;quot; ), COLOR_TEXT, 100 )&lt;br /&gt;
 	properties {&lt;br /&gt;
 		float maxTextLength = 30;&lt;br /&gt;
 	}&lt;br /&gt;
 _end_edit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
{{:UIEdit Properties}}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
{{:UIEdit Flags}}&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
=== General Functions ===&lt;br /&gt;
 [[UIEdit:clearText|clearText]]                          Clear all window text.&lt;br /&gt;
 [[UIEdit:isWhitespace|isWhitespace]]                       Check whitespaces, ignores all color codes.&lt;br /&gt;
 [[UIEdit:insertText|insertText]]                         Insert text into the edit box.&lt;br /&gt;
 [[UIEdit:surroundSelection|surroundSelection]]                  Select certain substring.&lt;br /&gt;
 [[UIEdit:anySelected|anySelected]]                        Check if any of the edit text is selected.&lt;br /&gt;
 [[UIEdit:selectAll|selectAll]]                          Select all text in the edit box.&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
 [[UIEdit:onInputFailed|onInputFailed]]                      Called if typing any characters that breaks the EF_ALLOW_DECIMAL/EF_INTEGERS_ONLY flags.&lt;br /&gt;
&lt;br /&gt;
[[Category:GUIs]]&lt;/div&gt;</summary>
		<author><name>JRAD</name></author>
		
	</entry>
</feed>