X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fexamples%2Fdate-picker-using-json.cs;h=272633fefb56a6a475cb63831e225e66c5c091a3;hp=ade1b72dd0c38483b30e5485828a44e896ec7388;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=24ea337df1049251ab2e47c556edc6e8458f9c93 diff --git a/plugins/dali-sharp/examples/date-picker-using-json.cs b/plugins/dali-sharp/examples/date-picker-using-json.cs index ade1b72..272633f 100644 --- a/plugins/dali-sharp/examples/date-picker-using-json.cs +++ b/plugins/dali-sharp/examples/date-picker-using-json.cs @@ -75,17 +75,17 @@ namespace MyCSharpExample _spinMonth.Value = 5; _spinDay.Value = 23; - _spinYear.SetKeyboardFocusable(true); - _spinMonth.SetKeyboardFocusable(true); - _spinDay.SetKeyboardFocusable(true); + _spinYear.SetFocusable(true); + _spinMonth.SetFocusable(true); + _spinDay.SetFocusable(true); - FocusManager keyboardFocusManager = FocusManager.Instance; - keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChange; - keyboardFocusManager.FocusedActorEnterKeyPressed += OnFocusedActorEnterKeyPressed; + FocusManager FocusManager = FocusManager.Instance; + FocusManager.PreFocusChange += OnPreFocusChange; + FocusManager.FocusedActorEnterKeyPressed += OnFocusedActorEnterKeyPressed; } - private Actor OnKeyboardPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e) + private Actor OnPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e) { Actor nextFocusActor = e.Proposed; @@ -94,7 +94,7 @@ namespace MyCSharpExample { nextFocusActor = _spinYear.SpinText; } - else if(e.Direction == View.KeyboardFocus.Direction.LEFT) + else if(e.Direction == View.Focus.Direction.LEFT) { // Move the focus to the spin in the left of the current focused spin if(e.Current == _spinMonth.SpinText) @@ -106,7 +106,7 @@ namespace MyCSharpExample nextFocusActor = _spinMonth.SpinText; } } - else if(e.Direction == View.KeyboardFocus.Direction.RIGHT) + else if(e.Direction == View.Focus.Direction.RIGHT) { // Move the focus to the spin in the right of the current focused spin if(e.Current == _spinYear.SpinText)