<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/rts/src/gui, 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:20:13+00:00</updated>
<entry>
<title>label.c: Set empty text by default</title>
<updated>2022-09-23T02:20:13+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-23T02:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=f8c74babda04ea6b1105e11b7b56bd7e17b19f5e'/>
<id>urn:sha1:f8c74babda04ea6b1105e11b7b56bd7e17b19f5e</id>
<content type='text'>
This will avoid crashing the application on rendering due to
uninitialized labels.
</content>
</entry>
<entry>
<title>gui.c: Remove unneeded condition</title>
<updated>2022-09-23T02:18:20+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-23T02:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=9e308d97d983b152dc920219cf4555524747c992'/>
<id>urn:sha1:9e308d97d983b152dc920219cf4555524747c992</id>
<content type='text'>
Even if neither hcentered or vcentered are used, GUI element position
must be determined by that of its parents.
</content>
</entry>
<entry>
<title>gui.c: Fix minor const-correctness issues</title>
<updated>2022-09-23T02:17:44+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-23T02:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=68ccd085fce7233d7ecd7893f7856ded0165fe1c'/>
<id>urn:sha1:68ccd085fce7233d7ecd7893f7856ded0165fe1c</id>
<content type='text'>
</content>
</entry>
<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>gui: fix wrong logic on update/render/deinit</title>
<updated>2022-09-21T16:14:44+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-21T16:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=85d4af02662539455cc4ef04edecd3934046d4bf'/>
<id>urn:sha1:85d4af02662539455cc4ef04edecd3934046d4bf</id>
<content type='text'>
The older implementation caused some elements to be
update/rendered/deinitialized more than once per call. For example,
considering the following tree of GUI elements:

A
    B
    C
        D
    E

The older implementation would update/render/deinitialize C and E more
than once, as shown below:

Update A
Update B
Update C
Update D
Update E
Update C

This was because a GUI element was acting on its siblings, but the
siblings would also act on theirs, causing the extra calls.

OTOH, as an additional improvement, no nested call is now required for
siblings.
</content>
</entry>
<entry>
<title>menu: Implement join_menu</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:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/rts/commit/?id=3eef29c327abd46e73c0a4d5b1c186dd7d3878b2'/>
<id>urn:sha1:3eef29c327abd46e73c0a4d5b1c186dd7d3878b2</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>
</feed>
