Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Steven Kirk 2f7981f1cb Added an animated rotation.
To do this had to move Animatable to the bottom of the class hierarchy
to allow Transform to inherit from it.
2014-12-16 03:29:28 +01:00
Steven Kirk 9f07dc5bad Remove LayoutHelper.MeasureDecorator.
No longer needed as most of the logic was moved to MeasureCore.
2014-12-14 17:31:33 +01:00
Steven Kirk 01c7d028d0 Correctly apply nested templates.
When a templated control's template itself contains templated controls,
make sure all of the templates are applied, as the nested templated
control might contain something the top-most templated control is
looking for.
2014-12-11 23:46:55 +01:00
Steven Kirk 462d40156a Fix another problem in layout.
If an arrange pass causes measure invalidate, exit the arrange pass and
re-run the measure pass.
2014-12-07 09:21:39 +01:00
Steven Kirk 43e1e3c168 Fixed final layout problem i'm aware of.
(Currently!)
2014-12-05 22:39:17 +01:00
Steven Kirk 55a11d8dfd More stylecop fixes. 2014-12-05 22:32:08 +01:00
Steven Kirk f9952e85cc Fixed a few more layout bugs. 2014-12-05 22:06:33 +01:00
Steven Kirk a8ae15b3ed More work on layout.
Mostly works but Test_ScrollViewer_With_TextBlock is failing again.
2014-12-05 20:29:43 +01:00
Steven Kirk 64c445f826 Don't remeasure/arrange when size hasn't changed. 2014-12-05 19:22:43 +01:00
Steven Kirk 4f9dc138da Use measure layout algorithm for arrange. 2014-12-05 18:39:07 +01:00
Steven Kirk d0cec392f7 Made test pass. 2014-12-05 18:21:50 +01:00
Steven Kirk af492b5d75 Started refactoring lyaout.
To make it faster. Currently all broken :/
2014-12-05 17:24:38 +01:00
Steven Kirk 192e66179c Initial implementation of GTK windowing system.
Displays a window. Doesn't do anything with it yet.
2014-12-01 19:04:05 +01:00
Steven Kirk 3dbd669f7b Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
2014-11-30 17:21:48 +01:00
Steven Kirk 76ba899dbd Make templates etc get applied on measure.
Instead of when iterating visual children. This because everything is
likely to be set up by that point.
2014-11-30 16:42:15 +01:00
Steven Kirk 73ebfc9475 Hide scrollbars on ScrollViewer when not needed.
Also added an image size slider to test.
2014-11-29 21:12:02 +01:00
Steven Kirk 23a8f9ab5d Fix scrollbar values. 2014-11-29 15:42:51 +01:00
Steven Kirk b04bcf48a1 Fixed layout again.
Last commit actually ruined layout. Added a tab to the test app to test
that shiz.
2014-11-29 12:58:23 +01:00
Steven Kirk 3e3d8296af Fix layout a bit. 2014-11-29 12:22:57 +01:00
Steven Kirk 9d8d9a59fa Updated NuGet packages. 2014-11-28 02:13:37 +01:00
Steven Kirk f99509fc11 Basic implementation of scrollbar.
Horizontal only so far. VERY HACKY.
2014-11-28 01:43:45 +01:00
Steven Kirk e25269be1c Updated NuGet packages. 2014-10-01 18:07:53 +02:00
Steven Kirk 0aa671d75f No longer need to work around a Splat bug. 2014-09-23 18:47:46 +02:00
Steven Kirk 371e381006 Added a logging manager...
To try and figure out why stuff is flashing up on the screen when you
open a new tree view node, and then decided to put that off for later ;)
2014-09-23 18:43:44 +02:00
Steven Kirk 6205545bc5 Make stuff get measured properly.
And added some logging to Layoutable to help diagnose this.
2014-09-19 16:20:46 +02:00
Steven Kirk e696dde0ec Things now display correctly.
No keyboard input though.
2014-09-18 21:45:24 +02:00
Steven Kirk bfadaac5d9 Non-building checkpoint in MAJOR refactor. 2014-09-18 00:20:45 +02:00