Commit Graph

457 Commits

Author SHA1 Message Date
Pietro Gagliardi d8624c87c9 InsertBefore -> InsertAt. 2015-05-18 10:32:08 -04:00
Pietro Gagliardi d893102106 Important change: ptrArrayAppend() is now implemented in terms of ptrArrayInsertBefore(). ptrArrayInsertBefore() can safely insert at the first invalid index; ValleyBell helped ensure this. tabAppend() will also be implemented this way; boxAppend() might be if uiBoxInsertBefore() becomes a thing. We can rename InsertBefore() to InsertAt() now too. 2015-05-18 10:24:51 -04:00
Pietro Gagliardi ef794a6db5 Dropped Page from uiTab method names. This keeps things consistent and allows us to do a more important change: InsertBefore -> InsertAt. 2015-05-18 10:20:11 -04:00
Pietro Gagliardi 2a5cdb6662 Re-enabled events on Windows. 2015-05-18 09:52:37 -04:00
Pietro Gagliardi bf6357ef86 "Fixed" the buttons not showing up properly. 2015-05-18 09:49:14 -04:00
Pietro Gagliardi 7c5459ff01 Windows resize work. 2015-05-17 21:15:39 -04:00
Pietro Gagliardi f5f38d1fa5 Began working on reworking the resizing code AGAIN. 2015-05-17 20:48:55 -04:00
Pietro Gagliardi ad2c432c4a Fixed duplication of types. 2015-05-17 20:04:19 -04:00
Pietro Gagliardi 0019681b02 Fixed some errors in type.c. Now to see why uiControl is being registered twice... 2015-05-17 19:19:51 -04:00
Pietro Gagliardi 97cb70527e Finished the type system. 2015-05-17 19:07:07 -04:00
Pietro Gagliardi 69e27488f7 Made complain() break into the debugger on Windows because abort() is eaten up and seen as successful termination. 2015-05-17 18:53:49 -04:00
Pietro Gagliardi bec0cdce84 More type stuff. Almost working. 2015-05-17 18:53:06 -04:00
Pietro Gagliardi 1307bbdfcc More dynamic typing work. 2015-05-17 18:33:18 -04:00
Pietro Gagliardi efe5b952cf Started a dynamic type checking system. 2015-05-17 18:07:48 -04:00
Pietro Gagliardi 9b2b351c92 Added a new API for more roubst resizing. GTK+ resizes the whole window when a resize is requested; we have to as well, otherwise we won't have correct results. 2015-05-17 15:42:49 -04:00
Pietro Gagliardi f3ef834dc3 Moved the Windows uiTab, the Windows uiGroup, and the test tab out of the way while we debug why things only look bad on wine. 2015-05-17 13:01:42 -04:00
Pietro Gagliardi ceda3882a8 Moved the old uiTab and uiGroup back now that that memory clobbering error is done. Not quite clean... 2015-05-16 22:57:41 -04:00
Pietro Gagliardi 954e60ceaf Fixed a dumb error in windows/alloc.c. 2015-05-16 22:54:43 -04:00
Pietro Gagliardi b66de79fec Fixed another small error in windows/tab.c. 2015-05-16 20:33:20 -04:00
Pietro Gagliardi 4667dde5e6 Added a new dummy windows/group.c. 2015-05-16 20:31:56 -04:00
Pietro Gagliardi 70b4c72c96 Started a new, bare-bones windows/tab.c for testing. 2015-05-16 20:28:35 -04:00
Pietro Gagliardi 92f1933e82 Some windows/resize.c work and TODOs. 2015-05-16 20:06:03 -04:00
Pietro Gagliardi 4c3166ab48 Moved uiTab and uiGroup out of the way for now on Windows. 2015-05-16 20:02:06 -04:00
Pietro Gagliardi 05530cafe8 Fixed assorted errors. Now to figure out why we're running out of memory... 2015-05-16 11:55:03 -04:00
Pietro Gagliardi 68586e1eaf Fixed ui.h shenanigans in the makefile. 2015-05-16 11:39:18 -04:00
Pietro Gagliardi cf31df5c2b Fixed build errors to some extent. 2015-05-16 11:37:45 -04:00
Pietro Gagliardi d5a87a0be5 More compiler error fixes and TODOs. 2015-05-16 01:55:34 -04:00
Pietro Gagliardi 5f92f8a78b More TODOs. 2015-05-16 01:46:23 -04:00
Pietro Gagliardi 65cc67e0e1 Fixed some build errors. 2015-05-16 01:45:20 -04:00
Pietro Gagliardi f5824d74e9 Fixed up windows/container.c. 2015-05-16 00:48:36 -04:00
Pietro Gagliardi 7bc1986a08 Migrated box.c. 2015-05-16 00:44:24 -04:00
Pietro Gagliardi cf2dc096b7 More migration. 2015-05-15 21:21:36 -04:00
Pietro Gagliardi 9f67e630f2 Fixed up the Makefile. Need to think about this sizing stuff... d must always be of the parent, so a GetSizing() must precede all Resize() calls. 2015-05-15 21:12:54 -04:00
Pietro Gagliardi 53b558d16c Migrated init.c, I think... 2015-05-15 21:11:28 -04:00
Pietro Gagliardi 721d58d4b9 Brought init.c, text.c, and util.c back on Windows. Migrated util.c; still need to do init.c. 2015-05-15 21:09:13 -04:00
Pietro Gagliardi 8594646e45 Migrated windows/group.c. Also forgot a line in windows/tab.c. 2015-05-15 21:06:52 -04:00
Pietro Gagliardi ab4c534360 Migrated windows/tab.c. 2015-05-15 18:54:13 -04:00
Pietro Gagliardi 7ea67007fc Re-added uiControlContainerShow() and uiControlContainerHide(). This is needed on Windows for uiTab. 2015-05-15 18:34:17 -04:00
Pietro Gagliardi 883db84eaf Some uipriv_windows.h cleanup. 2015-05-15 16:19:21 -04:00
Pietro Gagliardi 7d0f250ba7 More migration of files that don't need changes. 2015-05-15 16:17:28 -04:00
Pietro Gagliardi bc9b995c4c Moved the basic controls back to the new Windows backend. More file clearout. 2015-05-15 16:14:22 -04:00
Pietro Gagliardi f380912665 Added sizing information acquisition to the new Windows backend; started clearing out the old windows/container.c. 2015-05-15 16:04:10 -04:00
Pietro Gagliardi b49bfbca6c Forgot windowQueueResize() in previous commit. 2015-05-15 15:43:11 -04:00
Pietro Gagliardi 07a3df6dd8 Finished migrating windows/window.c. 2015-05-15 15:39:45 -04:00
Pietro Gagliardi b1e1fed484 Removed some uses of initialParent. 2015-05-14 22:33:19 -04:00
Pietro Gagliardi b891871c4e Started migrating windows/window.c back. 2015-05-14 20:40:41 -04:00
Pietro Gagliardi cf727b07de Migrated windows/newcontrol.c back, mostly. Also decided what to do about comctl32.dll. 2015-05-14 19:28:30 -04:00
Pietro Gagliardi 34d9203712 Allowed passing lpParam to CreateWindowEx() in ui_windows.h. 2015-05-14 18:28:23 -04:00
Pietro Gagliardi 660377934b Added an initial windows/container.c. 2015-05-14 13:42:28 -04:00
Pietro Gagliardi 9c347fe57e Added code which handles stuff for OS parents on Windows. 2015-05-14 12:49:22 -04:00
Pietro Gagliardi 2f657576ac Wrote code for a new utility window in the Windows backend to replace the initialParent. 2015-05-14 11:19:52 -04:00
Pietro Gagliardi 4135de98f6 Added windows/resize.c to uipriv_windows.h. 2015-05-14 10:28:50 -04:00
Pietro Gagliardi c93a502153 Wrote windows/resize.c, which is the code that runs every so often to do a resize (instead of doing them immediately). 2015-05-14 10:08:49 -04:00
Pietro Gagliardi d2b9b1e38c Moved the base .c files out of the way for now. 2015-05-14 09:44:11 -04:00
Pietro Gagliardi 06cad86f55 More rewriting imports. Also moved ui.h to out/. 2015-05-14 09:43:52 -04:00
Pietro Gagliardi b98de32786 More ui.idl stuff. 2015-05-13 22:35:31 -04:00
Pietro Gagliardi 83b2aa7265 Started a redo of the library AGAIN for optimizing resizes. Bins will have to go and any widget can be a container. 2015-05-13 22:28:21 -04:00