-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathInterfaceTypes.cs
More file actions
139 lines (87 loc) · 2.36 KB
/
InterfaceTypes.cs
File metadata and controls
139 lines (87 loc) · 2.36 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
namespace VisualPlus
{
#region Namespace
using System.Drawing;
using System.Windows.Forms;
using VisualPlus.Managers;
using VisualPlus.Structure;
#endregion
/// <summary>Exposes access to content values.</summary>
public interface IContentValues
{
#region Events
/// <summary>Gets the content long text.</summary>
/// <returns>String value.</returns>
string GetLongText();
/// <summary>Gets the content short text.</summary>
/// <returns>String value.</returns>
string GetShortText();
#endregion
}
public interface IInputMethods
{
#region Events
void AppendText(string text);
void Clear();
void ClearUndo();
void Copy();
void Cut();
void DeselectAll();
int GetCharFromPosition(Point pt);
int GetCharIndexFromPosition(Point pt);
int GetFirstCharIndexFromLine(int lineNumber);
int GetLineFromCharIndex(int index);
Point GetPositionFromCharIndex(int index);
void Paste();
void ScrollToCaret();
void Select(int start, int length);
void SelectAll();
void Undo();
#endregion
}
public interface IContainedControl
{
#region Properties
Border Border { get; set; }
Control ContainedControl { get; }
#endregion
}
public interface IControlStyle
{
#region Properties
StyleManager StyleManager { get; set; }
#endregion
}
public interface IAnimate
{
#region Properties
bool Animation { get; set; }
#endregion
#region Events
void ConfigureAnimation();
void DrawAnimation(Graphics graphics);
#endregion
}
public interface IControlState
{
#region Properties
Gradient DisabledGradient { get; }
Gradient EnabledGradient { get; }
#endregion
}
public interface IControlStates : IControlState
{
#region Properties
Gradient HoverGradient { get; }
Gradient PressedGradient { get; }
#endregion
}
public interface IImageControl
{
#region Properties
Image Hover { get; set; }
Image Normal { get; set; }
Image Pressed { get; set; }
#endregion
}
}