<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/rts/src/gui/inc, branch master</title>
<subtitle>Minimalistic real-time strategy video game.
</subtitle>
<id>https://gitea.privatedns.org/xavi/rts/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/rts/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/'/>
<updated>2022-09-23T02:15:55+00:00</updated>
<entry>
<title>gui: Allow elements to be hidden</title>
<updated>2022-09-23T02:15:55+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-23T02:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=d989dc6f49f0136ea69c10cdbaf3b4cdc8e31b6b'/>
<id>urn:sha1:d989dc6f49f0136ea69c10cdbaf3b4cdc8e31b6b</id>
<content type='text'>
When a GUI element is hidden, no rendering or updating is done to it or
its children. This can be useful to define a complex GUI tree structure
that changes under specific conditions, without redefining it.
</content>
</entry>
<entry>
<title>Implement checkbox GUI element</title>
<updated>2022-09-23T02:12:07+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-23T02:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=9d3e754f3660e3bd6d13475a7d26e6d1f1e29fbe'/>
<id>urn:sha1:9d3e754f3660e3bd6d13475a7d26e6d1f1e29fbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement GUI line edit</title>
<updated>2022-09-20T15:34:25+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-20T15:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=8f9737b776bf98d0686a2f11685d1e307b2ef390'/>
<id>urn:sha1:8f9737b776bf98d0686a2f11685d1e307b2ef390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui: Implement gui_deinit</title>
<updated>2022-09-20T15:34:25+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-20T15:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=e3356fde2de41b29989b4e8884f04b2be763256f'/>
<id>urn:sha1:e3356fde2de41b29989b4e8884f04b2be763256f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remap calls to pad/mouse/keyboard to input</title>
<updated>2022-09-20T14:56:30+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-20T11:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=4c5630b0d409419d6de905379a06893eac64996b'/>
<id>urn:sha1:4c5630b0d409419d6de905379a06893eac64996b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow children of gui_container be resized anytime</title>
<updated>2022-07-09T22:26:48+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-07-09T22:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=e636accfd5b310165c0d7b5075f89a64583b5f1a'/>
<id>urn:sha1:e636accfd5b310165c0d7b5075f89a64583b5f1a</id>
<content type='text'>
So far, their position inside the container was determined when
initializing the interface. However, if a child were resized
afterwards, the container would not adjust its elements accordingly.
Moreover, the implementation for gui_container relied on hacking the
children's X/Y coordinates, which could only be done once.

Now, two additional members have been added to gui_common so that
specific X/Y offset can be determined by the parent, additionally to the
traditional rules followed by gui_coords. Despite the extra memory
footprint, it now allows containers to set specific X/Y offsets for
their children on every game cycle.
</content>
</entry>
<entry>
<title>Allow multiple button types</title>
<updated>2022-07-07T00:37:25+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-07-06T21:46:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=251bd41c4499521baa2c810155f85a7fcb528116'/>
<id>urn:sha1:251bd41c4499521baa2c810155f85a7fcb528116</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rounded_rect.h: fix typo</title>
<updated>2022-07-07T00:37:25+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-07-07T00:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=4f714af054ec1874e78a1f14957c68430623ed22'/>
<id>urn:sha1:4f714af054ec1874e78a1f14957c68430623ed22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui/container: support spacing between GUI elements</title>
<updated>2022-07-02T02:42:41+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-07-02T02:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=73259063518d9a53db03d19f803faa44aa6f092f'/>
<id>urn:sha1:73259063518d9a53db03d19f803faa44aa6f092f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui/bar: support arbitrary x/y and width</title>
<updated>2022-07-02T02:41:22+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-07-02T02:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=93d2c39b1ba690e29f64e0091e9db1514e1aad0d'/>
<id>urn:sha1:93d2c39b1ba690e29f64e0091e9db1514e1aad0d</id>
<content type='text'>
</content>
</entry>
</feed>
