Commit Graph

2576 Commits

Author SHA1 Message Date
Pietro Gagliardi 1956270ed1 More conversions. Almost done! 2016-04-29 13:50:08 -04:00
Pietro Gagliardi 840e21456c Migrated checkbox.cpp and combobox.cpp. 2016-04-29 12:49:42 -04:00
Pietro Gagliardi abf9e202ef Got rid of child.cpp. Yay. :D 2016-04-29 12:22:06 -04:00
Pietro Gagliardi affa6a7080 Converted QueueRelayout to MinimumSizeChanged. 2016-04-29 12:20:41 -04:00
Pietro Gagliardi f16f287b97 Migrated button.cpp. Allowed NULL out parameters in the uiWindowsSizing functions. 2016-04-29 12:18:46 -04:00
Pietro Gagliardi 4600bca8d3 Migrated box.cpp. Now we can migrate the other controls, since we have a better idea of what we're doing. 2016-04-29 10:48:39 -04:00
Pietro Gagliardi 26b22b2da3 Migrated group.cpp. 2016-04-28 22:33:32 -04:00
Pietro Gagliardi d68e11eac1 Verified (see misctestprogs) that WM_GETMINMAXINFO *is* sufficient to constrain the container size during SetWindowPos(), even if the size doesn't change. More TODOs. 2016-04-28 17:48:40 -04:00
Pietro Gagliardi 9f12fbff89 Migrated tab.cpp to the new system and fixed a few bugs. 2016-04-28 17:36:07 -04:00
Pietro Gagliardi 447aa75dc6 Reworked container.cpp a bit to suit the new propagation system. 2016-04-28 17:19:06 -04:00
Pietro Gagliardi 3baa94476d Adjusted uiWindow to use the new system for propagating minimum size changes. 2016-04-28 17:11:32 -04:00
Pietro Gagliardi c457d9bf00 Started a newer, better system for propagating layout changes. This relies on WM_GETMINMAXINFO, at least... 2016-04-28 16:59:26 -04:00
Pietro Gagliardi 56853c5d86 Cleaned up some control ID stuff. 2016-04-27 17:51:33 -04:00
Pietro Gagliardi 8b42c22caf More TODOs. 2016-04-27 14:55:36 -04:00
Pietro Gagliardi 19b5ebd14d Some fixups. 2016-04-27 14:45:45 -04:00
Pietro Gagliardi 16aaeb5c26 Some TODO resolution; some more TODOs. 2016-04-27 14:25:52 -04:00
Pietro Gagliardi 38f501c092 Migrated tab.cpp. This might work just fine. 2016-04-27 14:21:05 -04:00
Pietro Gagliardi 009403e1ec Migrated tabpage.cpp. 2016-04-27 12:41:30 -04:00
Pietro Gagliardi f83e39e033 Decided something for how to actually perform a resize for a child control. This solidifies one-HWND-per-control. 2016-04-27 12:18:58 -04:00
Pietro Gagliardi 4866168ecf Quick bugfix in childMinimumSizeChanged for uiWindow. 2016-04-27 01:25:36 -04:00
Pietro Gagliardi 40672cc5c4 More TODOs. 2016-04-27 01:06:35 -04:00
Pietro Gagliardi 3563dd74e7 Finished migrating window.cpp. A few utility functions came along for the ride. Maybe child.cpp won't be needed...? 2016-04-27 00:54:22 -04:00
Pietro Gagliardi 78b49ae04d Started reworking window.cpp to get a feel for what's going to happen. This is a mess... 2016-04-26 22:44:40 -04:00
Pietro Gagliardi dd1d5c871e Migrated the container stuff. 2016-04-26 22:17:42 -04:00
Pietro Gagliardi 8f4678a1f0 Removed the resize timer from windows/utilwin.cpp. 2016-04-26 22:09:13 -04:00
Pietro Gagliardi e2f03de5ca More TODOs. 2016-04-26 22:07:14 -04:00
Pietro Gagliardi 227c3b3ec1 Split the public functions out of winutil.cpp to organize things. Renamed uiWindowsEnsureSetParent() to uiWindowsEnsureSetParentHWND() to denote its intended use. 2016-04-26 22:06:12 -04:00
Pietro Gagliardi 37e83d133b Started the migration. Got rid of a bunch of cruft, including the old delayed resize logic (except for timers; will have to get that back out). 2016-04-26 19:57:13 -04:00
Pietro Gagliardi dab10d13d2 Finished ui_windows.h. Now we have to actually write all this. Yay... 2016-04-26 19:07:56 -04:00
Pietro Gagliardi 25b9231ff8 Whoops, forgot the important bit! Minimum sizes! 2016-04-26 17:37:16 -04:00
Pietro Gagliardi d4d81a41a8 Started ~ the big Windows rewrite ~. You'll see a bunch of obviously new things. And as you can guess, we're dropping the scheduled sizing for now. 2016-04-26 17:35:10 -04:00
Pietro Gagliardi 2391454409 Added a rules.unix just to be safe. 2016-04-25 23:36:06 -04:00
Pietro Gagliardi 4e11b6efe1 Fixed build errors. It works! (Except for radiobuttons now needing a destroy; that'll come later.) Next up... Windows. Yay... 2016-04-25 20:34:12 -04:00
Pietro Gagliardi d65a263bb4 Whoops, forgot unix/area.c. Now let's try. 2016-04-25 20:19:57 -04:00
Pietro Gagliardi 3f16e28d1b Finished the conversions. Let's hope it works! 2016-04-25 20:15:02 -04:00
Pietro Gagliardi 289ca0ed78 More conversion work, including getting rid of a few now-unnecessary function declarations. 2016-04-25 20:09:20 -04:00
Pietro Gagliardi 01912877ce Converted the basic GTK+ controls. Now for the containers. 2016-04-25 20:00:25 -04:00
Pietro Gagliardi 85ee2e93dd More ui_unix.h and unix/control.c work. NOW we're ready to migrate the controls. 2016-04-25 19:45:05 -04:00
Pietro Gagliardi 6d655cde45 Finished rewriting ui_unix.h. Now to rewrite all the controls. Yay? 2016-04-25 19:16:48 -04:00
Pietro Gagliardi 12e519f928 Adjusted the rules based on the previous commit. 2016-04-25 18:08:26 -04:00
Pietro Gagliardi d7d7d4fd76 Fixed the SyncEnableState() machinery not quite working properly. 2016-04-25 18:07:29 -04:00
Pietro Gagliardi 7b0780be2a Made SyncEnableState() a uiDarwinControl method instead of a uiControl method since it's not needed on GTK+. 2016-04-25 17:52:16 -04:00
Pietro Gagliardi a651caac89 Started migrating ui_unix.h. SyncEnableState can be dropped from the GTK+ port, so let's do that next. 2016-04-25 16:45:49 -04:00
Pietro Gagliardi 98e7afc5de Freed most of the mapTables. 2016-04-25 13:47:24 -04:00
Pietro Gagliardi 5cfcf81a67 Fixed runtime errors. It seems to work! An autolayout step will need to be added... 2016-04-25 13:44:13 -04:00
Pietro Gagliardi d0d0efce1a Fixed build errors. Now to test! 2016-04-25 13:38:17 -04:00
Pietro Gagliardi 3ca4a28bb3 Settled the SetParent stuff. NOW we can test. 2016-04-25 12:59:45 -04:00
Pietro Gagliardi 23c2998040 Migrated darwin/control.m. Forgot the SetParent/SetSuperview rule! One more commit before we can build... 2016-04-25 12:55:51 -04:00
Pietro Gagliardi 189d661b7f Migrated darwin/tab.m and fixed up the other files. Now for darwin/control.m, then we can test... 2016-04-25 12:52:54 -04:00
Pietro Gagliardi b50eda0303 Migrated darwin/group.m. That just leaves darwin/tab.m and a few fixups to a number of other controls. 2016-04-25 12:42:43 -04:00