examples: Changes after optional parameters

Summary:
After a new iteration of D7789, constructor parameters were split among
required and optionals.

This patch depends on making some Efl.Ui.Win parameters optional.

Reviewers: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D7851
This commit is contained in:
Lauro Moura 2019-01-31 16:38:17 -02:00
parent e0e1f3161d
commit 07792a287a
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class LifeWindow
public LifeWindow()
{
Efl.Ui.Win win = new Efl.Ui.Win(null, null, Efl.Ui.WinType.Basic);
Efl.Ui.Win win = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
win.SetText("EFL Life");
win.SetAutohide(true);

View File

@ -153,7 +153,7 @@ public class TextEditor
public TextEditor()
{
// Create a window and initialize it
win = new Efl.Ui.Win(Efl.App.AppMain);
win = new Efl.Ui.Win(parent: Efl.App.AppMain);
win.SetText("Text Editor");
win.SetAutohide(true);
win.HideEvt += GUIQuitCb;