aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/ScrollingTextBox.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
commit1293bc896bdbc6819999d17bda8286a6e1a792b0 (patch)
tree383da46727deeea1e6439fb36de8ac7aac6c5007 /src/GraphicObjects/ScrollingTextBox.cs
parent915c81151ff627f7da5fee589d6fe497b88eec30 (diff)
rename CurrentInterface to IFace
Diffstat (limited to 'src/GraphicObjects/ScrollingTextBox.cs')
-rw-r--r--src/GraphicObjects/ScrollingTextBox.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/ScrollingTextBox.cs b/src/GraphicObjects/ScrollingTextBox.cs
index c84594df..d3c4276e 100644
--- a/src/GraphicObjects/ScrollingTextBox.cs
+++ b/src/GraphicObjects/ScrollingTextBox.cs
@@ -467,12 +467,12 @@ namespace Crow
public override void onMouseEnter (object sender, MouseMoveEventArgs e)
{
base.onMouseEnter (sender, e);
- CurrentInterface.MouseCursor = XCursor.Text;
+ IFace.MouseCursor = XCursor.Text;
}
public override void onMouseLeave (object sender, MouseMoveEventArgs e)
{
base.onMouseLeave (sender, e);
- CurrentInterface.MouseCursor = XCursor.Default;
+ IFace.MouseCursor = XCursor.Default;
}
protected override void onFocused (object sender, EventArgs e)
{
@@ -558,7 +558,7 @@ namespace Crow
if (!MoveRight ())
return;
}else if (e.Shift)
- CurrentInterface.Clipboard = this.SelectedText;
+ IFace.Clipboard = this.SelectedText;
this.DeleteChar ();
break;
case Key.Enter:
@@ -604,9 +604,9 @@ namespace Crow
break;
case Key.Insert:
if (e.Shift)
- this.Insert (CurrentInterface.Clipboard);
+ this.Insert (IFace.Clipboard);
else if (e.Control && !selectionIsEmpty)
- CurrentInterface.Clipboard = this.SelectedText;
+ IFace.Clipboard = this.SelectedText;
break;
case Key.Left:
if (e.Shift) {