mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
11 lines
367 B
C++
11 lines
367 B
C++
#include "centered_screen_test_controller.h"
|
|
|
|
namespace HardwareTest {
|
|
|
|
void CenteredScreenTestController::ContentView::drawRect(KDContext * ctx, KDRect rect) const {
|
|
ctx->fillRect(rect, KDColorWhite);
|
|
ctx->fillRect(KDRect(k_outlineThickness, k_outlineThickness, bounds().width()-2*k_outlineThickness, bounds().height()-2*k_outlineThickness), KDColorBlack);
|
|
}
|
|
|
|
}
|