Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi a79e2bc4cd More of the last few commits, now on the GTK+ backend. THAT ONE WORKS... 2015-04-14 12:41:25 -04:00
Pietro Gagliardi c8ac8a6fea Fixed issues in the GTK+ uiParent change. 2015-04-13 12:12:17 -04:00
Pietro Gagliardi 159337df73 Did the GTK+ conversion to uiParent. Now to build. 2015-04-13 12:05:14 -04:00
Pietro Gagliardi f7b3e06147 Some more uiParent migration. 2015-04-12 20:08:32 -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 5c567d920d Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works! 2015-04-11 14:44:40 -04:00
Pietro Gagliardi 6d8a811e35 Implemented making invisible children of uiStacks not count when drawing or calculating preferred size. Need to implement the new methods on uiStack itself before we can test. 2015-04-11 14:30:07 -04:00
Pietro Gagliardi 9c872df89f Implemented showing, hiding, enabling, and disabling for GTK+ controls. 2015-04-11 14:21:58 -04:00
Pietro Gagliardi 022a3ae20e Migrated the GTK+ backend to the new uiControl/uiSizing system. 2015-04-09 18:17:04 -04:00
Pietro Gagliardi b60ff74a9e Decided to split control removal from parent into its own method removeParent() rather than automatically doing it in setParent(). 2015-04-09 16:21:09 -04:00
Pietro Gagliardi f470768a8e Implemented the parent updating logic on GTK+. 2015-04-08 18:58:59 -04:00
Pietro Gagliardi 45d3072672 Decided not to turn new control scrolling parameters into a bitfield. 2015-04-08 16:27:45 -04:00
Pietro Gagliardi 3134440f3d Removed the need for specifying if a GTK+ widget needs to be in a GtkViewport for it to be scrollable; the new control code finds out itself now in the same way newer versions of GTK+ do. 2015-04-08 16:24:11 -04:00
Pietro Gagliardi fc8f9c6719 Cleaned up memory leaks in the GTK+ backend. 2015-04-08 01:16:22 -04:00
Pietro Gagliardi 5be4572302 Decided to remove containerShow() and containerHide() for now. 2015-04-07 21:05:47 -04:00
Pietro Gagliardi a6f175767e Changed the GTK+ new control system from using g_object_newv() to using g_object_new_valist() due to weird crashes. 2015-04-07 19:47:44 -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 880f052282 Fixed compilation issues. Now to implement uiButton on GTK+. 2015-04-07 13:37:03 -04:00
Pietro Gagliardi 4b13f93dbe Added the new native control code to the GTK+ backend. Fixed some missing statics in the Windows one too. 2015-04-07 12:17:05 -04:00