<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../docs.xsl"?>

<docs type="symbol" project="SIEGE" version="0.8.2" rpath="../..">
	<file root="siege/core" name="window.DONE.h">
		<group key="Window" name="Window">
			<symbol id="18" kind="function" internal="false" cname="sgWindow*Size">
				<index>
					<centry key="Window*Size">sgWindow*Size</centry>
					<centry key="Window*Width">sgWindow*Width</centry>
					<centry key="Window*Height">sgWindow*Height</centry>
					<entry key="WindowSetSize">sgWindowSetSize</entry>
					<entry key="WindowGetSize">sgWindowGetSize</entry>
					<entry key="WindowSetWidth">sgWindowSetWidth</entry>
					<entry key="WindowGetWidth">sgWindowGetWidth</entry>
					<entry key="WindowSetHeight">sgWindowSetHeight</entry>
					<entry key="WindowGetHeight">sgWindowGetHeight</entry>
				</index>
				<section name="Name">
					<names>
						<name>sgWindowSetSize</name>
						<name>sgWindowGetSize</name>
						<descr>Set/get the window's size</descr>
					</names>
					<names>
						<name>sgWindowSetWidth</name>
						<name>sgWindowGetWidth</name>
						<descr>Set/get the window's width or height</descr>
					</names>
				</section>
				<section name="Synopsis">
					<code-block lang="C">void <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetSize</ref>(<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> width, <ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> height);
void <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetSize</ref>(<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref>* width, <ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref>* height);

void <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetWidth</ref>(<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> width);
<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetWidth</ref>(void);

void <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetHeight</ref>(<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> height);
<ref local="false" path=".." file="common" group="Common" name="SGbyte" id="3">SGuint</ref> <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetHeight</ref>(void);</code-block>
				</section>
				<section name="Parameters">
					<params>
						<name>width</name>
						<name>height</name>
						<descr>sets/gets the size; either argument can be NULL where it is a pointer</descr>
					</params>
				</section>
				<section name="Description">
					<p>
						The width and/or height of the window are modified or queried. <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetWidth</ref>/<ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetHeight</ref> are roughly equivalent to:
					</p>
						<code-block lang="C"><ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetSize</ref>(width, <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetHeight</ref>()); // for SetWidth
<ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowSetSize</ref>(<ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetWidth</ref>(), height); // for SetHeight</code-block>
					<p>
						The function <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetSize</ref> is:
					</p>
						<code-block lang="C">if(width) *width = <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetWidth</ref>();
if(height) *height = <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetHeight</ref>();</code-block>
				</section>
				<section name="Return Values">
					<p>
						<ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetWidth</ref> and <ref local="true" path="." file="window.DONE" group="Window" name="sgWindow*Size" id="18">sgWindowGetHeight</ref> return the appropriate dimension.
					</p>
				</section>
				<section name="TODO">
						<ul>
							<li>
								<p>
									DOC: Document which callbacks get called
								</p>
							</li>
						</ul>
				</section>
			</symbol>
		</group>
	</file>
</docs>
