summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_unit_converter.cs
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-11-16 11:11:50 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-11-16 11:26:57 +0100
commitd4526f44b8c20010061c42a87ac0496796311afb (patch)
treea51fb132e5b0c5498d67ef441bc53dcb57846f63 /src/examples/elementary/efl_ui_unit_converter.cs
parent2d460e52e4a1f6b87bd04cdd8a99a2ec4f1ba659 (diff)
elementary: rename Efl.Ui.Popup classes
Summary: Efl.Ui.Popup classes are renamed intuitively from backward order to forward order. Efl.Ui.Popup_Alert -> Efl.Ui.Alert_Popup Efl.Ui.Popup_Alert_Scroll -> Efl.Ui.Scroll_Alert_Popup Efl.Ui.Popup_Alert_Text -> Efl.Ui.Text_Alert_Popup Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: herb, SanghyeonLee, woohyun, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7292
Diffstat (limited to 'src/examples/elementary/efl_ui_unit_converter.cs')
-rw-r--r--src/examples/elementary/efl_ui_unit_converter.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/efl_ui_unit_converter.cs b/src/examples/elementary/efl_ui_unit_converter.cs
index e3013e984d..3f6c7abd26 100644
--- a/src/examples/elementary/efl_ui_unit_converter.cs
+++ b/src/examples/elementary/efl_ui_unit_converter.cs
@@ -16,14 +16,14 @@ public class Example
16 16
17 private static void ShowErrorPopup(efl.ui.Win win, string message) 17 private static void ShowErrorPopup(efl.ui.Win win, string message)
18 { 18 {
19 efl.ui.IPopup_Alert popup = new efl.ui.Popup_Alert(win); 19 efl.ui.IAlert_Popup popup = new efl.ui.Alert_Popup(win);
20 efl.ui.Text popup_text = new efl.ui.Text(popup); 20 efl.ui.Text popup_text = new efl.ui.Text(popup);
21 popup_text.SetText($"Error: {message}"); 21 popup_text.SetText($"Error: {message}");
22 popup.SetContent(popup_text); 22 popup.SetContent(popup_text);
23 popup.SetVisible(true); 23 popup.SetVisible(true);
24 popup.SetButton(efl.ui.Popup_Alert_Button.Positive, "Ok", null); 24 popup.SetButton(efl.ui.Alert_Popup_Button.Positive, "Ok", null);
25 popup.SetSize(new eina.Size2D(150, 30)); 25 popup.SetSize(new eina.Size2D(150, 30));
26 popup.ButtonClickedEvt += (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args e) => { 26 popup.ButtonClickedEvt += (object sender, efl.ui.Alert_Popup.ButtonClickedEvt_Args e) => {
27 popup.SetParent(null); 27 popup.SetParent(null);
28 popup.Invalidate(); 28 popup.Invalidate();
29 }; 29 };