diff --git a/ewol/resource/TexturedFont.cpp b/ewol/resource/TexturedFont.cpp index 69b9428e..d02559d3 100644 --- a/ewol/resource/TexturedFont.cpp +++ b/ewol/resource/TexturedFont.cpp @@ -243,7 +243,7 @@ bool ewol::resource::TexturedFont::addGlyph(const char32_t& _val) { GlyphProperty tmpchar; tmpchar.m_UVal = _val; - if (true == m_font[iii]->getGlyphProperty(m_size, tmpchar)) { + if (m_font[iii]->getGlyphProperty(m_size, tmpchar) == true) { //EWOL_DEBUG("load char : '" << _val << "'=" << _val.get()); hasChange = true; // change line if needed ... @@ -295,6 +295,7 @@ bool ewol::resource::TexturedFont::addGlyph(const char32_t& _val) { } if (hasChange == true) { flush(); + ewol::getContext().forceRedrawAll(); //egami::store(m_data, "fileFont.bmp"); // ==> for debug test only ... } return hasChange; diff --git a/ewol/widget/WidgetScrolled.hpp b/ewol/widget/WidgetScrolled.hpp index 2aad7f37..85825662 100644 --- a/ewol/widget/WidgetScrolled.hpp +++ b/ewol/widget/WidgetScrolled.hpp @@ -62,6 +62,12 @@ namespace ewol { bool getSingleFinger() { return m_singleFingerMode; } + /** + * @brief Reset the scoll of the subWidget + */ + void resetScrollOrigin() { + m_originScrooled = vec2(0,0); + } private: bool m_fingerPresent[CALCULATE_SIMULTANEOUS_FINGER]; bool m_fingerScoolActivated;