Commit Graph

926 Commits

Author SHA1 Message Date
Pietro Gagliardi bf401201f9 Removed a whole bunch of files from the old source tree. 2015-04-28 13:51:13 -04:00
Pietro Gagliardi ca487ad18d Did a flat import of OS X files for now. Need to really clean this up. 2015-04-28 13:49:20 -04:00
Pietro Gagliardi 123db608cd Removed dilemma.md. If we really need it, we can call it back from git. 2015-04-28 13:43:27 -04:00
Pietro Gagliardi 23cf870e01 Fixed uiNewWindow() parameters not being honored on the GTK+ backend. 2015-04-28 13:17:36 -04:00
Pietro Gagliardi c32a50e63c Fixed runtime errors. Unix backend migrated! 2015-04-28 13:09:49 -04:00
Pietro Gagliardi cdd310fa7d Fixed build issues. Now to fix runtime issues. 2015-04-28 13:06:53 -04:00
Pietro Gagliardi 53914cc6cd Migrated unix/window.c. Now to test! 2015-04-28 12:58:51 -04:00
Pietro Gagliardi 05d7f11eed Updated unix/GNUmakeinc.mk. 2015-04-28 12:28:17 -04:00
Pietro Gagliardi e647e7808c Removed unix/OLDcontainer.c (that's done) and moved unix/window.c out of the way for a rewrite. 2015-04-28 12:25:39 -04:00
Pietro Gagliardi 0f32baa5f7 Wrote bin on the GTK+ backend. 2015-04-28 12:15:29 -04:00
Pietro Gagliardi 1e2dee7ab3 Fixed some missing pieces in unix/container.c. 2015-04-28 12:07:07 -04:00
Pietro Gagliardi fbe7324c15 Started migrating the GTK+ backend. Built uiContainer. 2015-04-28 11:49:53 -04:00
Pietro Gagliardi 37dacc0ec9 Updated the test program. It works! Now to make the same migration for the GTK+ backend, and then to write the new OS X backend. Then we get to tabs, then the basic controls. 2015-04-27 22:27:50 -04:00
Pietro Gagliardi 344bae4ca4 Fixed the other build errors and warnings. Removed lifetimes.c. 2015-04-27 22:25:27 -04:00
Pietro Gagliardi a3d89b614c Fixed many (but not all) build errors and warnings. 2015-04-27 22:17:15 -04:00
Pietro Gagliardi 5e5415df00 Finished with windows/window.c migration. Let's try this thing! 2015-04-27 22:06:13 -04:00
Pietro Gagliardi 71d368876a More uiWindow and bin work. 2015-04-27 20:23:52 -04:00
Pietro Gagliardi ae8bb69385 More uiWindow work. 2015-04-27 20:02:33 -04:00
Pietro Gagliardi 4f99fdd90f Started working on the new uiWindow. 2015-04-27 18:04:41 -04:00
Pietro Gagliardi 28a632c5b6 Wrote up a Bin for the Windows backend. Minor changes in uiBox too. 2015-04-27 11:50:22 -04:00
Pietro Gagliardi 36789edde5 More uiContainer work on Windows. This might actually do it for that file for now! 2015-04-27 10:41:48 -04:00
Pietro Gagliardi 81a526017a Revert "Decided to remove uiControlVisible(). No idea why I had it there in the first place; if it was for testing then the actual tests do a good enough job of that."
Oh right I needed it for uiBox.

This reverts commit 9de44c1346.
2015-04-27 10:39:21 -04:00
Pietro Gagliardi 9de44c1346 Decided to remove uiControlVisible(). No idea why I had it there in the first place; if it was for testing then the actual tests do a good enough job of that. 2015-04-27 10:38:10 -04:00
Pietro Gagliardi 68b801fa92 More container work on Windows. 2015-04-27 10:37:37 -04:00
Pietro Gagliardi 14a720fb7c More Windows uiContainer work. 2015-04-27 01:27:07 -04:00
Pietro Gagliardi 85fd178057 More ui.idl work. 2015-04-27 01:08:29 -04:00
Pietro Gagliardi 7b8964d87d More Windows uiContainer work. 2015-04-27 01:07:46 -04:00
Pietro Gagliardi 664d6d7dd0 I realized that overriding uiControlResize() isn't going to work because we need to be able to call that directly AND have that called by the container widget implementation. Therefore, added uiContainerResizeChildren(). 2015-04-27 00:57:44 -04:00
Pietro Gagliardi 3907efcc2f Fixed destruction order in box.c. 2015-04-26 23:41:18 -04:00
Pietro Gagliardi 45ec5f4125 Removed code from windows/OLDcontainer.c that was migrated to windows/container.c. 2015-04-26 23:38:04 -04:00
Pietro Gagliardi cf916f0681 Started writing new container code. I still have no idea what I'm doing! 2015-04-26 23:33:08 -04:00
Pietro Gagliardi 1ab8684799 Changed box.c so that children are adde to the uiBox's uiContainer, not the parent's. 2015-04-26 23:12:38 -04:00
Pietro Gagliardi 54f16419ea Started implementing the changes in dilemma.md. Migrated box.c; did most of ui.idl as well. 2015-04-26 23:01:00 -04:00
Pietro Gagliardi 2ef8e4b912 More dilemma planning and TODOs.... 2015-04-26 19:48:12 -04:00
Pietro Gagliardi b50719fae1 More dilemma stuff. 2015-04-26 11:39:25 -04:00
Pietro Gagliardi f30cc471a6 Added a dilemma document which explains what I've been struggling with. 2015-04-26 11:34:28 -04:00
Pietro Gagliardi 8a10f90336 Added a lifeline to keep my sanity about lifetimes. Not sure if this will stay or not... 2015-04-25 18:33:36 -04:00
Pietro Gagliardi 335bfe8b1a Revert "Nuked uiParent/uiOSContainer, replacing it with the older uintptr_t/Update() method. I'm not sure if I'm happy with *this* design either... I really have no idea what's clean or elegant here ^^' Fixed initial title/size setting not taking effect on the GTK+ Window bckend."
I have no idea what I'm doing or thinking but the other way makes things harder on Windows...

This reverts commit 9e18ee03e6.
2015-04-25 18:28:49 -04:00
Pietro Gagliardi 9e18ee03e6 Nuked uiParent/uiOSContainer, replacing it with the older uintptr_t/Update() method. I'm not sure if I'm happy with *this* design either... I really have no idea what's clean or elegant here ^^' Fixed initial title/size setting not taking effect on the GTK+ Window bckend. 2015-04-25 13:00:11 -04:00
Pietro Gagliardi d0e213fb04 More TODOs. 2015-04-24 15:59:38 -04:00
Pietro Gagliardi 333d610b0e Hooked up menu events on Windows. We're done! 2015-04-24 15:54:37 -04:00
Pietro Gagliardi 7a1634a387 Made menu IDs on Windows global across all menus. This is what we actually intended... 2015-04-24 15:45:58 -04:00
Pietro Gagliardi 88bbdc4805 Wrote up the actual HMENU creation code on Windows. That just leaves the event handling. 2015-04-24 15:44:29 -04:00
Pietro Gagliardi d28d5c8d3e More TODOs. 2015-04-24 15:29:57 -04:00
Pietro Gagliardi a80f1936f8 Wrote the code that builds menu data structures. That just leaves the code to create the menus in the windows themselves. 2015-04-24 15:26:37 -04:00
Pietro Gagliardi 962b71d773 Added a stub menu creation function (for linking), turned off test program menu generation temporarily, and fixed another Windows build issue. 2015-04-24 14:16:37 -04:00
Pietro Gagliardi c97f95ef10 Fixed some Windows Makefile issues. 2015-04-24 14:11:23 -04:00
Pietro Gagliardi c42b9399cd More Windows stuff. Ugh this is what I was trying to AVOID but oh well 2015-04-24 14:09:48 -04:00
Pietro Gagliardi 3ea84f9bf5 More Windows work. This will just be a flat import for now. I really want to figure something out about uiOSContainers... 2015-04-24 13:59:49 -04:00
Pietro Gagliardi e8adc2a969 More TODOs. 2015-04-23 23:37:27 -04:00