Commit Graph

15 Commits

Author SHA1 Message Date
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 901e1cffd6 Renamed some variables in stack.c and added some exposition to make the code make slightly more sense. 2015-04-11 13:51:37 -04:00
Pietro Gagliardi 1b815d9e4f Cleaned up uiStack's data structures to use the stackControl structure instead of four memory blocks for the control-specific parameters. 2015-04-11 13:45:59 -04:00
Pietro Gagliardi 5c2ead2fea Added uiStackPadded(). 2015-04-09 20:04:18 -04:00
Pietro Gagliardi 85eb453416 Removed direct vtable calls from uiControl. 2015-04-09 19:17:23 -04:00
Pietro Gagliardi 8c469b7b22 Migrated stack.c to the new uiControl. 2015-04-09 16:57:55 -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 1575a0dc7c Implemented padding in uiStack. 2015-04-09 15:59:40 -04:00
Pietro Gagliardi 2e9ff88561 Fixed initial (and future) window redraw issues on Windows. 2015-04-08 18:04:46 -04:00
Pietro Gagliardi df4c5f270c Started work on ensuring things get cleaned up. Added a destroy() method to uiControl and implemented most of the work for Windows. 2015-04-08 00:43:35 -04:00
Pietro Gagliardi cdd37793c0 Implemented the memory logging. 2015-04-07 23:40:18 -04:00
Pietro Gagliardi 5be4572302 Decided to remove containerShow() and containerHide() for now. 2015-04-07 21:05:47 -04:00
Pietro Gagliardi a63ed525c9 Fixed compilation errors. 2015-04-07 19:08:39 -04:00
Pietro Gagliardi 6370c7d063 Added uiStack. Not yet tested; need to do a few things first. 2015-04-07 18:53:09 -04:00