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
10
KDSize
VerticalCursorView::minimalSizeForOptimalDisplay
()
const
{
11
return
KDSize
(1, 0);
12
}
13
14
}
Shared
Definition:
banner_view.cpp:5
Shared::VerticalCursorView::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
vertical_cursor_view.cpp:5
KDCoordinate
int16_t KDCoordinate
Definition:
coordinate.h:6
vertical_cursor_view.h
KDSize
Definition:
size.h:6
Shared::VerticalCursorView::minimalSizeForOptimalDisplay
KDSize minimalSizeForOptimalDisplay() const override
Definition:
vertical_cursor_view.cpp:10
KDContext
Definition:
context.h:8
KDColorBlack
constexpr KDColor KDColorBlack
Definition:
color.h:41
KDRect
Definition:
rect.h:26
KDContext::fillRect
void fillRect(KDRect rect, KDColor color)
Definition:
context_rect.cpp:8
KDRect::height
KDCoordinate height() const
Definition:
rect.h:40
View::bounds
KDRect bounds() const
Definition:
view.cpp:157
epsilon
apps
shared
vertical_cursor_view.cpp
Generated by
1.8.14