Blame view

Modif/epsilon-master/escher/src/text_cursor_view.cpp 302 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
  #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);
  }