Commit Graph

637 Commits

Author SHA1 Message Date
Pietro Gagliardi 287b301282 Added darwin/window.m. Now just to make a few more minor changes before we can test. 2015-04-28 17:47:06 -04:00
Pietro Gagliardi 1040873d62 Added OS X bin.m. 2015-04-28 16:38:33 -04:00
Pietro Gagliardi 7b0a3e8292 Added darwin/container.m. 2015-04-28 16:33:16 -04:00
Pietro Gagliardi be7b60149f More TODOs. 2015-04-28 14:51:23 -04:00
Pietro Gagliardi 0e16aa4d7c Fixed build system for OS X builds. 2015-04-28 14:46:09 -04:00
Pietro Gagliardi 440949a60a Fixed some other issues with builds. The Makefile will need tweaking... 2015-04-28 14:40:51 -04:00
Pietro Gagliardi 9b191999bf Disabled the test program for now while we test OS X menus. 2015-04-28 14:18:03 -04:00
Pietro Gagliardi 855bca9b0c Started the stub menu code. 2015-04-28 14:17:28 -04:00
Pietro Gagliardi b7272f680f More TODOs. 2015-04-28 13:55:32 -04:00
Pietro Gagliardi 7c91616af1 More old code file removal. 2015-04-28 13:53:45 -04:00
Pietro Gagliardi cd983b255d Removed the old docs/ folder. Virtually all of it no longer applies. If I do decide to have control images in the documentation, the border size should be 2 pixels. 2015-04-28 13:52:03 -04:00
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