Commit Graph

16 Commits

Author SHA1 Message Date
Pietro Gagliardi faaccd0413 Made uiInit() programmer errors actual programmer errors and not normal error returns. This makes the error handling, the documentation, and even the tests much easier, and also makes programmer error handling more consistent. Also defined programmer error cases for uiMain() and uiQuit(). We'll implement all of these next. 2020-05-09 01:01:40 -04:00
Pietro Gagliardi c0e73c67f4 Okay, I won't even bother with the overview until I figure out how events will work in the final API, because I legitimately cannot decide how to write this. 2020-05-09 00:35:38 -04:00
Pietro Gagliardi dea7b52605 Revert "Made thread names consistent."
I don't know if I want to do this yet.

This reverts commit 456fb594c0.
2020-05-09 00:34:51 -04:00
Pietro Gagliardi 456fb594c0 Made thread names consistent. 2020-05-09 00:18:06 -04:00
Pietro Gagliardi 7c4d1ae478 More TODOs in doc/init-main.md. I'll decide these later. I want to rewrite this to not use the term 'event' to avoid confusion with libui's own event system, since these are talking about all the events that can happen, not just the ones libui allows you to handle... 2020-05-08 00:39:37 -04:00
Pietro Gagliardi 3049adbca0 Missed a spot 2019-05-29 21:12:49 -04:00
Pietro Gagliardi 19ad0d33a3 Changed uiInit() to return bool instead of int, now that we've settled on using bool. 2019-05-29 21:10:44 -04:00
Pietro Gagliardi 69000cda46 More TODOs. 2019-04-30 02:32:44 -04:00
Pietro Gagliardi 2c57498e44 Re-added uiMain(), uiQuit(), and uiQueueMain(). 2019-04-27 21:48:51 -04:00
Pietro Gagliardi 23591eeefa Executive decision: drop uiUnint(). This was really more for double-checking *my* work, mostly with regards to memory management, and we could probably do that in the test suite instead, or even with AddressSanitizer. 2019-04-21 20:59:36 -04:00
Pietro Gagliardi 2652772891 Wrapped the init example in a main() for maximum clarity. 2019-04-20 21:56:50 -04:00
Pietro Gagliardi 668a908e76 Fleshed out init-main.md some more. 2019-04-19 00:56:52 -04:00
Pietro Gagliardi 2f58c2059e Oops 2019-04-12 22:06:23 -04:00
Pietro Gagliardi 745f2da3b8 Forgot something 2019-04-12 22:05:21 -04:00
Pietro Gagliardi 541f9d892d More documentation of initialization. 2019-04-12 22:02:01 -04:00
Pietro Gagliardi 4c46a25154 Started re-adding the uiInit functions, with a new method of returning errors. 2019-04-12 21:44:39 -04:00