Commit Graph

2446 Commits

Author SHA1 Message Date
Pietro Gagliardi 7d874ee911 Migrated uiGroup. Before we do uiTab, I want to refactor it a bit like we have with uiBox... 2016-05-11 18:28:42 -04:00
Pietro Gagliardi 178c0301c2 Started implementing the new logic; darwin/window.m implemented. darwin/group.m and darwin/tab.m will be similar, so they use common code here (but this is NOT child.m all over again; this is ONLY for layout!). 2016-05-11 18:06:29 -04:00
Pietro Gagliardi 73eed9289c Instituted a new system: the parent control is responsible for extra space at the edges of controls, not the controls themselves. Let's hope this works better. 2016-05-11 17:00:01 -04:00
Pietro Gagliardi 8fb8b0eeba Nuked ALL the existing Auto Layout stuff. Let's do this again, and this time, do it *right*. 2016-05-11 16:46:42 -04:00
Pietro Gagliardi d110a836ba Fixed a labelling error. 2016-05-08 14:03:59 -04:00
Pietro Gagliardi 32ef7c3fd3 Revert "Started implementing the previous commit's changes in a more permanent way: set REAL hugging priorities and implemented them on uiBox."
This reverts commit 07930279c0.
2016-05-08 11:29:09 -04:00
Pietro Gagliardi f413456b60 Revert "Did the rest of it as stubs. Now to fix issues..."
This reverts commit 854e87b90a.
2016-05-08 11:28:51 -04:00
Pietro Gagliardi b20b790254 Revert "Removed the default box hugging priorities. We'll set them in group, tab, and window."
This reverts commit a485319c8b.
2016-05-08 11:28:28 -04:00
Pietro Gagliardi a485319c8b Removed the default box hugging priorities. We'll set them in group, tab, and window. 2016-05-08 11:00:01 -04:00
Pietro Gagliardi 854e87b90a Did the rest of it as stubs. Now to fix issues... 2016-05-08 10:53:52 -04:00
Pietro Gagliardi 07930279c0 Started implementing the previous commit's changes in a more permanent way: set REAL hugging priorities and implemented them on uiBox. 2016-05-08 10:42:20 -04:00
Pietro Gagliardi 8867742ec0 Found a possible solution! Needs fine-tuning. 2016-05-08 02:54:08 -04:00
Pietro Gagliardi 2aef3031e3 More TODOs. 2016-05-07 10:47:59 -04:00
Pietro Gagliardi f8b113dd18 Fixed the controlgallery somehow. 2016-05-07 10:43:12 -04:00
Pietro Gagliardi 11ef2c9076 Got rid of the messy -layout logic and just did that stuff in -updateConstraints instead; much simpler that way. Thanks to rudy in irc.freenode.net/#macdev. 2016-05-07 10:31:56 -04:00
Pietro Gagliardi e6592f6f04 More TODOs. 2016-05-07 10:07:37 -04:00
Pietro Gagliardi b03aa35da8 Adjusted uiGroup, uiTab, and uiWindow likewise. More TODOs. 2016-05-07 01:34:33 -04:00
Pietro Gagliardi 305b4b98cb Fixed up darwin/box.m and let it work properly. Now to just define the appropriate methods for the other controls... 2016-05-07 01:25:32 -04:00
Pietro Gagliardi abe502a046 Rewrote uiBox with everything in it. Let's test it so far. 2016-05-07 01:11:58 -04:00
Pietro Gagliardi ecd1ef2231 Started work on rewriting uiBox. 2016-05-06 23:27:46 -04:00
Pietro Gagliardi c04abae6e4 First part: get rid of noStretchyView. We won't need it anymore. 2016-05-06 23:03:31 -04:00
Pietro Gagliardi a3629e752d Added default implementations of the new methods where necessary. Before we go around implementing them, it's time for a massive rewrite of uiBox. 2016-05-06 21:50:14 -04:00
Pietro Gagliardi c9998fcd05 Set up a system to do what we need. 2016-05-06 21:13:36 -04:00
Pietro Gagliardi f9e3b7a2d5 Okay we've got a handle on how this is supposed to work now I think; I just need to figure out how to abstract out this should-expand behavior... 2016-05-06 20:55:33 -04:00
Pietro Gagliardi e462c7a660 Okay I think we're on to something now... 2016-05-06 20:34:02 -04:00
Pietro Gagliardi 117b8c92d2 Tried to change uiBox to use updateConstraints instead of a relayout() function. Maybe this will end my woes... 2016-05-06 19:21:41 -04:00
Pietro Gagliardi 885e7157d7 Removed the old osxaltest. Not needed now. I'll just design grids against master. 2016-05-06 17:49:09 -04:00
Pietro Gagliardi ac3ee981b3 More TODO work. 2016-05-06 16:12:56 -04:00
Pietro Gagliardi 9e0ff2e000 Some TODO resolution in the Windows backend. 2016-05-06 16:06:55 -04:00
Pietro Gagliardi 4444b79c30 Migrated windows/drawmatrix.cpp to use d2d1helper.hpp. 2016-05-06 11:44:48 -04:00
Pietro Gagliardi 4b3084c2fe Fixed up windows/drawtext.cpp. 2016-05-06 10:31:01 -04:00
Pietro Gagliardi 725a97faba More TODOs. 2016-05-05 21:57:20 -04:00
Pietro Gagliardi 9d2b637aa2 FINALLY got rid of ptrArray. Woo! 2016-05-05 21:51:14 -04:00
Pietro Gagliardi 02fbb5a559 A lot more drawing migration on Windows. With that done, though, we can finally do this... 2016-05-05 21:49:50 -04:00
Pietro Gagliardi 515c8398c0 Started doing the whole split apart thing to the Windows backend. 2016-05-05 20:23:52 -04:00
Pietro Gagliardi 4e53551e06 Split unix/draw.c into a bunch of smaller files. 2016-05-05 18:23:54 -04:00
Pietro Gagliardi 45dd9416d3 Moved some stuff out of the way. 2016-05-05 17:59:33 -04:00
Pietro Gagliardi eff0532760 Some TODO resolution/stale TODO elimination. 2016-05-05 17:58:26 -04:00
Pietro Gagliardi faeae31acc Cleaned up unix/box.c and made it not use struct child or ptrArray. 2016-05-05 14:04:07 -04:00
Pietro Gagliardi f10c760b00 More TODOs. 2016-05-04 23:41:25 -04:00
Pietro Gagliardi 440e8fa47f Integrated the GTK+ date/time picker. FINALLY! 2016-05-04 23:35:11 -04:00
Pietro Gagliardi a11e939b34 Wrote the finishing touches on the dptwidget.c needed for the final date-time picker. 2016-05-04 23:28:46 -04:00
Pietro Gagliardi 0942888b4a Set the current time on the date-time picker. I think we're good for now... 2016-05-04 23:18:48 -04:00
Pietro Gagliardi f0dc52d1dc Further GTK+ date/time picker refinement and bugfixes. 2016-05-04 21:33:32 -04:00
Pietro Gagliardi 8b7d661405 Refined the spinbox behavior some more. We are close to pushing this in main! 2016-05-04 20:17:15 -04:00
Pietro Gagliardi d6b2aeebbe More date/time picker work. Getting closer to stable. 2016-05-04 18:16:38 -04:00
Pietro Gagliardi 6d65718376 More dtpwidget.c work. 2016-05-04 14:24:52 -04:00
Pietro Gagliardi 75bee77cb6 More refinement. 2016-05-03 20:57:14 -04:00
Pietro Gagliardi a1a036eeed Started pulling everything together. 2016-05-03 20:04:29 -04:00
Pietro Gagliardi 4795e73f64 Formatted the spinbuttons nicely in the gtkdtp. Problem: both comboboxes and radiobuttons require grab! What do we do... 2016-05-03 17:12:22 -04:00