aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
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
parentelementary: remove Efl.Ui.Layout namespace (diff)
downloadefl-d4526f44b8c20010061c42a87ac0496796311afb.tar.gz
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')
-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
private static void ShowErrorPopup(efl.ui.Win win, string message)
{
- efl.ui.IPopup_Alert popup = new efl.ui.Popup_Alert(win);
+ efl.ui.IAlert_Popup popup = new efl.ui.Alert_Popup(win);
efl.ui.Text popup_text = new efl.ui.Text(popup);
popup_text.SetText($"Error: {message}");
popup.SetContent(popup_text);
popup.SetVisible(true);
- popup.SetButton(efl.ui.Popup_Alert_Button.Positive, "Ok", null);
+ popup.SetButton(efl.ui.Alert_Popup_Button.Positive, "Ok", null);
popup.SetSize(new eina.Size2D(150, 30));
- popup.ButtonClickedEvt += (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args e) => {
+ popup.ButtonClickedEvt += (object sender, efl.ui.Alert_Popup.ButtonClickedEvt_Args e) => {
popup.SetParent(null);
popup.Invalidate();
};