summaryrefslogtreecommitdiff
path: root/unsorted/evas/evas_mono_rectangle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'unsorted/evas/evas_mono_rectangle.cs')
-rw-r--r--unsorted/evas/evas_mono_rectangle.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/unsorted/evas/evas_mono_rectangle.cs b/unsorted/evas/evas_mono_rectangle.cs
index 8db2c63e..c31c2478 100644
--- a/unsorted/evas/evas_mono_rectangle.cs
+++ b/unsorted/evas/evas_mono_rectangle.cs
@@ -14,15 +14,15 @@ class TestMain
14 14
15 efl.All.Init(); 15 efl.All.Init();
16 16
17 efl.Loop loop = new efl.LoopConcrete(); 17 efl.Loop loop = new efl.Loop();
18 EcoreEvas ecore_evas = new EcoreEvas(); 18 EcoreEvas ecore_evas = new EcoreEvas();
19 efl.canvas.Object canvas = ecore_evas.canvas; 19 efl.canvas.IObject canvas = ecore_evas.canvas;
20 canvas.SetVisible(true); 20 canvas.SetVisible(true);
21 21
22 efl.Object parent = canvas.GetParent(); 22 efl.IObject parent = canvas.GetParent();
23 System.Diagnostics.Debug.Assert(parent.raw_handle != IntPtr.Zero); 23 System.Diagnostics.Debug.Assert(parent.raw_handle != IntPtr.Zero);
24 24
25 efl.canvas.Rectangle rect = new efl.canvas.RectangleConcrete(canvas); 25 efl.canvas.Rectangle rect = new efl.canvas.Rectangle(canvas);
26 rect.SetColor(colors[0, 0], colors[0, 1], colors[0, 2], 255); 26 rect.SetColor(colors[0, 0], colors[0, 1], colors[0, 2], 255);
27 eina.Size2D size = new eina.Size2D(); 27 eina.Size2D size = new eina.Size2D();
28 size.W = 640; 28 size.W = 640;
@@ -30,7 +30,7 @@ class TestMain
30 rect.SetSize(size); 30 rect.SetSize(size);
31 rect.SetVisible(true); 31 rect.SetVisible(true);
32 32
33 canvas.KeyDownEvt += (object sender, efl.input.InterfaceConcrete.KeyDownEvt_Args e) => { 33 canvas.KeyDownEvt += (object sender, efl.input.Interface.KeyDownEvt_Args e) => {
34 color_index = (color_index + 1) % 3; 34 color_index = (color_index + 1) % 3;
35 Console.WriteLine("Key Down"); 35 Console.WriteLine("Key Down");
36 Console.WriteLine("Got key obj at {0}", e.arg.raw_handle.ToString("X")); 36 Console.WriteLine("Got key obj at {0}", e.arg.raw_handle.ToString("X"));