Pietro Gagliardi
|
79f0650fee
|
Added uiStackRemove(), the first removal function in package ui! That took long enough... Now I can piece together all the control and parent logic...
|
2015-04-13 13:43:29 -04:00 |
Pietro Gagliardi
|
f7b3e06147
|
Some more uiParent migration.
|
2015-04-12 20:08:32 -04:00 |
Pietro Gagliardi
|
e18e535476
|
Fixed the stupid 32-bit bug I did that fucking malloc pointer to struct instead of array of struct thing I always do again jesus fucking christ shit
|
2015-04-11 19:34:38 -04:00 |
Pietro Gagliardi
|
10045e25f4
|
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
|
18cff13678
|
Okay I have no fucking idea what's going on
|
2015-04-11 17:23:36 -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
|
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 |