Commit Graph

2051 Commits

Author SHA1 Message Date
Pietro Gagliardi 11fe5deb73 More NSTextView work. 2015-12-08 21:09:23 -05:00
Pietro Gagliardi ea6e903069 TRIED TO add uiMultilineEntry on OS X. It does not quite work yet. 2015-12-08 13:06:26 -05:00
Pietro Gagliardi c4d587c075 More TODOs. 2015-12-07 22:50:58 -05:00
Pietro Gagliardi 74783d90cf More TODOs. 2015-12-06 16:54:03 -05:00
Pietro Gagliardi 0307e74e90 Added uiMultilineEntry on Windows. Fixed a misuse of std::condition_variable in the uiQueueMain test program. 2015-12-06 14:38:13 -05:00
Pietro Gagliardi 2705f93305 Added uiMultilineEntry, wrote it on GTK+, and wrote the uiQueueMain() test. It works on Unix. 2015-12-06 01:18:32 -05:00
Pietro Gagliardi 3394142357 Some TODO expansion. This was the active tab on my browser the whole time and I didn't even notice! 2015-12-05 20:37:29 -05:00
Pietro Gagliardi c5eef23930 More TODOs. 2015-12-05 20:31:57 -05:00
Pietro Gagliardi 994d43c00e More TODOs. 2015-12-05 18:42:28 -05:00
Pietro Gagliardi 88f9c7ea19 Quick comment update for previous commit. 2015-12-04 23:49:04 -05:00
Pietro Gagliardi f77955aefb Added uiQueueMain() (basically g_idle_add()) and implemented it on all platforms except Haiku. A test to come. After this we can start rewriting the Go package ui at long last. 2015-12-04 23:42:03 -05:00
Pietro Gagliardi d12974eef1 More TODOs. 2015-12-04 21:11:43 -05:00
Pietro Gagliardi 79e00d3c90 Fixed improper initialization of uiDrawStrokeParams in the histogram example. 2015-12-04 21:10:27 -05:00
Pietro Gagliardi 8084041139 Removed uiAreaHandler.RedrawOnResize(); Direct2D requires us to always redraw on resize (see previous commit). Added windows/amd64 to the example makefiles and updated them to use libui.xxx instead of new.xxx. 2015-12-04 21:04:51 -05:00
Pietro Gagliardi c2100a19be Implemented some changes to uiArea on Windows, thanks to instructions from Rick Brewster. Removing uiAreaHandler.RedrawOnResize() comes next. 2015-12-04 20:45:31 -05:00
Pietro Gagliardi d1c93a9956 Made relayouts on Windows faster by preventing an accidental requeue of a window that's being processed in the event that a layout change changes the minimum size (such as switching tabs). 2015-12-04 19:34:51 -05:00
Pietro Gagliardi fc241bca61 Actually the theme fonts aren't any more useful than what we have now. 2015-12-03 19:36:13 -05:00
Pietro Gagliardi 37271359ab More TODOs. 2015-12-03 19:23:45 -05:00
Pietro Gagliardi be7d9c35f8 More TODOs. 2015-11-30 19:53:44 -05:00
Pietro Gagliardi d9343c0b4b More TODOs. 2015-11-30 09:12:56 -05:00
Pietro Gagliardi 4aa755326e Removed a stray comment. 2015-11-28 16:39:07 -05:00
Pietro Gagliardi bf35167d40 More TODOs. 2015-11-28 16:36:08 -05:00
Pietro Gagliardi a10aed65a1 More TODOs. 2015-11-28 15:39:46 -05:00
Pietro Gagliardi 8adb1a25a2 More TODOs. 2015-11-28 12:16:05 -05:00
Pietro Gagliardi bf6fabef21 Implemented the dialog stuff on OS X. 2015-11-28 12:09:14 -05:00
Pietro Gagliardi 3943c2c65e Implemented the dialog changes on the GTK+ backend. 2015-11-28 11:02:58 -05:00
Pietro Gagliardi 81112fe955 "Implemented" the stddialogs.cpp change on Haiku. 2015-11-28 10:55:24 -05:00
Pietro Gagliardi e6e264408f Implemented dialog parenting on Windows. Eliminated the dialog helper. uiArea still works (and still responds to key events), but IsDialogMessage() isn't being called for the active window anymore... 2015-11-28 10:53:48 -05:00
Pietro Gagliardi 0bcd620a62 Started a change which will allow a parent of the standard dialogs to be specified. 2015-11-27 23:23:54 -05:00
Pietro Gagliardi 7646e8303d Fixed a small bug in the uiArea message filter. 2015-11-27 23:00:57 -05:00
Pietro Gagliardi 09129229fd Fixed assorted MSVC uiArea issues. 2015-11-27 22:44:42 -05:00
Pietro Gagliardi 14887ad7e3 Fixed a logical error in the uiArea message filter. 2015-11-27 21:53:17 -05:00
Pietro Gagliardi 3a5a4557ab Switch uiArea from using a custom message pump to using a message filter for input handling. This allows us to rewrite the dialog system to avoid needing to block ALL windows and set a proper parent window. 2015-11-27 21:45:30 -05:00
Pietro Gagliardi 6bb659de4e More TODOs. 2015-11-27 20:52:56 -05:00
Pietro Gagliardi f5a2759b09 Dropped utarray in favor of our ptrArray. This should get rid of our strdup woes. 2015-11-27 20:38:21 -05:00
Pietro Gagliardi c87cf13d67 Turned off incremental linking. 2015-11-27 20:25:01 -05:00
Pietro Gagliardi 69823eab84 More MSVC build fixes 2015-11-27 20:18:14 -05:00
Pietro Gagliardi 99176a1d10 Disabled compiler warnings for system headers on MSVC. Removed /Wp64; it's a no-op on VS2013 (our minimum supported version). 2015-11-27 20:07:23 -05:00
Pietro Gagliardi d29d36a6cd Fixed assorted build errors in the MSVC build. It works! And MinGW-w64 will need isolation awareness... 2015-11-27 19:59:46 -05:00
Pietro Gagliardi ba55b8ec7a Added a rudimentary MSVC Makefile. It still requires GNU make because nmake isn't powerful enough. I need to fix something in windows/winapi.h before it will work with Microsoft's resource compiler though... 2015-11-27 19:13:53 -05:00
Pietro Gagliardi abd99a325b Integrated the Common Controls 6 manifest into libui.dll. While it does work, themes don't work, and I wonder if it's because of isolation awareness. Time to write an nmakefile! 2015-11-27 13:35:24 -05:00
Pietro Gagliardi 490fa315d1 Added controls to the menued enabled window in the test program to test dialog ownership. 2015-11-27 13:01:12 -05:00
Pietro Gagliardi b8be92bc45 More notes. 2015-11-27 12:35:23 -05:00
Pietro Gagliardi bd354fd651 More TODOs. 2015-11-27 12:21:40 -05:00
Pietro Gagliardi 9153766dc9 Added a checkbox for testing uiArea keystroke ignoring. This will be for migrating the Windows keyboard code to using message filters, so we can clean up dialog handling. 2015-11-27 11:49:06 -05:00
Pietro Gagliardi 923c4c091e Decided not to bother with winforms either. 2015-11-27 10:49:50 -05:00
Pietro Gagliardi 284c96a72a Started migrating this experiment from WPF to WinForms. Maybe this will be more featureful. 2015-11-27 10:05:13 -05:00
Pietro Gagliardi 60becb332e More work. NOW we're getting boring :v 2015-11-26 20:34:21 -05:00
Pietro Gagliardi 36f572078e Started filling in controls. 2015-11-26 19:11:55 -05:00
Pietro Gagliardi 42b0bada64 Stubbed everything else. It works! 2015-11-26 18:27:23 -05:00