Commit Graph

33 Commits

Author SHA1 Message Date
Pietro Gagliardi 24d63adb51 Migrated the Windows backend to the new bin. 2015-05-10 12:48:11 -04:00
Pietro Gagliardi a2cf4908a3 Started cleaning up bin handling. uiBin is now a real type and all of the things you need to do to a bin are its methods. 2015-05-10 12:36:14 -04:00
Pietro Gagliardi c395cdd2fd Added uiOnShouldQuit() and its common code. 2015-05-09 09:50:23 -04:00
Pietro Gagliardi 5cf19dcc17 Added the type names back to the allocators. Implemented on GTK+ only for now. 2015-05-08 10:24:03 -04:00
Pietro Gagliardi b13d1ebd2c Fixed up ptrarray.c. Thanks to ValleyBell for help. 2015-05-06 13:11:51 -04:00
Pietro Gagliardi 526e9b81ea Fixed bin destruction handling on the Windows backend. 2015-05-06 00:52:24 -04:00
Pietro Gagliardi bc2e6d134b Started working on a pointer array implementation. This also means we'll need the C standard library for memcpy()/memmove(), so drop the DisableThreadLibraryCalls() TODO. 2015-05-05 22:55:02 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi c8695e4ca2 Decided to remove allocation logging. Leak checking can be done with dedicated tools. 2015-04-30 13:37:13 -04:00
Pietro Gagliardi 127f025eee Decided not to bother with destruction blocking for now. 2015-04-30 13:30:00 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 4c280ca42c Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program. 2015-04-29 10:20:25 -04:00
Pietro Gagliardi 8dcdbd0878 Started the work to settle lifetime issues on the Windows backend. 2015-04-18 14:06:12 -04:00
Pietro Gagliardi f7b3e06147 Some more uiParent migration. 2015-04-12 20:08:32 -04:00
Pietro Gagliardi 4e03a117da Changed the allocation logging from a compile-time setting to the first initialization option. 2015-04-09 22:38:11 -04:00
Pietro Gagliardi 6d600f08cd Big change time: decided to stop playing around with hiding and made both uiControl and uiSizing public. Also restructured uiSizing to make system-dependent data in another structure. 2015-04-09 16:37:04 -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 ec95a4a2dd Laid the foundation for padding. 2015-04-09 15:25:18 -04:00
Pietro Gagliardi b9c38ebd20 More TODO resolution. 2015-04-08 20:14:10 -04:00
Pietro Gagliardi 2e9ff88561 Fixed initial (and future) window redraw issues on Windows. 2015-04-08 18:04:46 -04:00
Pietro Gagliardi dfcbc83ec9 Removed a stale TODO. 2015-04-08 16:35:03 -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 f3e7227739 Decided to remove the logging for now. Will inject it right into the allocation system later. 2015-04-07 22:58:06 -04:00
Pietro Gagliardi a039e12d8a More allocation logging. I wonder if I can just log directly in the allocators themselves... 2015-04-07 22:54:21 -04:00
Pietro Gagliardi 1375b3f21f More TODO cleanup. 2015-04-07 22:48:02 -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 3b1e5148d9 Unified the allocators across all platforms so that everyone uses uiAlloc() and friends. 2015-04-07 19:04:09 -04:00
Pietro Gagliardi 20061b8e78 Decided to start with the parenting stuff now. 2015-04-07 00:23:01 -04:00
Pietro Gagliardi 2c680dfa75 Started writing code for handling single-HWND controls on Windows. Similar code will exist for single-GtkWidget controls on GTK+ and single-NSView controls on Cocoa. 2015-04-06 22:26:53 -04:00
Pietro Gagliardi 58da9ce2bd Started working on uiControl. 2015-04-06 21:53:31 -04:00