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

29 Коммитов

Автор SHA1 Сообщение Дата
Steven Kirk f158c3e399 Fixed scaling for Paths.
Will no doubt need revisiting as mentioned in the comments in
Shape.MeasureOverride.
2014-12-17 18:40:31 +01:00
Steven Kirk 5048ebbcf8 Fix the clip/rotation problem. 2014-12-17 04:13:25 +01:00
Steven Kirk 60ad99c8c1 Added a TextBox and Image to animated controls.
Looks like in the TexbBox clipping rects aren't getting applied
correctly with rotation.
2014-12-17 03:58:37 +01:00
Steven Kirk 94b1057685 Tidied up the render routine. 2014-12-17 03:49:30 +01:00
Steven Kirk 58426219c9 Oops forgot to commit actual code...
in last commit. D'oh!
2014-12-17 03:38:46 +01:00
Steven Kirk 5e8bb904c9 Use a single timer for all animation.
Still renders >60fps when there are two concurrent animations though.
Hmm.
2014-12-17 01:43:10 +01:00
Steven Kirk fc49f1588b Make animations more smooth.
By setting the PresentOptions.Immediately flag.
2014-12-16 03:12:21 +01:00
Steven Kirk 9afc768449 Added FPS counter to test app. 2014-12-16 02:57:27 +01:00
Steven Kirk 6d45c57dbb Added simple animation. 2014-12-15 20:00:25 +01:00
Steven Kirk cf959fd8eb Added RadioButton control. 2014-12-15 02:14:07 +01:00
Steven Kirk f5d89a8db5 Fix potential reference after dispose. 2014-12-14 21:46:29 +01:00
Steven Kirk 7fe1f7e814 Some work on Paths.
Make paths with Stretch != None correctly fill the Path control's
available size. Added a Path_Tick_Scaled test with a path from
MahApps.Metro to test this.
2014-12-14 21:33:43 +01:00
Steven Kirk aef071ec8d Draw selected TextBox text white. 2014-12-12 20:55:42 +01:00
Steven Kirk d575dfa773 Moved Perspex <-> D2D conversions to ext. methods. 2014-12-12 00:40:11 +01:00
Steven Kirk 050e9cc6e8 Make Home key work in multi-line text boxes. 2014-12-09 20:02:20 +01:00
Steven Kirk e34db29251 Make mono stuff work (kinda) again. 2014-12-09 01:59:16 +01:00
Steven Kirk 43716ae100 Added HitTestTextRange to FormattedText. 2014-12-09 01:59:15 +01:00
Steven Kirk 2be668db1a More refactoring of FormattedText. 2014-12-09 01:59:15 +01:00
Steven Kirk baafad1af7 Removed ITextService.
Cairo renderer completely broken by this point.
2014-12-09 01:59:14 +01:00
Steven Kirk 20a944013e Started refactoring of FormattedText. 2014-12-09 01:59:13 +01:00
Steven Kirk 55a11d8dfd More stylecop fixes. 2014-12-05 22:32:08 +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 32587825b3 More stylecop fixes. 2014-12-04 20:13:30 +01:00
Steven Kirk cbbef72f9b Getting something drawn now. 2014-12-02 17:50:48 +01:00
Steven Kirk c999d45e94 WIP refactoring Window.
To make it x-platform. Currently breaks input.
2014-12-02 13:51:51 +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 7167f26c93 Trying to create a cairo renderer.
Not working. Nothing is drawn...
2014-11-30 22:14:43 +01:00
Steven Kirk 6644676b03 Moved stuff around a bit.
Windows specific stuff into Windows directory, Perspex.Windows ->
Perspex.Win32 as WinRT might be supported in the future and that is
still Windows.
2014-11-30 17:34:03 +01:00