Commit Graph

17 Commits

Author SHA1 Message Date
Pietro Gagliardi 1ed1eb8dec Removed a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't... 2015-04-11 17:26:48 -04:00
Pietro Gagliardi a0033784b7 Okay I have no fucking idea what's going on 2015-04-11 17:23:36 -04:00
Pietro Gagliardi 9ea35db265 Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works! 2015-04-11 14:44:40 -04:00
Pietro Gagliardi 0430ca9102 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 d14716c4d3 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 22e11ca8f3 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 a7281f9034 Added uiStackPadded(). 2015-04-09 20:04:18 -04:00
Pietro Gagliardi 10ea719dc8 Removed direct vtable calls from uiControl. 2015-04-09 19:17:23 -04:00
Pietro Gagliardi 46afda5dce Migrated stack.c to the new uiControl. 2015-04-09 16:57:55 -04:00
Pietro Gagliardi 92b43720b6 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 3f05be544c Implemented padding in uiStack. 2015-04-09 15:59:40 -04:00
Pietro Gagliardi 06c2bb7c25 Fixed initial (and future) window redraw issues on Windows. 2015-04-08 18:04:46 -04:00
Pietro Gagliardi 54e947eed3 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 66788e6edb Implemented the memory logging. 2015-04-07 23:40:18 -04:00
Pietro Gagliardi c4fa92e18f Decided to remove containerShow() and containerHide() for now. 2015-04-07 21:05:47 -04:00
Pietro Gagliardi ec332870c2 Fixed compilation errors. 2015-04-07 19:08:39 -04:00
Pietro Gagliardi 03d94db0fd Added uiStack. Not yet tested; need to do a few things first. 2015-04-07 18:53:09 -04:00