Commit Graph

685 Commits

Author SHA1 Message Date
Pietro Gagliardi 45a204744f Implemented menu deletion on window destruction on the GTK+ backend. 2015-04-30 12:36:50 -04:00
Pietro Gagliardi 9eede9d8ae Set up a framework for menu deletion on GTK+. 2015-04-30 12:05:18 -04:00
Pietro Gagliardi 62f4461c51 Added some more tests to Page 2: label alignment and menued and menuless windows are on the menu here. 2015-04-30 12:00:21 -04:00
Pietro Gagliardi 4c1b281b79 More TODOs. 2015-04-30 10:14:40 -04:00
Pietro Gagliardi 40d24ae626 Switch GTK+ control implementations from calling g_strdup() directly to strdupText() for orthogonality. 2015-04-30 10:12:33 -04:00
Pietro Gagliardi 63f1f7576e Fixed a dumb typo in windows/tab.c that prevented tab switching from working correctly on Windows. 2015-04-29 23:05:15 -04:00
Pietro Gagliardi 5e16d0a7d0 More TODOs. 2015-04-29 21:10:29 -04:00
Pietro Gagliardi 50dd298d37 Removed the old test program now that everything ha been reimplemented. 2015-04-29 21:09:49 -04:00
Pietro Gagliardi 6591d5e4cb Implemented the Move Page 1 Out part of the test. Move Page 1 Back will come with uiTabInsertPageBefore(). 2015-04-29 21:09:16 -04:00
Pietro Gagliardi 8f6b34feb0 Prepared test/page1.c for the Move Page 1 Out test. 2015-04-29 20:23:57 -04:00
Pietro Gagliardi d2c491dbd0 Readded the moving label test, which starts Page 2. 2015-04-29 20:15:29 -04:00
Pietro Gagliardi 0370f10031 Prepared the test program for re-adding Page 2. 2015-04-29 19:55:42 -04:00
Pietro Gagliardi 49e3e6a623 More TODOs. 2015-04-29 19:20:46 -04:00
Pietro Gagliardi a036632795 Re-connected Windows events. More TODOs. 2015-04-29 19:17:26 -04:00
Pietro Gagliardi 4c75b4fb3a More TODOs. 2015-04-29 14:30:15 -04:00
Pietro Gagliardi 8f79f0596f Set hidden flag variables BEFORE updating parent containers. Otherwise, parents won't reposition children correctly on systems where updates happen immediately (like OS X). 2015-04-29 14:25:34 -04:00
Pietro Gagliardi d7f903373f Fixed upside-down container issues on OS X. 2015-04-29 14:21:12 -04:00
Pietro Gagliardi 35548b912a Finished the Page 1 test by implementing the show/hide/enable/disable control tests. 2015-04-29 14:10:00 -04:00
Pietro Gagliardi 537c7e29cf Reimplemented the Spaced row of Page 1. 2015-04-29 14:03:17 -04:00
Pietro Gagliardi 932313cdc7 Reconnected Page 1's text test buttons. 2015-04-29 13:47:50 -04:00
Pietro Gagliardi 515b25c144 Started reintegrating the old Page 1 test into the new test. The UI is done. 2015-04-29 13:38:38 -04:00
Pietro Gagliardi 6c6bce3702 Moved everything back to the top level. 2015-04-29 11:02:38 -04:00
Pietro Gagliardi 0ca0dcaf2d Migrated the Windows basic controls. Rewrite in the new/ folder done! 2015-04-29 10:46:09 -04:00
Pietro Gagliardi b134967ab0 Fixed GTK+ control bugs in the previous commit. Basic controls work! 2015-04-29 10:40:50 -04:00
Pietro Gagliardi ff14f76bad Migrated the GTK+ basic controls back. It doesn't quite work... 2015-04-29 10:36:31 -04:00
Pietro Gagliardi ec7f461af1 Merged back the basic controls on Mac OS X. 2015-04-29 10:28:17 -04:00
Pietro Gagliardi 3249092061 Threw up very basic control tests in the test program. 2015-04-29 10:23:45 -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 1288624725 Fixed build errors. It works! 2015-04-29 10:17:49 -04:00
Pietro Gagliardi 9f59c0059c Migrated darwin/tab.m. Now to test... 2015-04-29 10:06:39 -04:00
Pietro Gagliardi 14d8a0e563 More TODOs. 2015-04-29 09:40:28 -04:00
Pietro Gagliardi f45e57494b Migrated darwin/newcontrol.m. 2015-04-29 09:38:20 -04:00
Pietro Gagliardi b2d739a636 Fixed initial uiWindow child size. Tabs work fine anyway! 2015-04-29 02:31:24 -04:00
Pietro Gagliardi 9a7ddf0e38 Fixed most of the control sizing issues on Windows. The only other problem is initial size of the uiWindow bin child... 2015-04-29 02:22:15 -04:00
Pietro Gagliardi 97e40161af Mostly migrated windows/tab.c. A few things aren't working right... Also fixed a bad bug in windows/container.c. 2015-04-29 01:53:39 -04:00
Pietro Gagliardi c7bbd1d374 Migrated windows/newcontrol.c. 2015-04-29 01:37:49 -04:00
Pietro Gagliardi 90bb60a435 Moved windows/newcontrol.c and windows/tab.c back. Totally not migrated yet. 2015-04-29 01:34:03 -04:00
Pietro Gagliardi e9557f2e17 More TODOs. 2015-04-29 01:28:03 -04:00
Pietro Gagliardi 9701daa95c Fixed bin destruction issues in the GTK+ uiTab. 2015-04-29 01:26:52 -04:00
Pietro Gagliardi 2637bf4e1f Reworked the test program to test tab deletion. It doesn't quite work... 2015-04-29 01:20:30 -04:00
Pietro Gagliardi ae66137d01 Reworked the GTK+ uiTab code to use a GArray of struct tabPages to store the tab page information. 2015-04-29 01:20:09 -04:00
Pietro Gagliardi ee998a973b More TODOs. 2015-04-29 01:09:27 -04:00
Pietro Gagliardi 390899f803 Added the GTK+ implementation of uiTab, for the most part I think. 2015-04-29 00:57:51 -04:00
Pietro Gagliardi ca1103e347 Set up tabs in the test program and renamed uiAddTab() to uiAppendTab(). 2015-04-28 21:47:18 -04:00
Pietro Gagliardi da2ad417a0 Fixed the same oversight as the previous commit on the Windows and OS X backends. Added comments to document the oversight. 2015-04-28 21:35:29 -04:00
Pietro Gagliardi 699cd12a19 Migrated unix/newcontrol.c back. Fixed an oversight in unix/container.c. 2015-04-28 21:30:38 -04:00
Pietro Gagliardi 2fdbacfd95 Fixed compile and runtime errors in the OS X menu code. It works! 2015-04-28 20:34:57 -04:00
Pietro Gagliardi 129733514a Re-enabled window creation on the test program. It works! 2015-04-28 17:48:56 -04:00
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