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