bug correction
This commit is contained in:
parent
c15c4fa9d2
commit
d1677a10ba
@ -179,6 +179,7 @@ void EWOL_NativeRender(void)
|
|||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
} else {
|
} else {
|
||||||
EWOL_GenericDraw(true);
|
EWOL_GenericDraw(true);
|
||||||
|
//EWOL_GenericDraw(false);
|
||||||
}
|
}
|
||||||
glFlush();
|
glFlush();
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,20 @@ bool ewol::List::OnEventInput(int32_t IdInput, eventInputType_te typeEvent, etkF
|
|||||||
//EWOL_DEBUG("OnEventInput(" << IdInput << "," << typeEvent << "," << 0 << "," << rawID << "," << x <<"," << y << ");");
|
//EWOL_DEBUG("OnEventInput(" << IdInput << "," << typeEvent << "," << 0 << "," << rawID << "," << x <<"," << y << ");");
|
||||||
bool isUsed = OnItemEvent(IdInput, typeEvent, 0, rawID, x, y);
|
bool isUsed = OnItemEvent(IdInput, typeEvent, 0, rawID, x, y);
|
||||||
if (true == isUsed) {
|
if (true == isUsed) {
|
||||||
ewol::widgetManager::FocusKeep(this);
|
// TODO : this generate bugs ... I did not understand why ..
|
||||||
|
//ewol::widgetManager::FocusKeep(this);
|
||||||
}
|
}
|
||||||
return isUsed;
|
return isUsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void ewol::List::OnGetFocus(void)
|
||||||
|
{
|
||||||
|
EWOL_DEBUG("Ewol::List Get Focus");
|
||||||
|
}
|
||||||
|
|
||||||
|
void ewol::List::OnLostFocus(void)
|
||||||
|
{
|
||||||
|
EWOL_DEBUG("Ewol::List Lost Focus");
|
||||||
|
}
|
||||||
|
@ -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) {
|
virtual bool OnItemEvent(int32_t IdInput, ewol::eventInputType_te typeEvent, int32_t colomn, int32_t raw, etkFloat_t x, etkFloat_t y) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
protected:
|
||||||
|
virtual void OnGetFocus(void);
|
||||||
|
virtual void OnLostFocus(void);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user