Numworks Epsilon  1.4.1
Graphing Calculator Operating System
text_cursor_view.cpp
Go to the documentation of this file.
2 
3 void TextCursorView::drawRect(KDContext * ctx, KDRect rect) const {
4  KDCoordinate height = bounds().height();
5  ctx->fillRect(KDRect(0, 0, 1, height), KDColorBlack);
6 }
7 
9  return KDSize(k_width, 0);
10 }
11 
int16_t KDCoordinate
Definition: coordinate.h:6
static constexpr KDCoordinate k_width
Definition: size.h:6
void drawRect(KDContext *ctx, KDRect rect) const override
constexpr KDColor KDColorBlack
Definition: color.h:41
Definition: rect.h:26
void fillRect(KDRect rect, KDColor color)
Definition: context_rect.cpp:8
KDSize minimalSizeForOptimalDisplay() const override
KDCoordinate height() const
Definition: rect.h:40
KDRect bounds() const
Definition: view.cpp:157