diff --git a/jni/Android.mk b/jni/Android.mk index 2a817ad..7144448 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -20,7 +20,8 @@ LOCAL_CFLAGS := -D__PLATFORM__Android \ -DEWOL_USE_FREE_TYPE \ -DETK_DEBUG_LEVEL=3 \ -DEDN_DEBUG_LEVEL=3 \ - -DDATA_IN_APK + -DDATA_IN_APK \ + -frtti include $(BUILD_SHARED_LIBRARY) diff --git a/jni/edn/Buffer/BufferText.cpp b/jni/edn/Buffer/BufferText.cpp index 932a5e5..8fc87c5 100644 --- a/jni/edn/Buffer/BufferText.cpp +++ b/jni/edn/Buffer/BufferText.cpp @@ -272,11 +272,11 @@ void BufferText::CursorDisplay(ewol::OObject2DColored* OOColored, int32_t x, int OOColored->Rectangle( x, y, letterWidth, letterHeight, clip); } else { // TODO : Clipping - if (x >= clip.x) { + //if (x >= clip.x) { OOColored->Line( (int32_t)(x-CURSOR_WIDTH), (int32_t)(y) , (int32_t)(x+CURSOR_WIDTH), (int32_t)(y) , CURSOR_THICKNESS); OOColored->Line( (int32_t)(x-CURSOR_WIDTH), (int32_t)(y+letterHeight-CURSOR_THICKNESS), (int32_t)(x+CURSOR_WIDTH), (int32_t)(y+letterHeight-CURSOR_THICKNESS), CURSOR_THICKNESS); OOColored->Line( (int32_t)(x) , (int32_t)(y) , (int32_t)(x) , (int32_t)(y+letterHeight-CURSOR_THICKNESS), CURSOR_THICKNESS); - } + //} } }