Commit Graph

84 Commits

Author SHA1 Message Date
Pietro Gagliardi 4716781e78 Finished container enable/disable on Windows for now. 2015-05-04 14:05:36 -04:00
Pietro Gagliardi d98a2291cb More enable/disable container stuff. 2015-05-04 11:09:28 -04:00
Pietro Gagliardi b15f5ff1c7 Started implementing container enable/disable on Windows. More TODOs. 2015-05-04 09:53:53 -04:00
Pietro Gagliardi 862f84292f Fixed an error in windows/container.c. 2015-05-03 19:58:37 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi 997db39bb7 Decided not to optimize Windows menu item lookup. 2015-05-03 17:37:36 -04:00
Pietro Gagliardi 23cfcc8c6d Confirmed that tabs are taken into account with TCM_ADJUSTRECT on Windows. 2015-05-03 17:21:48 -04:00
Pietro Gagliardi aa568e51cf Implemented uiControlPreferredSize() on Windows uiTabs. 2015-05-03 17:13:40 -04:00
Pietro Gagliardi fc1044aab9 Quick TODOTODOTODO... resolution. 2015-05-03 16:56:58 -04:00
Pietro Gagliardi 2186192502 Changed c-> to uiControl(c)-> in the various newcontrol files for consistency. 2015-05-03 14:44:46 -04:00
Pietro Gagliardi 51cdb1817e Added WS_EX_CONTROLPARENT to uiContainer on Windows. 2015-05-03 14:12:45 -04:00
Pietro Gagliardi e8600450aa TODO elaboration. 2015-05-03 12:36:35 -04:00
Pietro Gagliardi 61bcfa1a7e Cleaned up and resolved DllMain() TODOs and issues. 2015-05-03 12:34:10 -04:00
Pietro Gagliardi 80c79d31a3 Changed the Windows window-creation code to handle menu wrapping. 2015-05-03 12:15:24 -04:00
Pietro Gagliardi 643ed46b00 Cleaned up windows/container.c resize(). More TODOs. 2015-05-03 11:55:34 -04:00
Pietro Gagliardi dc5b7f4c59 Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug. 2015-05-03 11:47:06 -04:00
Pietro Gagliardi d50701b3a7 TODO consolidation. 2015-05-03 10:21:36 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 57bc11d67c TODO consolidation. 2015-05-02 14:58:29 -04:00
Pietro Gagliardi 3260de37b3 BOOL -> int in initAlloc() on Windows. 2015-05-02 12:29:55 -04:00
Pietro Gagliardi a70d56d77c Switched to the Windows API heap functions in windows/alloc.c. 2015-05-02 12:27:53 -04:00
Pietro Gagliardi effb919176 Added DllMain() to the Windows code. 2015-05-01 10:19:44 -04:00
Pietro Gagliardi 5094f08994 Fixed build errors from the previous commit. 2015-05-01 10:16:02 -04:00
Pietro Gagliardi 5ad2bfd6f0 Cleaned up uipriv*.h. 2015-05-01 10:14:11 -04:00
Pietro Gagliardi 122b1b0d2c Some TODO consolidation. 2015-05-01 10:11:22 -04:00
Pietro Gagliardi 7dc7c5a5cd Resolved a minor TODO in windows/menu.c. 2015-04-30 23:34:56 -04:00
Pietro Gagliardi 83f936a637 Fixed menus on Windows to avoid pointers moving underfoot. 2015-04-30 18:30:25 -04:00
Pietro Gagliardi 60a5931207 Added duplicate special menu item protection to the Windows backend. 2015-04-30 18:18:20 -04:00
Pietro Gagliardi 40dee5a693 Added bin destruction OS parent checks. 2015-04-30 17:49:38 -04:00
Pietro Gagliardi dad19a6318 Switched from GetParent() to GetAncestor() on Windows since GetAncestor() has no documented error state. 2015-04-30 17:39:20 -04:00
Pietro Gagliardi 6400a6ea8c TODO consolidation. 2015-04-30 17:34:15 -04:00
Pietro Gagliardi 75b4d28569 Implemented menu destruction on Windows. 2015-04-30 17:05:41 -04:00
Pietro Gagliardi b52aa4cfcb Started Windows menu destruction code and fixed a bug in GTK+ menu destruction. 2015-04-30 16:44:06 -04:00
Pietro Gagliardi 14de9f3cad Fixed bug in Windows uiWindowOnClosing() handler. 2015-04-30 16:41:41 -04:00
Pietro Gagliardi 10345a2c7d Implemented the new uiTab methods on Windows. 2015-04-30 15:50:03 -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 127f025eee Decided not to bother with destruction blocking for now. 2015-04-30 13:30:00 -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 a036632795 Re-connected Windows events. More TODOs. 2015-04-29 19:17:26 -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 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 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 90bb60a435 Moved windows/newcontrol.c and windows/tab.c back. Totally not migrated yet. 2015-04-29 01:34:03 -04:00
Pietro Gagliardi 7c91616af1 More old code file removal. 2015-04-28 13:53:45 -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 ac8e59c004 Hooked up the Windows menu event system and fixed some bugs in it. Still need to define menu events in general... 2015-04-21 18:52:57 -04:00
Pietro Gagliardi dc386a599e Added a framework for handling menu events on Windows. 2015-04-21 18:44:31 -04:00
Pietro Gagliardi b6a2233d0b Adjusted the Windows menu code for the recent changes (see past few commits). 2015-04-20 23:46:02 -04:00
Pietro Gagliardi f303f066e2 Started implementing menus on Windows. 2015-04-20 20:26:21 -04:00