Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi 372cfd048d Experimented with manually specifying control sizes for nonstretchy controls in Box. This resolves ambiguities! 2015-08-11 20:21:30 -04:00
Pietro Gagliardi 819d778b46 Some layout.swift changes. Added support for the metrics parameter and a fitting size calculation function; this will be needed for the next experiment with boxes. 2015-08-11 20:10:12 -04:00
Pietro Gagliardi 2af8289753 More TODOs. 2015-08-08 22:06:57 -04:00
Pietro Gagliardi 02991879bc Implemented lack of stretchiness. I believe this is a complete Box implementation. A lot simpler than the other one! :) But will it hold up to the stress test... 2015-08-08 21:54:58 -04:00
Pietro Gagliardi 64dedfe540 Implemented multiple stretchy controls. 2015-08-08 21:38:21 -04:00
Pietro Gagliardi 48e1ccdb10 Implemented stretchiness. 2015-08-08 21:31:15 -04:00
Pietro Gagliardi c76584c3d2 More Box work. Secondary dimension stretchiness works fine. 2015-08-08 19:32:24 -04:00
Pietro Gagliardi b2f5254fe2 Wrote some preparation for stretchiness. 2015-08-08 11:48:35 -04:00
Pietro Gagliardi 240dc25d74 More Box work. 2015-08-08 11:12:55 -04:00
Pietro Gagliardi cacc4f1ed6 More Box work. 2015-08-07 22:40:09 -04:00
Pietro Gagliardi 39d36f30b5 Removed Control.Relayout(). It's not going to be needed, as only a change in control-specific state would trigger a relayout, and we don't need to lay /the entire window/ out recursively due to an internal change. 2015-08-07 22:10:11 -04:00
Pietro Gagliardi 34684cf2aa Started reimplementing Box. 2015-08-07 22:01:19 -04:00
Pietro Gagliardi 4857ddc018 Started restructuring this whole thing, Swift-izing it in the process. I'm going to just abandon the current tBox implementation; I have no idea how it worked at all. 2015-08-07 18:17:29 -04:00
Pietro Gagliardi 10914816ff Got rid of UIntMax. 2015-08-07 16:27:03 -04:00
Pietro Gagliardi ad895a7f7e Fixed some more runtime errors. I have no idea how this code even worked anymore. 2015-08-07 16:24:15 -04:00
Pietro Gagliardi 9aeeeab812 Fixed runtime errors. Now to fix bugs! 2015-08-07 15:07:53 -04:00
Pietro Gagliardi dbde124471 Fixed build errors. Now to fix runtime errors. 2015-08-07 14:45:01 -04:00
Pietro Gagliardi 06f32ca759 Fixed many compiler errors. 2015-08-07 10:46:34 -04:00
Pietro Gagliardi de4156122f Converted box.m to Swift. Now to test the build! 2015-08-07 10:17:44 -04:00