X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2Fexamples%2Fspin-control.cs;h=8e5826ba570d322377d195b8a50ee19ee511c806;hp=af74f1e17657265beec8ccf7b6f2f4e7f179ad8d;hb=0802b509ef2af3d87444003ab9b66224109447f4;hpb=7cf93d1958176f8a0ba1b9f9c748519a13fd55a6 diff --git a/plugins/dali-swig/examples/spin-control.cs b/plugins/dali-swig/examples/spin-control.cs old mode 100644 new mode 100755 index af74f1e..8e5826b --- a/plugins/dali-swig/examples/spin-control.cs +++ b/plugins/dali-swig/examples/spin-control.cs @@ -89,7 +89,7 @@ namespace MyCSharpExample { // Make sure when the current spin that takes input focus also takes the keyboard focus // For example, when you tap the spin directly - KeyboardFocusManager.Get().SetCurrentFocusActor(_textField); + FocusManager.Instance.SetCurrentFocusActor(_textField); } public void TextFieldKeyInputFocusLost(object source, KeyInputFocusLostEventArgs e) @@ -371,13 +371,13 @@ namespace MyCSharpExample _spinDay.SetKeyboardFocusable(true); _spinDay.Name = "_spinDay"; - KeyboardFocusManager keyboardFocusManager = KeyboardFocusManager.Get(); + FocusManager keyboardFocusManager = FocusManager.Instance; keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChange; keyboardFocusManager.FocusedActorEnterKeyPressed += OnFocusedActorEnterKeyPressed; } - private Actor OnKeyboardPreFocusChange(object source, KeyboardFocusManager.PreFocusChangeEventArgs e) + private Actor OnKeyboardPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e) { Actor nextFocusActor = e.Proposed; @@ -414,7 +414,7 @@ namespace MyCSharpExample return nextFocusActor; } - private void OnFocusedActorEnterKeyPressed(object source, KeyboardFocusManager.FocusedActorEnterKeyEventArgs e) + private void OnFocusedActorEnterKeyPressed(object source, FocusManager.FocusedActorEnterKeyEventArgs e) { // Make the text field in the current focused spin to take the key input KeyInputFocusManager manager = KeyInputFocusManager.Get();