error android compilation for the reintrepreted cast
This commit is contained in:
parent
a4d314723d
commit
fced6df123
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user