Commit Graph

133 Commits

Author SHA1 Message Date
Pietro Gagliardi 03cf0845ef Quick adjustment to the test program to handle a case I didn't think of until now (our uiUninit() unintentionally quitting the program; who knows what releasing NSApp will do?). 2015-05-09 13:29:39 -04:00
Pietro Gagliardi 5ef355f28f Implemented the ShouldQuit() stuff for the Quit menu item on the GTK+ backend. 2015-05-09 10:50:03 -04:00
Pietro Gagliardi 2b83300e0b Implemented the quitting logic on OS X. Now I can get rid of darwin/main.m and move darwin/init.m in its place. 2015-05-09 10:18:19 -04:00
Pietro Gagliardi 4e9fa46aec Added a test for uiOnShouldQuit(). 2015-05-09 10:12:02 -04:00
Pietro Gagliardi 560850dbb9 Added a uiUninit() function. 2015-05-07 22:28:18 -04:00
Pietro Gagliardi 3872b9777a Added a page to the test program tab for testing uiBox padding and hidden control interaction, which is currently incorrect. 2015-05-07 17:13:16 -04:00
Pietro Gagliardi d6aeb3c0a7 Added a test for controls that aren't initially visible. More TODOs. 2015-05-07 16:33:33 -04:00
Pietro Gagliardi 6a1661fd91 Implemented read-only uiEntries on Windows. 2015-05-06 22:21:11 -04:00
Pietro Gagliardi 372cbf044d Added uiEntryReadOnly() and uiEntrySetReadOnly(). 2015-05-06 22:09:10 -04:00
Pietro Gagliardi fba7450da3 Added uiEntryOnChanged() and added it to the test program. This will be necessary for testing readonly entries. 2015-05-06 19:54:42 -04:00
Pietro Gagliardi ab3fea8cd7 Added a blank page to the test program to test tab navigation on Windows and also as an extra background drawing check. 2015-05-06 16:00:49 -04:00
Pietro Gagliardi d247e76866 Implemented uiTabInsertPageBefore() on Windows. 2015-05-06 14:09:20 -04:00
Pietro Gagliardi 84114f4913 Added uiTabInsertPageBefore(). Added it to the test program. Now to implement it. 2015-05-06 13:58:03 -04:00
Pietro Gagliardi e59aeb19ca Added a disabled uiTab test. It works fine on GTK+ (as expected) but the feature needs to be implemented on Windows and OS X. 2015-05-04 14:14:12 -04:00
Pietro Gagliardi 3ead59424d I am wrong there's nothing wrong with what we're doing now because only the immediate parent calls uiControlSysFunc(uiXxxSysFuncContainerDisable). 2015-05-04 13:55:57 -04:00
Pietro Gagliardi 37140cf6f0 Completed the nested box test. 2015-05-04 11:07:23 -04:00
Pietro Gagliardi 31dc99899d Set up a framework for testing nested enables and disables. 2015-05-04 10:34:16 -04:00
Pietro Gagliardi 9e6678b635 Implemented uiMenu window identification in the test program. It works on all platforms. 2015-05-03 21:22:00 -04:00
Pietro Gagliardi c3cfb3fe09 Added a no menus option to the test program. 2015-05-03 16:46:50 -04:00
Pietro Gagliardi 4eaa3ac574 Implemented die() in the test program. 2015-05-03 16:44:13 -04:00
Pietro Gagliardi a0e2c3cf94 Added more menu item enabled/disabled checks. This is important because on OS X we have to hook into the delegat eot disable the three special items (we can't just set autoenable to false; the Hide/Show items won't be properly disabled anymore if we do). 2015-05-02 11:24:58 -04:00
Pietro Gagliardi a76afebf54 Started work on adding margined status to uiTab. Modified the IDL and the test program. 2015-04-30 15:24:27 -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 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 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 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