diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-23 02:23:24 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-23 02:23:24 +0100 |
| commit | d396c47e492aa7badcfefba41c36c516558fb1ec (patch) | |
| tree | b8a6b6f68313aa9ac9bf7bb10c1004df7489e633 /Samples/common/src/Editor.cs | |
| parent | dbb9034d864fc42f92a66b08a0734edc3dc73e8c (diff) | |
save commit, Drawing2D shared lib
Diffstat (limited to 'Samples/common/src/Editor.cs')
| -rw-r--r-- | Samples/common/src/Editor.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Samples/common/src/Editor.cs b/Samples/common/src/Editor.cs index 90335d83..0de7af55 100644 --- a/Samples/common/src/Editor.cs +++ b/Samples/common/src/Editor.cs @@ -6,13 +6,15 @@ using System; using Glfw; using Crow.Text; using System.Collections.Generic; -using Crow.Drawing; + using System.Threading.Tasks; using System.Linq; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Collections; +using Drawing2D; + namespace Crow { public class Editor : TextBox { @@ -293,7 +295,7 @@ namespace Crow base.onKeyDown(sender, e); } - protected override void drawContent (Context gr) { + protected override void drawContent (IContext gr) { try { lock(TokenMutex) { if (source == null || source.Tokens.Length == 0) { |