<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=FreeFormButton</id>
	<title>FreeFormButton - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=FreeFormButton"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=FreeFormButton&amp;action=history"/>
	<updated>2026-04-21T23:07:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=FreeFormButton&amp;diff=68&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:FreeFormButtonExampleCode}}  ==Inheritance== Panel  ==Constructor== {| class=&quot;wikitable&quot;  !|function !|description |- |FreeFormButton(Vec2 centerPos, FreeFormButtonDesign design) | |- |FreeFormButton(Vec2 centerPos, FreeFormButtonDesign design, Texture textureName, Vec2 minCoord, Vec2 maxCoord) | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- | |FreeFormButton:setColor(Vec3 innerRingColorTop, Vec3 inner...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=FreeFormButton&amp;diff=68&amp;oldid=prev"/>
		<updated>2025-07-05T13:42:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:FreeFormButtonExampleCode}}  ==Inheritance== &lt;a href=&quot;/index.php/Panel&quot; title=&quot;Panel&quot;&gt;Panel&lt;/a&gt;  ==Constructor== {| class=&amp;quot;wikitable&amp;quot;  !|function !|description |- |FreeFormButton(&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; centerPos, &lt;a href=&quot;/index.php/FreeFormButtonDesign&quot; title=&quot;FreeFormButtonDesign&quot;&gt;FreeFormButtonDesign&lt;/a&gt; design) | |- |FreeFormButton(&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; centerPos, &lt;a href=&quot;/index.php/FreeFormButtonDesign&quot; title=&quot;FreeFormButtonDesign&quot;&gt;FreeFormButtonDesign&lt;/a&gt; design, &lt;a href=&quot;/index.php/Texture&quot; title=&quot;Texture&quot;&gt;Texture&lt;/a&gt; textureName, &lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; minCoord, &lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; maxCoord) | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- | |FreeFormButton:setColor(Vec3 innerRingColorTop, Vec3 inner...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:FreeFormButtonExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Inheritance==&lt;br /&gt;
[[Panel]]&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|FreeFormButton([[Vec2]] centerPos, [[FreeFormButtonDesign]] design)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|FreeFormButton([[Vec2]] centerPos, [[FreeFormButtonDesign]] design, [[Texture]] textureName, [[Vec2]] minCoord, [[Vec2]] maxCoord)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[FreeFormButton:setColor(Vec3 innerRingColorTop, Vec3 innerRingColorBottom, Vec3 outerRingColorTop, Vec3 outerRingColorBottom)|setColor]]([[Vec3]] innerRingColorTop, [[Vec3]] innerRingColorBottom, [[Vec3]] outerRingColorTop, [[Vec3]] outerRingColorBottom)&lt;br /&gt;
|Set button color&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[FreeFormButton:setEnabled(bool enable)|setEnabled]](bool enable)&lt;br /&gt;
|Set enabled&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[FreeFormButton:setButtonDesign(FreeFormButtonDesign design)|setButtonDesign]]([[FreeFormButtonDesign]] design)&lt;br /&gt;
|Set button design&lt;br /&gt;
|-&lt;br /&gt;
|[[Sprite]]&lt;br /&gt;
|[[FreeFormButton:getImage()|getImage]]()&lt;br /&gt;
|Return the image sprite&lt;br /&gt;
|-&lt;br /&gt;
|[[Sprite]]&lt;br /&gt;
|[[FreeFormButton:getSecondaryImage()|getSecondaryImage]]()&lt;br /&gt;
|Return the secondary image sprite&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[FreeFormButton:setSelected(bool selected)|setSelected]](bool selected)&lt;br /&gt;
|set if button is in selected&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FreeFormButton:getSelected()|getSelected]]()&lt;br /&gt;
|get if selected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>