xartigas pushed a commit to branch master.

http://git.enlightenment.org/tools/examples.git/commit/?id=d325da211908251395462a71619deb6cf668bc45

commit d325da211908251395462a71619deb6cf668bc45
Author: Xavi Artigas <xavierarti...@yahoo.es>
Date:   Fri Jun 14 12:25:26 2019 +0200

    efl-mono: Efl.Ui.Dir -> Efl.Ui.LayoutOrientation
---
 apps/csharp/texteditor/src/texteditor_main.cs | 2 +-
 reference/csharp/ui/src/focus_main.cs         | 2 +-
 reference/csharp/ui/src/ui_container.cs       | 4 ++--
 unsorted/elementary/efl_ui_unit_converter.cs  | 6 +++---
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/apps/csharp/texteditor/src/texteditor_main.cs 
b/apps/csharp/texteditor/src/texteditor_main.cs
index b720307c..317680da 100644
--- a/apps/csharp/texteditor/src/texteditor_main.cs
+++ b/apps/csharp/texteditor/src/texteditor_main.cs
@@ -97,7 +97,7 @@ public class TextEditor : Efl.Csharp.Application
         // to accommodate all its buttons and not a pixel more. The rest of the
         // space will be given to the other object in the parent container.
         bar.SetHintWeight(1, 0);
-        bar.SetDirection(Efl.Ui.Dir.Horizontal);
+        bar.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
         parent.Pack(bar);
 
         // "New" button
diff --git a/reference/csharp/ui/src/focus_main.cs 
b/reference/csharp/ui/src/focus_main.cs
index 4ca376e4..8c69ccaf 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -39,7 +39,7 @@ public class Example : Efl.Csharp.Application
 
         // Create an horizontal box to contain the two buttons
         var hbox = new Efl.Ui.Box(vbox);
-        hbox.SetDirection(Efl.Ui.Dir.Horizontal);
+        hbox.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
         vbox.Pack(hbox);
 
         // Create a "Focus Mover" button
diff --git a/reference/csharp/ui/src/ui_container.cs 
b/reference/csharp/ui/src/ui_container.cs
index 3b14bc02..f8f6ac81 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
         Efl.Ui.Table table = new Efl.Ui.Table(win);
         // Table with two columns, that get filled left to right, and then top 
to bottom
         table.SetTableColumns(2);
-        table.SetDirection(Efl.Ui.Dir.Right);
+        table.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
         Efl.Ui.Button button;
 
         for (int i = 1; i <= 4; ++i)
@@ -84,7 +84,7 @@ public class Example : Efl.Csharp.Application
         // Create a second, horizontally-split panes container and set it as 
the content of
         // the second pane of the first container
         Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win);
-        hsplit.SetDirection(Efl.Ui.Dir.Horizontal);
+        hsplit.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
         hsplit.SetSplitRatio(0.85);
         vsplit.SecondPart.SetContent(hsplit);
 
diff --git a/unsorted/elementary/efl_ui_unit_converter.cs 
b/unsorted/elementary/efl_ui_unit_converter.cs
index ed5b434a..64286a20 100644
--- a/unsorted/elementary/efl_ui_unit_converter.cs
+++ b/unsorted/elementary/efl_ui_unit_converter.cs
@@ -46,10 +46,10 @@ public class Example
         win.SetAutohide(true);
 
         Efl.Ui.Box_Flow box = new Efl.Ui.Box_Flow(win);
-        box.SetDirection(Efl.Ui.Dir.Horizontal);
+        box.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
 
         Efl.Ui.Box_Flow miles_box = new Efl.Ui.Box_Flow(box);
-        miles_box.SetDirection(Efl.Ui.Dir.Down);
+        miles_box.SetOrientation(Efl.Ui.LayoutOrientation.Down);
 
         box.DoPack(miles_box);
 
@@ -75,7 +75,7 @@ public class Example
 
 
         Efl.Ui.Box_Flow kms_box = new Efl.Ui.Box_Flow(box);
-        kms_box.SetDirection(Efl.Ui.Dir.Down);
+        kms_box.SetOrientation(Efl.Ui.LayoutOrientation.Down);
 
         box.DoPack(kms_box);
 

-- 


Reply via email to