Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ColorEditorLayer.cs « Custom « Controls « Xamarin.PropertyEditing.Mac - github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6657ba11ad1b921ff5d3a7f0624be5cd02af184d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using CoreAnimation;
using CoreGraphics;
using Foundation;

namespace Xamarin.PropertyEditing.Mac
{
	abstract internal class ColorEditorLayer : CALayer
	{
		public ColorEditorLayer ()
		{
		}

		public override NSObject ActionForKey (string eventKey)
		{
			return null;
		}

		public ColorEditorLayer (IntPtr handle) : base (handle)
		{
		}

		abstract public void Commit (EditorInteraction interaction);
		abstract public void UpdateFromModel (EditorInteraction interaction);
		abstract public void UpdateFromLocation (EditorInteraction interaction, CGPoint location);
	}

	internal class UnanimatedGradientLayer : CAGradientLayer
	{
		public UnanimatedGradientLayer ()
		{
		}

		public UnanimatedGradientLayer (IntPtr handle) : base (handle)
		{
		}

		public override NSObject ActionForKey (string eventKey)
		{
			return null;
		}
	}

	internal class UnanimatedLayer : CALayer
	{
		public UnanimatedLayer ()
		{
		}

		public UnanimatedLayer (IntPtr handle) : base (handle)
		{
		}

		public override NSObject ActionForKey (string eventKey)
		{
			return null;
		}
	}
}