[apps\shared] Create a folder shared/

Change-Id: I94e4474ff5ab3bf9db7afd5b3be57b985755ecdf
This commit is contained in:
Émilie Feral
2017-02-06 14:26:36 +01:00
parent 69e46f4958
commit b06c54856f
69 changed files with 106 additions and 103 deletions

View File

@@ -0,0 +1,8 @@
#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);
}