Commit Graph

1986 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 2eca184d0a Removed the xtests; we are now going to stub the rest of this out. 2015-11-26 16:44:56 -05:00
Pietro Gagliardi 57a13620c8 More TODOs. 2015-11-26 16:42:32 -05:00
Pietro Gagliardi 70205d0248 Added uiCheckbox to the WPF test. 2015-11-26 16:34:34 -05:00
Pietro Gagliardi 77c3e83821 Added uiLabel to WPF. 2015-11-26 13:55:39 -05:00
Pietro Gagliardi 10ec52d8db Added uiTab to the WPF system. 2015-11-26 12:09:12 -05:00
Pietro Gagliardi 7e6c3c0abe Implemented uiBox on WPF. 2015-11-26 01:26:30 -05:00
Pietro Gagliardi 99521f4801 More TODOs. 2015-11-25 23:41:14 -05:00
Pietro Gagliardi a46d0a760c Fixed child handling in WPF uiWindows. 2015-11-25 22:22:12 -05:00
Pietro Gagliardi e279c7b319 Added uiButton to the WPF code. 2015-11-25 22:08:14 -05:00
Pietro Gagliardi 4ec3632920 More WPF uiWindow work. 2015-11-25 20:43:34 -05:00
Pietro Gagliardi 6e88ab611a Fixed most of the various bugs preventing this libui from working. Woo! It even works from Go! 2015-11-25 17:42:25 -05:00
Pietro Gagliardi c529ba86cf Wrote a C version of xtest.go. I need to somehow restore the .net error handler in the Go code... 2015-11-25 17:25:57 -05:00
Pietro Gagliardi e775c3bb6c Removed the original exe/dll and edited some xtest.go stuff. 2015-11-25 17:20:39 -05:00
Pietro Gagliardi 554cd31fa2 First attempt at running WPF libui in Go just to have fun. It fails :( 2015-11-25 16:48:21 -05:00
Pietro Gagliardi 0e0c314bea Implemented uiWindow on WPF. We now have a DLL that builds! 2015-11-25 16:32:39 -05:00