Files
Upsilon/apps/cursor_view.cpp
Émilie Feral 71f9913b08 [apps] Move the graph/cursor view to the apps root to be used by other
app (as regression app)

Change-Id: Ie3b7f1028333fe136b0ac761cc728a05a90ffc7f
2017-01-09 15:08:55 +01:00

9 lines
300 B
C++

#include "cursor_view.h"
void CursorView::drawRect(KDContext * ctx, KDRect rect) const {
KDCoordinate width = bounds().width();
KDCoordinate height = bounds().height();
ctx->fillRect(KDRect(width/2, 0, 1, height), KDColorBlack);
ctx->fillRect(KDRect(0, height/2, width, 1), KDColorBlack);
}