Pietro Gagliardi
|
95d8ec0fa8
|
More stack.c fixes. There's an issue with idl2h...
|
2015-04-15 22:36:28 -04:00 |
Pietro Gagliardi
|
4bf3cf4670
|
Converted stack.c.
|
2015-04-15 22:34:22 -04:00 |
Pietro Gagliardi
|
eb62b8e32b
|
Changed uiStackAdd() to uiStackAppend() and uiStackRemove() to uiStackDelete(); this will be the naming system other containers will follow.
|
2015-04-14 19:37:41 -04:00 |
Pietro Gagliardi
|
e9920c70c0
|
Fixed moving label on Windows.
|
2015-04-14 12:47:58 -04:00 |
Pietro Gagliardi
|
300e28be55
|
TODO refinement.
|
2015-04-14 12:36:39 -04:00 |
Pietro Gagliardi
|
8fdb9da92b
|
More TODOs.
|
2015-04-14 10:44:00 -04:00 |
Pietro Gagliardi
|
bbc170ac49
|
Fixed a small bug in stack.c. Unrelated to the previous commit; that one is that the uiParentUpdate() isn't updating...?
|
2015-04-14 10:35:52 -04:00 |
Pietro Gagliardi
|
6185187506
|
More uiParent work. Something I did broke stack removal...
|
2015-04-14 10:20:07 -04:00 |
Pietro Gagliardi
|
689e9c7101
|
More TODOs.
|
2015-04-14 09:46:24 -04:00 |
Pietro Gagliardi
|
2c5c9e82f5
|
More TODOs.
|
2015-04-13 19:23:34 -04:00 |
Pietro Gagliardi
|
e3bb32f608
|
Fixed some code in stack.c.
|
2015-04-13 14:05:07 -04:00 |
Pietro Gagliardi
|
0304df4d4e
|
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
|
dcf581eb14
|
Some more uiParent migration.
|
2015-04-12 20:08:32 -04:00 |
Pietro Gagliardi
|
7d6f31351d
|
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
|
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 |