Files
Upsilon/escher/src/text_cursor_view.cpp
Léa Saviot 627e96e5e3 [escher] Black cursor color.
Change-Id: I150e4f51a1162ded51af5e6a72cdaa70b428965d
2018-01-16 17:30:55 +01:00

12 lines
302 B
C++

#include <escher/text_cursor_view.h>
void TextCursorView::drawRect(KDContext * ctx, KDRect rect) const {
KDCoordinate height = bounds().height();
ctx->fillRect(KDRect(0, 0, 1, height), KDColorBlack);
}
KDSize TextCursorView::minimalSizeForOptimalDisplay() const {
return KDSize(k_width, 0);
}