diff options
-rw-r--r-- | apps/csharp/texteditor/src/texteditor_main.cs | 2 | ||||
-rw-r--r-- | reference/csharp/ui/src/focus_main.cs | 2 | ||||
-rw-r--r-- | reference/csharp/ui/src/ui_container.cs | 4 | ||||
-rw-r--r-- | 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 b720307..317680d 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 | |||
97 | // to accommodate all its buttons and not a pixel more. The rest of the | 97 | // to accommodate all its buttons and not a pixel more. The rest of the |
98 | // space will be given to the other object in the parent container. | 98 | // space will be given to the other object in the parent container. |
99 | bar.SetHintWeight(1, 0); | 99 | bar.SetHintWeight(1, 0); |
100 | bar.SetDirection(Efl.Ui.Dir.Horizontal); | 100 | bar.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal); |
101 | parent.Pack(bar); | 101 | parent.Pack(bar); |
102 | 102 | ||
103 | // "New" button | 103 | // "New" button |
diff --git a/reference/csharp/ui/src/focus_main.cs b/reference/csharp/ui/src/focus_main.cs index 4ca376e..8c69cca 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 | |||
39 | 39 | ||
40 | // Create an horizontal box to contain the two buttons | 40 | // Create an horizontal box to contain the two buttons |
41 | var hbox = new Efl.Ui.Box(vbox); | 41 | var hbox = new Efl.Ui.Box(vbox); |
42 | hbox.SetDirection(Efl.Ui.Dir.Horizontal); | 42 | hbox.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal); |
43 | vbox.Pack(hbox); | 43 | vbox.Pack(hbox); |
44 | 44 | ||
45 | // Create a "Focus Mover" button | 45 | // Create a "Focus Mover" button |
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs index 3b14bc0..f8f6ac8 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 | |||
38 | Efl.Ui.Table table = new Efl.Ui.Table(win); | 38 | Efl.Ui.Table table = new Efl.Ui.Table(win); |
39 | // Table with two columns, that get filled left to right, and then top to bottom | 39 | // Table with two columns, that get filled left to right, and then top to bottom |
40 | table.SetTableColumns(2); | 40 | table.SetTableColumns(2); |
41 | table.SetDirection(Efl.Ui.Dir.Right); | 41 | table.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal); |
42 | Efl.Ui.Button button; | 42 | Efl.Ui.Button button; |
43 | 43 | ||
44 | for (int i = 1; i <= 4; ++i) | 44 | for (int i = 1; i <= 4; ++i) |
@@ -84,7 +84,7 @@ public class Example : Efl.Csharp.Application | |||
84 | // Create a second, horizontally-split panes container and set it as the content of | 84 | // Create a second, horizontally-split panes container and set it as the content of |
85 | // the second pane of the first container | 85 | // the second pane of the first container |
86 | Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win); | 86 | Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win); |
87 | hsplit.SetDirection(Efl.Ui.Dir.Horizontal); | 87 | hsplit.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal); |
88 | hsplit.SetSplitRatio(0.85); | 88 | hsplit.SetSplitRatio(0.85); |
89 | vsplit.SecondPart.SetContent(hsplit); | 89 | vsplit.SecondPart.SetContent(hsplit); |
90 | 90 | ||
diff --git a/unsorted/elementary/efl_ui_unit_converter.cs b/unsorted/elementary/efl_ui_unit_converter.cs index ed5b434..64286a2 100644 --- a/unsorted/elementary/efl_ui_unit_converter.cs +++ b/unsorted/elementary/efl_ui_unit_converter.cs | |||
@@ -46,10 +46,10 @@ public class Example | |||
46 | win.SetAutohide(true); | 46 | win.SetAutohide(true); |
47 | 47 | ||
48 | Efl.Ui.Box_Flow box = new Efl.Ui.Box_Flow(win); | 48 | Efl.Ui.Box_Flow box = new Efl.Ui.Box_Flow(win); |
49 | box.SetDirection(Efl.Ui.Dir.Horizontal); | 49 | box.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal); |
50 | 50 | ||
51 | Efl.Ui.Box_Flow miles_box = new Efl.Ui.Box_Flow(box); | 51 | Efl.Ui.Box_Flow miles_box = new Efl.Ui.Box_Flow(box); |
52 | miles_box.SetDirection(Efl.Ui.Dir.Down); | 52 | miles_box.SetOrientation(Efl.Ui.LayoutOrientation.Down); |
53 | 53 | ||
54 | box.DoPack(miles_box); | 54 | box.DoPack(miles_box); |
55 | 55 | ||
@@ -75,7 +75,7 @@ public class Example | |||
75 | 75 | ||
76 | 76 | ||
77 | Efl.Ui.Box_Flow kms_box = new Efl.Ui.Box_Flow(box); | 77 | Efl.Ui.Box_Flow kms_box = new Efl.Ui.Box_Flow(box); |
78 | kms_box.SetDirection(Efl.Ui.Dir.Down); | 78 | kms_box.SetOrientation(Efl.Ui.LayoutOrientation.Down); |
79 | 79 | ||
80 | box.DoPack(kms_box); | 80 | box.DoPack(kms_box); |
81 | 81 | ||