Commit Graph

16 Commits

Author SHA1 Message Date
Pietro Gagliardi 159337df73 Did the GTK+ conversion to uiParent. Now to build. 2015-04-13 12:05:14 -04:00
Pietro Gagliardi efca31420b Fixed a major flaw in the GTK+ implementation I only realized now: by calling gtk_widget_show_all() in uiWindowShow(), we override the user's explicit hide settings! Fix it by calling gtk_widget_show() there (to only show the window), and gtk_widget_show_all() in both the new control constructor (to show the new control initially) and in the container constructor (to show that initially too). 2015-04-12 00:59:32 -04:00
Pietro Gagliardi b982e69fb7 More TODO resolution and some GTK+ uiWindow inconsistency (and future repeated-event bug waiting to happen) cleanup. 2015-04-10 21:48:50 -04:00
Pietro Gagliardi 759feeb7a1 Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi 85eb453416 Removed direct vtable calls from uiControl. 2015-04-09 19:17:23 -04:00
Pietro Gagliardi af6eb09bca Implemented uiWindowSetMargined() on GTK+. 2015-04-09 15:18:18 -04:00
Pietro Gagliardi b6bd0c1c26 Implemented the text routines on the GTK+ backend. They work! 2015-04-09 02:56:51 -04:00
Pietro Gagliardi fc8f9c6719 Cleaned up memory leaks in the GTK+ backend. 2015-04-08 01:16:22 -04:00
Pietro Gagliardi f3e7227739 Decided to remove the logging for now. Will inject it right into the allocation system later. 2015-04-07 22:58:06 -04:00
Pietro Gagliardi a039e12d8a More allocation logging. I wonder if I can just log directly in the allocators themselves... 2015-04-07 22:54:21 -04:00
Pietro Gagliardi bb10227642 Started working on code to monitor creation and deletion of UI objects correctly. 2015-04-07 22:46:15 -04:00
Pietro Gagliardi 3b1e5148d9 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -04:00
Pietro Gagliardi ce232fdc7e Tied everything together. Now to fix build issues. 2015-04-07 13:22:46 -04:00
Pietro Gagliardi 9298bc9e37 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00
Pietro Gagliardi 683d46cdf8 Renamed some files. More TODOs. 2015-04-06 12:26:17 -04:00
Pietro Gagliardi fc19f776c4 Started doing the C rewrite. Defined the basic initialization and main loop and window API and implemented them on GTK+. 2015-04-06 12:20:51 -04:00