<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://cegui.org.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tasche</id>
		<title>CEGUI Wiki - Crazy Eddie's GUI System (Open Source) - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://cegui.org.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tasche"/>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/Special:Contributions/Tasche"/>
		<updated>2026-04-10T14:59:55Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://cegui.org.uk/wiki/index.php?title=Imageset_files&amp;diff=4874</id>
		<title>Imageset files</title>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/index.php?title=Imageset_files&amp;diff=4874"/>
				<updated>2013-02-02T10:57:15Z</updated>
		
		<summary type="html">&lt;p&gt;Tasche: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the time being, this has been copy-and-pasted directly from &amp;quot;readme.txt&amp;quot; in the XMLRefSchema directory of the CEGUI source code. Some prettier formatting along the lines of '''[[Scheme files]]''' would be nice.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Imagesets define one or more images on a larger image (texture).&lt;br /&gt;
The root element must be Imageset.&lt;br /&gt;
&lt;br /&gt;
== Document structure ==&lt;br /&gt;
* '''Imageset'''&lt;br /&gt;
** '''Image Element'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Imageset Element ==&lt;br /&gt;
Has attributes and a collection of one or more Image elements.&lt;br /&gt;
&lt;br /&gt;
Imageset attributes:&lt;br /&gt;
&lt;br /&gt;
* '''Imagefile''' - Path to the image file containing the graphics. ''Required''.&lt;br /&gt;
* '''ResourceGroup''' - The resource group identifier to pass to the resource provider when loading the file.&lt;br /&gt;
* '''Name''' - the name that will be assigned to the Imageset in the GUI system. ''required''.&lt;br /&gt;
* '''NativeHorzRes''' - The horizontal screen resolution that the images were are intended to be displayed at. ''Optional, default=640''.&lt;br /&gt;
* '''NativeVertRes''' - The vertical screen resolution that the images were are intended to be displayed at. ''Optional, default=480''.&lt;br /&gt;
* '''AutoScaled''' - Boolean, states whether to scale imagery so it appears the same size as any resolution. ''Optional, default=false''.&lt;br /&gt;
&lt;br /&gt;
''Imageset'' is the root element and is the only &amp;quot;global&amp;quot; tag.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
  &amp;lt;Imageset Name=&amp;quot;MyLook&amp;quot; Imagefile=&amp;quot;MyLook.tga&amp;quot; NativeHorzRes=&amp;quot;800&amp;quot; NativeVertRes=&amp;quot;600&amp;quot; AutoScaled=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    ... resources ...&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/Imageset&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Image Element ==&lt;br /&gt;
Has attributes defining an sub-image area.  Can have no sub-elements.&lt;br /&gt;
&lt;br /&gt;
Image attributes:&lt;br /&gt;
&lt;br /&gt;
* '''Name''' - The name that will be used to identify the image within the Imageset. ''Required''.&lt;br /&gt;
* '''XPos''' - X pixel co-ordinate of the top-left corner of the image on the texture. ''Required''.&lt;br /&gt;
* '''YPos''' - Y pixel co-ordinate of the top-left corner of the image on the texture. ''Required''.&lt;br /&gt;
* '''Width''' - Width of this image in pixels. ''Required''.&lt;br /&gt;
* '''Height''' - Height of this image in pixels. ''Required''.&lt;br /&gt;
* '''XOffset''' - Horizontal offset to apply when rendering. ''Optional, default=0''.&lt;br /&gt;
* '''YOffset''' - Vertical offset to apply when rendering. ''Optional, default=0''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
  &amp;lt;Imageset Name=&amp;quot;MyLook&amp;quot; Imagefile=&amp;quot;MyLook.tga&amp;quot; NativeHorzRes=&amp;quot;800&amp;quot; NativeVertRes=&amp;quot;600&amp;quot; AutoScaled=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;Image Name=&amp;quot;MyWidgetImage&amp;quot; XPos=&amp;quot;0&amp;quot; YPos=&amp;quot;0&amp;quot; Width=&amp;quot;64&amp;quot; Height=&amp;quot;64&amp;quot; /&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/Imageset&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Manuals]]&lt;br /&gt;
[[Category:Update requested]]&lt;/div&gt;</summary>
		<author><name>Tasche</name></author>	</entry>

	</feed>