From: Joogab Yun Date: Tue, 1 Sep 2020 08:07:42 +0000 (+0900) Subject: Revert "Fix build errors for MS-Windows after KeyEvent class pimpling patch." X-Git-Tag: accepted/tizen/unified/20200903.151828~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=066affb40c3fe175062c09ceace4c5792a250d5a Revert "Fix build errors for MS-Windows after KeyEvent class pimpling patch." This reverts commit ec76e50dd21888a0049b003df0c2d3b4b6a257de. --- diff --git a/dali/internal/input/windows/input-method-context-impl-win.cpp b/dali/internal/input/windows/input-method-context-impl-win.cpp index 4accb32..b15c0dd 100755 --- a/dali/internal/input/windows/input-method-context-impl-win.cpp +++ b/dali/internal/input/windows/input-method-context-impl-win.cpp @@ -342,11 +342,11 @@ bool InputMethodContextWin::FilterEventKey( const Dali::KeyEvent& keyEvent ) if ( ! KeyLookup::IsDeviceButton( keyEvent.GetKeyName().c_str() )) { //check whether it's key down or key up event - if ( keyEvent.GetState() == Dali::KeyEvent::Down ) + if ( keyEvent.state == Dali::KeyEvent::Down ) { eventHandled = ProcessEventKeyDown( keyEvent ); } - else if ( keyEvent.GetState() == Dali::KeyEvent::Up ) + else if ( keyEvent.state == Dali::KeyEvent::Up ) { eventHandled = ProcessEventKeyUp( keyEvent ); } @@ -377,13 +377,13 @@ void InputMethodContextWin::GetPreeditStyle( Dali::InputMethodContext::PreEditAt attrs = mPreeditAttrs; } -bool InputMethodContextWin::ProcessEventKeyDown( const Dali::KeyEvent& keyEvent ) +bool InputMethodContextWin::ProcessEventKeyDown( const KeyEvent& keyEvent ) { bool eventHandled( false ); return eventHandled; } -bool InputMethodContextWin::ProcessEventKeyUp( const Dali::KeyEvent& keyEvent ) +bool InputMethodContextWin::ProcessEventKeyUp( const KeyEvent& keyEvent ) { bool eventHandled( false ); return eventHandled; diff --git a/dali/internal/input/windows/input-method-context-impl-win.h b/dali/internal/input/windows/input-method-context-impl-win.h index 58b91b3..253bc02 100755 --- a/dali/internal/input/windows/input-method-context-impl-win.h +++ b/dali/internal/input/windows/input-method-context-impl-win.h @@ -281,7 +281,7 @@ private: * @param[in] keyEvent The event key to be handled. * @return Whether the event key is handled. */ - bool ProcessEventKeyDown( const Dali::KeyEvent& keyEvent ); + bool ProcessEventKeyDown( const KeyEvent& keyEvent ); /** * @brief Process event key up, whether filter a key to isf. @@ -289,7 +289,7 @@ private: * @param[in] keyEvent The event key to be handled. * @return Whether the event key is handled. */ - bool ProcessEventKeyUp( const Dali::KeyEvent& keyEvent ); + bool ProcessEventKeyUp( const KeyEvent& keyEvent ); /** * Called when the binded actor is added to a window.