From bde59c00bc550da561e1847014b7c0aa52b95189 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 22 Mar 2021 10:07:46 +0000 Subject: [PATCH] areas --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 307323846..294b9cb75 100644 --- a/README.md +++ b/README.md @@ -439,13 +439,16 @@ The screen is parted in a widget and app area for lcd mode `direct`(default). | areas | as rectangle or point | | :-:| :-: | | Widget | (0,0,239,23) | -| Apps | (0,24,239,239) | +| Widget bottom bar (optional) | (0,216,239,239) | +| Apps | (0,24,239,239) (see below) | | BTN1 | (230, 55) | | BTN2 | (230, 140) | | BTN3 | (230, 210) | | BTN4 | (0,0,119, 239)| | BTN5 | (120,0,239,239) | +- If there are widgets at the bottom of the screen, apps should actually keep the bottom 24px free, so should keep to the area (0,24,239,215) + - Use `g.setFontAlign(0, 0, 3)` to draw rotated string to BTN1-BTN3 with `g.drawString()`. - For BTN4-5 the touch area is named