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

397 Коммитов

Автор SHA1 Сообщение Дата
Steven Kirk 057d10823c Make IReadOnlyPerspexList covariant. 2014-12-19 15:03:50 +01:00
Steven Kirk dca0494a5e Moved collections to their own namespace. 2014-12-19 15:03:30 +01:00
Steven Kirk ab6a45914f Fixed BorderTests. 2014-12-19 13:27:34 +01:00
Steven Kirk b20b94160d Fix Font properties owner.
And make default values come from theme.
2014-12-18 08:47:25 +01:00
Steven Kirk e6a8db0263 Added an architecture doc.
Hopefully this might help people understand how stuff fits together a
bit...
2014-12-17 20:42:21 +01:00
Steven Kirk 686b339e5d Track mouse leave events.
*Actually* fixes #15.
2014-12-17 19:39:58 +01:00
Steven Kirk 3a09abe30b Fix mouse capture.
Fixes #15.
2014-12-17 19:21:21 +01:00
Steven Kirk a9a569557b Moved some properties around.
- Moved Background out of Control. Fixes #14.
- Added Font properties to TemplatedControl.
2014-12-17 19:05:17 +01:00
Steven Kirk df88c7a34d Fix expected test output. 2014-12-17 19:03:24 +01:00
Steven Kirk 7663fcb8ff Improve TreeViewItem expanders. 2014-12-17 18:45:25 +01:00
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 38cc09ac8f Restored the test app. 2014-12-17 03:49: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 d18712f44d Fix rotations.
This can be cleaned up. However fixes #2.
2014-12-17 03:37:57 +01:00
Steven Kirk 733b733c92 Added test to demonstrate issue #2. 2014-12-17 03:18:14 +01:00
Steven Kirk 71208bca2f Show transform issue in test application.
Trying to fix the rendering issue described in #2.
2014-12-17 03:11:13 +01:00
Steven Kirk fd17491405 Correctly clip in Cairo renderer. 2014-12-17 03:08:29 +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 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 fc49f1588b Make animations more smooth.
By setting the PresentOptions.Immediately flag.
2014-12-16 03:12:21 +01:00
Steven Kirk 069fb178b0 Make the GTK stuff build again. 2014-12-16 03:06:07 +01:00
Steven Kirk 9afc768449 Added FPS counter to test app. 2014-12-16 02:57:27 +01:00
Steven Kirk fc4d5ce32a Added simple property transition animation.
Animation's a bit choppy though!
2014-12-16 02:11:57 +01:00
Steven Kirk 1c9cc11501 Run animation on UI thread. 2014-12-15 21:14:11 +01:00
Steven Kirk 6d45c57dbb Added simple animation. 2014-12-15 20:00:25 +01:00
Steven Kirk 903730c693 Create an invisible message window for dispatcher. 2014-12-15 19:47:50 +01:00
Steven Kirk 83837492bb I HATE #REGIONS 2014-12-15 17:33:32 +01:00
Steven Kirk 2dafd77beb Removed unneeded code. 2014-12-15 16:15:22 +01:00
Steven Kirk bff68dfd95 Merge pull request #13 from SuperJMN/fixed_letterA
Letter A bug and SelectAll method
2014-12-15 16:10:39 +01:00
SuperJMN 254eee7c75 Merge branch 'fixed_letterA' 2014-12-15 15:35:56 +01:00
Steven Kirk 4db0b798fe Fixed punctuation. 2014-12-15 02:56:39 +01:00
Steven Kirk 7f92b5d03c Added contribution guidelines. 2014-12-15 02:54:23 +01:00
Steven Kirk cf959fd8eb Added RadioButton control. 2014-12-15 02:14:07 +01:00
Steven Kirk 28ca084a4d Adjusted triangle output again. 2014-12-14 21:56:18 +01:00
Steven Kirk f5d89a8db5 Fix potential reference after dispose. 2014-12-14 21:46:29 +01:00
Steven Kirk 29c1342c44 Center the CheckBox label. 2014-12-14 21:38:13 +01:00
Steven Kirk d9d88cdfeb Improve CheckBox style.
Give it a proper tick (taken from MahApps.Metro) and improve the
spacing.
2014-12-14 21:37:26 +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 1774efdb3e Assert inconclusive for unimplemented features. 2014-12-14 17:59:54 +01:00
Steven Kirk d468a541c2 Increased fail threshold for failing image tests.
The images were identical to my eye.
2014-12-14 17:50:09 +01:00
Steven Kirk 4370087af6 Fixed easily-fixable failing tests. 2014-12-14 17:46:04 +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 f36ab8a2f1 Don't let TextBox collapse when it has no text. 2014-12-14 12:58:53 +01:00
Steven Kirk d4733c5332 Moved a bit of stuff around. 2014-12-14 12:27:37 +01:00
Steven Kirk d2d94da177 Fix TextBlock constraint not getting initialized. 2014-12-14 12:22:05 +01:00
SuperJMN 839302c997 Fixed entering of letter A 2014-12-14 12:06:04 +01:00
Steven Kirk 39691aecc3 Simplified TextBox scrolling. 2014-12-13 23:14:15 +01:00