diff --git a/Sources/libewol/ewol/base/guiAndroid.cpp b/Sources/libewol/ewol/base/guiAndroid.cpp index 28d3a071..d38b8fc5 100644 --- a/Sources/libewol/ewol/base/guiAndroid.cpp +++ b/Sources/libewol/ewol/base/guiAndroid.cpp @@ -179,6 +179,7 @@ void EWOL_NativeRender(void) glDisable(GL_BLEND); } else { EWOL_GenericDraw(true); + //EWOL_GenericDraw(false); } glFlush(); } diff --git a/Sources/libewol/ewol/widget/List.cpp b/Sources/libewol/ewol/widget/List.cpp index fc66b86c..5c160ebe 100644 --- a/Sources/libewol/ewol/widget/List.cpp +++ b/Sources/libewol/ewol/widget/List.cpp @@ -160,7 +160,20 @@ bool ewol::List::OnEventInput(int32_t IdInput, eventInputType_te typeEvent, etkF //EWOL_DEBUG("OnEventInput(" << IdInput << "," << typeEvent << "," << 0 << "," << rawID << "," << x <<"," << y << ");"); bool isUsed = OnItemEvent(IdInput, typeEvent, 0, rawID, x, y); if (true == isUsed) { - ewol::widgetManager::FocusKeep(this); + // TODO : this generate bugs ... I did not understand why .. + //ewol::widgetManager::FocusKeep(this); } return isUsed; -} \ No newline at end of file +} + + + +void ewol::List::OnGetFocus(void) +{ + EWOL_DEBUG("Ewol::List Get Focus"); +} + +void ewol::List::OnLostFocus(void) +{ + EWOL_DEBUG("Ewol::List Lost Focus"); +} diff --git a/Sources/libewol/ewol/widget/List.h b/Sources/libewol/ewol/widget/List.h index 71b5c252..046d99e8 100644 --- a/Sources/libewol/ewol/widget/List.h +++ b/Sources/libewol/ewol/widget/List.h @@ -88,6 +88,9 @@ namespace ewol { virtual bool OnItemEvent(int32_t IdInput, ewol::eventInputType_te typeEvent, int32_t colomn, int32_t raw, etkFloat_t x, etkFloat_t y) { return false; } + protected: + virtual void OnGetFocus(void); + virtual void OnLostFocus(void); }; };