Commit Graph

190 Commits

Author SHA1 Message Date
Pietro Gagliardi 9f2796ebac Added uiEventFree(). Now to add it to the tests and see what AddressSanitizer says afterward. 2019-06-02 10:06:50 -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 bd84da7179 More implementation of uiEvent. Now we'll need to deal with memory allocation. 2019-05-16 12:27:04 -04:00
Pietro Gagliardi 55a7e3e56e Started implementing events. 2019-05-15 22:40:06 -04:00
Pietro Gagliardi 1a047da08c Fuck it, we're going with <stdbool.h>. I don't like it, but meh. 2019-05-12 13:41:43 -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 484989e925 Implemented uiInit() on macOS. The tests work so far! 2019-04-20 21:38:26 -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
Pietro Gagliardi db9be102e6 Properly defined uiprivExtern in static cases. 2019-04-12 10:56:09 -04:00
Pietro Gagliardi c9643ea5a6 Gutted the existing header files, started trimming things that remain in the backups, and renamed _UI_EXTERN and _UI_ENUM and the include guards and libui_EXPORTS to start with uipriv instead. 2019-04-08 20:55:06 -04:00
Pietro Gagliardi 2606235a74 And fixed the documentation and marked Alpha 4.1. 2018-09-01 19:14:30 -04:00
Pietro Gagliardi c552c4bcae More typo fixes. 2018-08-14 21:28:51 -04:00
Pietro Gagliardi 1692d5d465 Quick documentation fix. 2018-08-13 20:11:20 -04:00
Pietro Gagliardi 76edc665b7 More TODOs. 2018-08-11 19:38:49 -04:00
Pietro Gagliardi 1a8e5555da Updated the README and merged uitable.h into ui.h. Now to merge! 2018-08-08 09:24:22 -04:00
Pietro Gagliardi dee35216ac Added documentation for uiTableValue. Also added a @role to uiFreeAttribute(). 2018-08-06 20:03:57 -04:00
Pietro Gagliardi 9dad806693 Merge branch 'master' into table 2018-05-13 12:05:43 -04:00
cody271 9aba97714d uiDateTimePicker Add comments 2018-05-12 21:35:07 -07:00
cody271 bc14042935 Add uiDateTimePickerTime() APIs 2018-05-12 21:35:07 -07:00
Pietro Gagliardi 7b570a4026 Merge branch 'master' into table 2018-05-05 09:15:08 -04:00
Pietro Gagliardi 591b9c8772 And added to the README. Woo! (Also more TODOs.) 2018-04-18 21:11:23 -04:00
Pietro Gagliardi 83b04cda47 And added documentation nits and TODOs to the uiTimer() code. 2018-04-18 21:09:24 -04:00
Pietro Gagliardi ae2eea7975 Merge branch 'master' into table
Long-overdue sync.
2018-04-18 10:00:13 -04:00
cody271 27b8ce1db3 Add uiTimer() API and example 2018-04-16 17:28:12 -07:00
Pietro Gagliardi c402dcac30 And finally got rid of ui_attrstr.h (it's now all in ui.h) and updated the README. Time to FINALLY merge this back in! 2018-03-18 15:49:44 -04:00
Pietro Gagliardi 180b6429ef More documentation, const correctness, and TODO wrangling. 2017-06-19 22:00:46 -04:00
Pietro Gagliardi 3e20e4670c Made a decision on const correctness in uiOpenTypeFeatures. 2017-06-19 14:50:03 -04:00
Pietro Gagliardi e6ee2b0dbd Some TODO elminiation (for once). One TODO got reshuffled. 2017-06-18 20:10:42 -04:00
Pietro Gagliardi 8e8cc12105 Added uiForEach for canonicalizing foreach function returns and used it everywhere. 2017-06-06 12:47:07 -04:00
Pietro Gagliardi 49094bb340 Merged uiFontButton back in, with an updated API that works directly with uiDrawFontDescriptors. 2017-02-11 00:25:07 -05:00
Pietro Gagliardi 7bda3baee3 Fixed build errors. DOES IT WORK?!?!?!?!?!?!?!?! 2017-01-17 13:05:40 -05:00
Pietro Gagliardi 31274bcbd2 Started implementing the new attributed string system on OS X. 2017-01-02 23:53:31 -05:00
Pietro Gagliardi 30ca879c14 More API stuff. 2017-01-02 20:11:15 -05:00
Pietro Gagliardi 18b103c988 Fully reintegrated the table code. 2016-11-27 17:44:52 -05:00
Pietro Gagliardi e3dec183aa Started the process of splitting the table code into a separate branch. 2016-11-27 17:34:40 -05:00
Pietro Gagliardi 9d754bbf2a Implemented the new functions on Windows. Now to test. 2016-10-25 23:24:13 -04:00
Pietro Gagliardi 7abe97ec57 More TODOs. 2016-10-25 01:11:03 -04:00
Pietro Gagliardi 22caa5e502 Implemented the window drag stuff on GTK+. It works! 2016-10-25 00:34:12 -04:00
Pietro Gagliardi 67ff2fa855 Laid out the interface for user window drags. 2016-10-24 23:35:18 -04:00
Pietro Gagliardi 6d796b5642 More removal of uiWindow move events. 2016-10-22 18:11:49 -04:00
Pietro Gagliardi f46edd097b uiDrawTextWeightUtraBold. 2016-10-21 16:35:46 -04:00
Pietro Gagliardi 7995a4460c Got rid of uiDrawImage stuff. I need to decide if the drawing API should care about scaling or not. 2016-06-25 14:33:42 -04:00
Pietro Gagliardi da24b7154b Started the work toward adding images. 2016-06-25 11:22:55 -04:00
Pietro Gagliardi 80b8fddbea Started mapping out uiTable and uiTree. 2016-06-20 22:14:26 -04:00
Pietro Gagliardi 9656a81c77 Added uiNewVerticalSeparator(). 2016-06-17 11:02:17 -04:00
Pietro Gagliardi ae14542c9a Improved uiMainSteps(). 2016-06-17 09:22:31 -04:00
Pietro Gagliardi 798061f7f6 Merge pull request #144 from ProtonMail/progress-bar
Improves progress bar
2016-06-16 16:44:42 -04:00
Pietro Gagliardi d4492c06a9 Changed the uiMainSteps() API as the GTK+ port will need it to be done this way... 2016-06-16 13:49:50 -04:00
Pietro Gagliardi da4b396aaf Added uiMainSteps(), which sets things up to use uiMainStep() for the main loop. Implemented on OS X. 2016-06-16 13:45:24 -04:00