Commit Graph

16 Commits

Author SHA1 Message Date
Pietro Gagliardi 19b85182b8 Did the GTK+ conversion to uiParent. Now to build. 2015-04-13 12:05:14 -04:00
Pietro Gagliardi 8f6acdc8da 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 47c89f6aef 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 d9315e6d8f Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi 10ea719dc8 Removed direct vtable calls from uiControl. 2015-04-09 19:17:23 -04:00
Pietro Gagliardi d146167321 Implemented uiWindowSetMargined() on GTK+. 2015-04-09 15:18:18 -04:00
Pietro Gagliardi 723f2af8c6 Implemented the text routines on the GTK+ backend. They work! 2015-04-09 02:56:51 -04:00
Pietro Gagliardi d37bc67158 Cleaned up memory leaks in the GTK+ backend. 2015-04-08 01:16:22 -04:00
Pietro Gagliardi 49ee58ca36 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 3fc36ec582 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 1e263930eb Started working on code to monitor creation and deletion of UI objects correctly. 2015-04-07 22:46:15 -04:00
Pietro Gagliardi 7b1dfbf1d6 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -04:00
Pietro Gagliardi 5b929084f8 Tied everything together. Now to fix build issues. 2015-04-07 13:22:46 -04:00
Pietro Gagliardi 1d76d53593 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00
Pietro Gagliardi 95440a3be1 Renamed some files. More TODOs. 2015-04-06 12:26:17 -04:00
Pietro Gagliardi ee1653f542 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