Merge pull request #7 from juanjiant-bit/ccr-18c0aefe-zpqwro

UI: paleta térmica JIANT, dibujos en pausa
This commit is contained in:
juanjiant-bit authored and GitHub committed 2026-10-09 07:03:44 -03:00
commit ee668769dd
7 files changed
+73 -201

No files matched your search

+4 -5
View File
@@ -121,11 +121,10 @@ FM1, FM2, FM3, DRUM y VOICE son ejemplos de engines: hay 4 tracks y cada uno pue
| 18 VISUALIZER | osciloscopio | ✅ sencillo |
| 20 PERFORMANCE | tempo, sección, macros y punch-in en vivo | ⏳ pendiente |
Todo se dibuja **por código** (`firmware/src/ui_organic.c`: curvas Bézier antialiasadas, contornos que se
interpolan, punteado, letras de referencia), sin imágenes guardadas, y reacciona a los parámetros y a lo que
suena. El estilo es el de las láminas anatómicas de los años 60: línea crema sobre negro, color solo en los
detalles. La paleta **JIANT** es la de fábrica. Primera pantalla: el espécimen de DRUM-X, una orquídea cuyos
órganos son los grupos del kit; el MORPH cambia su anatomía y cada golpe enciende sus vasos. Plan en
Por ahora la interfaz usa los gráficos funcionales con la **paleta térmica** JIANT (de fábrica): negro, índigo,
violeta, rojo, naranja, amarillo y blanco; cyan para los valores. Las barras de las tarjetas toman el calor de su
valor y la página de DRUM-X muestra los 8 sonidos como columnas que se encienden con cada golpe, con la barra de
MORPH arriba. Los dibujos orgánicos quedan para después de cerrar sonido y performance. Plan en
[docs/TONIC-UI.md](docs/TONIC-UI.md).
![DRUM-X en el firmware](docs/drumx-screen.png)
+13 -15
View File
@@ -53,24 +53,22 @@ sobre negro; color solo en los detalles (puntas rojas, vasos amarillos, cyan y v
referencia cyan en círculos; ejes punteados; punteado para sombrear. Nada de flores genéricas: cada pantalla es un
**espécimen** cuyos órganos son partes del instrumento, y cuya anatomía cambia con los parámetros.
## Pantallas hechas (con las láminas: `firmware/src/ui_plates.c`)
## Hoy: paleta térmica, gráficos funcionales
Paleta JIANT = la de las láminas: fondo negro, línea blanca, cyan para los valores, rojo para lo activo, y los demás
roles (teal, verde, amarillo, naranja, violeta) en `og_role`. En las otras paletas, mezclas de sus propios colores; en
GREY y MONO, grises.
Por decisión del usuario, los dibujos quedan **en pausa** hasta terminar sonido y performance: las páginas usan otra
vez los gráficos funcionales (onda, envolvente, LFO, FX, algoritmo) y solo se aplica la **paleta térmica**.
| Página | Lámina | Qué se mueve |
| --- | --- | --- |
| DRUM (EDIT) | 4 iris | sus 8 nodos cyan son los 8 sonidos: se encienden con cada golpe y se apagan con la caída (un sonido muteado queda oscuro); el MORPH abre la flor (A cerrada, B abierta); el WARP la hace temblar; escala A–B arriba |
| EDIT > SOUND | 4 iris | el nodo del sonido editado encendido, los demás quietos; el lado A/B abajo |
| LFO, LFO DEST | 10 y 11 | los cinco nadadores son las cinco ondas (SIN TRI SAW SQR S&H, anillos cyan violeta rojo naranja amarillo): la elegida brilla, las otras se apagan; las colas nadan a la velocidad del LFO, más abiertas con más profundidad |
| ENV, ENV DEST | 15 curvas | las curvas quietas, la envolvente real (ATK DEC SUS REL) dibujada en blanco dentro de la caja |
| FX | 8 ala | la membrana cyan, los envíos; las venas rojas, la distorsión; tiembla con el delay |
| ARP | 6 planta | sus nodos se encienden uno tras otro con los pasos del arpegio; apagada sin ARP |
| VOICE | 2 vaso | sus nodos teal son las voces del track, encendidas mientras suenan |
| EDIT de cada sinte | ANALOG 13, PHASE 1, LOFI 2, VOICE 17, TRIO 7, WHEEL 12, GRAIN 16, NOISE 5 | brilla con el nivel del track, se mece con su LFO |
- **Paleta JIANT** (la de fábrica): fondo negro, superficie índigo casi negra, texto blanco cálido, cyan para los
valores y el tema, naranja para lo activo.
- **Rampa de calor** `heat_col` (`ui_graph.c`): índigo → violeta → rojo → naranja → amarillo → blanco. En JIANT la
barra de cada tarjeta toma el color de su valor (bajo violeta, alto amarillo); en las otras paletas, el color de
tema de siempre, y la rampa va de su superficie a su acento y su texto.
- **DRUM** (EDIT del track de batería): 8 columnas, una por sonido (BD SD CP CH OH TM RS CB), cuya altura y calor
siguen el golpe y su caída; un sonido muteado queda tachado; arriba, la barra de MORPH de A a B. En EDIT > SOUND,
el sonido editado en cyan.
FM6 (el algoritmo), WHEEL (drawbars, en su página propia), SAMPLE y SLICE (la onda) conservan su gráfico funcional.
Las láminas (`assets/ui-shapes/plates.svg`), su conversor y `og_ill` siguen en el repo para retomarlas después; el
firmware ya no las incluye (−11 KB de flash).
## Cómo reemplazar los dibujos (vectores propios)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

+7 -2
View File
@@ -394,6 +394,11 @@ static void card_mot_of(const int16_t *vp)
#define LG_VB 49 /* the value's band: L capitals rows 49..69 */
#define LG_UY 73 /* the unit's line (S capitals rows 76..84) */
#define LG_GY 92 /* the gauge, 3 px */
/* a card's gauge: JIANT (thermal) its value as heat, violet .. yellow; another palette its theme colour */
static uint16_t gauge_col(int32_t ratio)
{
return settings.palette == UI_JIANT_INDEX ? heat_col(48 + clamp(ratio, 0, 1000) * 200 / 1000) : T_THEME;
}
static void draw_column_tall(uint32_t c, const char *label, const char *val, const char *unit, uint16_t vc, int32_t ratio,
uint32_t icon, int hot, int mot, int32_t kid)
{
@@ -463,7 +468,7 @@ static void draw_column_tall(uint32_t c, const char *label, const char *val, con
if (ratio >= 0) {
int32_t gw = COL_W - 10, fx = ratio * gw / 1000;
cv_rrect(5, LG_GY, gw, 3, 1, ux.style ? T_LINE : T_BG, T_SURF);
cv_rrect(5, LG_GY, fx < 3 ? 3 : fx, 3, 1, hot ? T_ACCENT : vc == T_DIM ? T_DIM : T_THEME, T_BG);
cv_rrect(5, LG_GY, fx < 3 ? 3 : fx, 3, 1, hot ? T_ACCENT : vc == T_DIM ? T_DIM : gauge_col(ratio), T_BG);
}
cv_blit((uint32_t)CARD_X(c), Y_LABEL);
}
@@ -589,7 +594,7 @@ static void draw_column(uint32_t c, const char *label, const char *val, const ch
if (!strip && ratio >= 0) {
int32_t gw = COL_W - 10, fx = ratio * gw / 1000;
cv_rrect(5, 38, gw, 3, 1, ux.style ? T_LINE : T_BG, T_SURF); /* (LINE: no card to cut it from) */
cv_rrect(5, 38, fx < 3 ? 3 : fx, 3, 1, hot ? T_ACCENT : vc == T_DIM ? T_DIM : T_THEME, T_BG);
cv_rrect(5, 38, fx < 3 ? 3 : fx, 3, 1, hot ? T_ACCENT : vc == T_DIM ? T_DIM : gauge_col(ratio), T_BG);
}
}
cv_oy = 0;
+45 -16
View File
@@ -13,7 +13,6 @@
/* the height ADSR and LFO are drawn on: 100 px, or (MENU > LARGE's strip: draw_graph) the strip's ~ 56 */
static int32_t graph_ht = 100;
#include "ui_organic.c" /* JIANT FM's organic line art (drawn by code) */
#include "ui_plates.c" /* .. the pages drawn with the user's plates */
/* Matches voice.c: attack is linear, decay and release are exponential
* (env += (target - env) * k each tick, ~99 % after the set time). Time
@@ -818,6 +817,44 @@ static void page_title(char *ti)
}
}
/* the strip's title: L centred (M when L lacks a glyph or is too wide) */
/* the thermal ramp (JIANT): a value 0..256 as heat, indigo .. violet .. red .. orange .. yellow .. white (other
* palettes: their surface toward their accent and text) */
static uint16_t heat_col(int32_t v)
{
static const uint16_t H[6] = {0x2008u, 0x895Fu, 0xF943u, 0xFBC0u, 0xFEA0u, 0xFFFFu};
int32_t k;
v = clamp(v, 0, 256);
if (settings.palette != UI_JIANT_INDEX)
return v < 128 ? ux_mix(T_SURF, T_ACCENT, v * 100 / 128) : ux_mix(T_ACCENT, T_TEXT, (v - 128) * 100 / 128);
k = v * 5 / 257;
return ux_mix(H[k], H[k + 1], (v * 5 - k * 256) * 100 / 256);
}
/* DRUM (DRUM-X): the eight sounds as columns, each as high and as hot as its hit now (a muted one crossed); the MORPH
* A .. B above. sel: the sound edited (EDIT > SOUND), its name in the theme colour; -1 none */
static void graph_drum(const track_t *t, int32_t sel)
{
const drum_lane_t *K = drum_kit_of(t);
int32_t morph = clamp(t->p[P_E0], 0, 127), mx = 30 + morph * 180 / 127;
uint32_t l;
cv_rect(30, 12, 180, 1, T_LINE);
cv_rect(30, 11, mx - 30, 3, heat_col(morph * 2));
cv_text(12, 8, &AF_S, "A", morph < 64 ? T_THEME : T_DIM);
cv_text_r(226, 8, &AF_S, "B", morph >= 64 ? T_THEME : T_DIM, T_SURF);
for (l = 0; l < 8u; l++) {
int32_t x = 18 + (int32_t)l * 26, e = K && K[l].x.live ? K[l].x.ea >> 22 : 0, h = 4 + e * 66 / 256;
int muted = dx_lane_muted(l);
cv_rect(x, 94 - 70, 16, 70, T_SURF);
cv_rect(x + 7, 24, 2, 70, T_LINE);
if (!muted)
cv_rect(x, 94 - h, 16, h, e ? heat_col(e) : T_DIM);
else {
cv_rect(x + 2, 58, 12, 1, T_DIM);
}
cv_text_in(x - 4, 100, 24, &AF_S, drum_lane_abbr(t, l), sel == (int32_t)l ? T_THEME : muted ? T_DIM : T_MID, T_SURF);
}
}
static void graph_title(void)
{
char ti[20];
@@ -1426,13 +1463,11 @@ static void draw_graph(void)
graph_scope(c);
} else {
switch (pg->graph) {
case GR_ADSR: /* (JIANT: the plates, ui_plates.c) */
cv_oy = 0;
graph_p_env(t);
case GR_ADSR:
graph_adsr(t, c);
break;
case GR_LFO:
cv_oy = 0;
graph_p_lfo(t);
graph_lfo(t, c);
break;
case GR_STEPS:
graph_steps(t, c);
@@ -1453,8 +1488,7 @@ static void draw_graph(void)
graph_chord(t, c);
break;
case GR_FX:
cv_oy = 0;
graph_p_fx(t);
graph_fx(t, c);
break;
case GR_SLCR:
graph_slicer(t, c);
@@ -1487,9 +1521,9 @@ static void draw_graph(void)
cv_oy = 0;
graph_events();
break;
case GR_DXSND: /* EDIT > SOUND: the kit's specimen, the sound's organ singled out */
case GR_DXSND: /* EDIT > SOUND: the kit's lanes, the sound edited singled out */
cv_oy = 0;
graph_p_drum(t, dx_ui_lane);
graph_drum(t, dx_ui_lane);
break;
case GR_TOOLS:
cv_oy = 0;
@@ -1501,13 +1535,8 @@ static void draw_graph(void)
else if (pg->scope == SC_ENGINE && t->eng_req % NENGINES == ENGI_FM6) graph_fm6(t, c); /* EDIT 1 and 2 */
else if (pg->scope == SC_ENGINE && t->eng_req % NENGINES == ENGI_DRUM) {
cv_oy = 0;
graph_p_drum(t, -1);
graph_drum(t, -1);
}
else if (pg->graph == GR_ARP) { cv_oy = 0; graph_p_arp(t); }
else if (pg->fam == FAM_LFO && pg->graph == GR_NONE) { cv_oy = 0; graph_p_lfo(t); }
else if (pg->fam == FAM_ENV && pg->graph == GR_NONE) { cv_oy = 0; graph_p_env(t); }
else if (pg->fam == FAM_EDIT && pg->id[0] == P_VOICE) { cv_oy = 0; graph_p_voices(t); }
else if (pg->scope == SC_ENGINE && plate_of(t)) { cv_oy = 0; graph_p_engine(t); }
#if FELUCCA_FM4
else if ((pg->scope == SC_ENGINE || pg->id[0] == P_FM1_LEVEL) && t->eng_req % NENGINES == ENGI_DIGITAL)
graph_fm(t, c); /* (OP LEVEL too: the levels on the chart) */
-159
View File
@@ -1,159 +0,0 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
/* JIANT FM's pages drawn with the user's plates (assets/ui-shapes/plates.svg, docs/TONIC-UI.md "Qué lámina va en
* cada pantalla"): each page's graph panel holds a plate (ui_organic.c og_plate) that lives with the sound: a role's
* colour lit or quieted by a value, dots lit by voices or hits, the line swaying with an LFO or a delay. The panel
* is 234 x 122 px (cv_oy 0). Numbers in the plates' order (SH_PLATES_1..17). */
enum { PL_HOME = 1, PL_VOICES, PL_FM, PL_DRUM, PL_BUD, PL_ARP, PL_MACRO, PL_FX, PL_SONG, PL_LFO3, PL_LFO2, PL_MAP,
PL_MIXER, PL_MOD, PL_ENV, PL_PUNCH, PL_CHORD };
/* plate n at (cx, cy) px, size px across (its +-63 units) */
static void plate(uint32_t n, int32_t cx, int32_t cy, int32_t size, const int16_t *glow, const uint8_t *lit,
uint32_t dot_role, int32_t sway, uint32_t ph)
{
if (n < 1u || n > SH_PLATES_COUNT)
return;
og_plate(SH_PLATES_ILLS[n - 1u], SH_PLATES_LENS[n - 1u], cx * OG_Q, cy * OG_Q, size * OG_Q / 126, glow, lit,
dot_role, sway, ph);
}
/* a small caption in the panel's corner (the plate's subject) */
static void plate_caption(const char *l, const char *r)
{
if (l)
cv_text(10, 106, &AF_S, l, T_MID);
if (r)
cv_text_r(230, 106, &AF_S, r, T_MID, T_SURF);
}
/* the track's activity 0..256: its loudest voice now (the mix's peak, decaying) */
static int32_t plate_level(const track_t *t)
{
int32_t p = t->peak >> 6;
return p > 256 ? 256 : p;
}
/* LFO (LFO, LFO DEST): the five swimmers are the five waves, SIN TRI SAW SQR S&H (their rings cyan violet red orange
* yellow); the one chosen bright, the others quiet; every tail swims at the LFO's rate, wider with its depth */
static void graph_p_lfo(const track_t *t)
{
static const uint8_t ROLE[5] = {3, 7, 1, 6, 5};
int16_t g[8] = {0, -150, 0, -150, 0, -150, -150, -150};
uint32_t w = (uint32_t)t->p[P_LWAVE] % 5u, ph = t->lfo_ph >> 16;
int32_t amp = (2 + (t->p[P_LD_PIT] + t->p[P_LD_FLT] + t->p[P_LD_SHP] + t->p[P_LD_AMP]) / 64) * OG_Q;
g[ROLE[w]] = 220;
plate(PL_LFO3, 82, 58, 118, g, 0, 0, amp, ph);
plate(PL_LFO2, 180, 58, 118, g, 0, 0, amp, ph + 16384u);
}
/* ENV: the curve plate, its curves quiet; the envelope itself drawn white in its box (ATK DEC SUS REL) */
static void graph_p_env(const track_t *t)
{
static const int16_t G[8] = {-40, -120, -120, -120, -120, -120, -120, -120};
int32_t cx = 120, cy = 62, sz = 150, u = sz * OG_Q / 126;
int32_t a = t->p[P_ATK], d = t->p[P_DEC], s = t->p[P_SUS], r = t->p[P_REL];
int32_t x0 = -48, x1, x2, x3, x4 = 50, yb = 8, yt = -36, ys;
plate(PL_ENV, cx, cy, sz, G, 0, 0, 0, 0);
x1 = x0 + 2 + a * 26 / 127;
x2 = x1 + 2 + d * 26 / 127;
x3 = x4 - 2 - r * 26 / 127;
ys = yb + (yt - yb) * s / 127;
og_line(cx * OG_Q + x0 * u, cy * OG_Q + yb * u, cx * OG_Q + x1 * u, cy * OG_Q + yt * u, T_TEXT);
og_line(cx * OG_Q + x1 * u, cy * OG_Q + yt * u, cx * OG_Q + x2 * u, cy * OG_Q + ys * u, T_TEXT);
og_line(cx * OG_Q + x2 * u, cy * OG_Q + ys * u, cx * OG_Q + x3 * u, cy * OG_Q + ys * u, T_TEXT);
og_line(cx * OG_Q + x3 * u, cy * OG_Q + ys * u, cx * OG_Q + x4 * u, cy * OG_Q + yb * u, T_TEXT);
og_node(cx * OG_Q + x1 * u, cy * OG_Q + yt * u, 2, T_ACCENT);
og_node(cx * OG_Q + x3 * u, cy * OG_Q + ys * u, 2, T_THEME);
}
/* FX: the wing; its cyan membrane the sends (chorus, delay, reverb), its red veins the distortion; it trembles
* with the delay */
static void graph_p_fx(const track_t *t)
{
int16_t g[8] = {0, 0, 0, 0, 0, 0, 0, 0};
int32_t send = (t->p[P_CHOR] + t->p[P_DLY] + t->p[P_REV]) / 3;
g[3] = (int16_t)(send * 4 - 180);
g[1] = (int16_t)(t->p[P_DIST] * 3 - 160);
plate(PL_FX, 120, 58, 112, g, 0, 0, t->p[P_DLY] * OG_Q / 48, ui.frame * 1100u);
}
/* ARP: the small plant; its nodes light one after another with the arpeggio's steps (a note sounding), quiet when
* the arp is off */
static void graph_p_arp(const track_t *t)
{
uint8_t lit[16];
int16_t g[8] = {0, 0, 0, 0, 0, 0, 0, 0};
uint32_t i, on = t->p[P_AMODE] != 0, k = t->arp_idx % 8u;
for (i = 0; i < 16u; i++)
lit[i] = (uint8_t)(on && t->arp_note && i % 8u == k ? 255u : 0u);
if (!on)
g[2] = g[1] = -160;
plate(PL_ARP, 120, 58, 120, g, lit, 2, on ? 2 * OG_Q : 0, ui.frame * 700u);
}
/* VOICE: the vase of eight nodes, the eight shared voices; a node lit while this track's voice sounds */
static void graph_p_voices(const track_t *t)
{
uint8_t lit[16];
uint32_t i;
memset(lit, 0, sizeof lit);
for (i = 0; i < NVOICE && i < 16u; i++)
lit[i] = (uint8_t)(t->v[i].active ? 128u + (uint32_t)(t->v[i].env_out >> 8) : 0u);
plate(PL_VOICES, 120, 58, 124, 0, lit, 2, 0, 0);
}
/* an engine's plate (0: its own graph stays: SAMPLE and SLICE their wave; FM6's algorithm and WHEEL's drawbars are
* drawn before this is asked) */
static uint32_t plate_of(const track_t *t)
{
static const uint8_t PL_OF[14] = {PL_MIXER, PL_FM, PL_HOME, PL_VOICES, 0, PL_CHORD, PL_MACRO, PL_MAP, PL_PUNCH,
PL_BUD, PL_DRUM, PL_BUD, PL_FM, 0};
uint32_t e = t->eng_req % NENGINES;
return e < 14u ? PL_OF[e] : 0u;
}
/* EDIT (a synth's own pages): the engine's plate; it glows with the track's level and sways with its LFO */
static void graph_p_engine(const track_t *t)
{
int16_t g[8] = {0, 0, 0, 0, 0, 0, 0, 0};
int32_t lv = plate_level(t);
uint32_t n = plate_of(t);
g[1] = (int16_t)(lv - 120);
g[2] = g[3] = (int16_t)(lv - 60);
plate(n ? n : PL_BUD, 120, 58, 124, g, 0, 0, mulq15(t->lfo_val, 3 * OG_Q), ui.frame * 500u);
}
/* DRUM (DRUM-X): the iris; its eight cyan nodes are the eight sounds, each lit by its hit as it decays (a muted
* one dark); MORPH opens it (A closed .. B open), WARP makes it shiver. sel: the sound edited (EDIT > SOUND), -1 */
static void graph_p_drum(const track_t *t, int32_t sel)
{
const drum_lane_t *K = drum_kit_of(t);
int32_t morph = clamp(t->p[P_E0], 0, 127), warp = clamp(t->p[P_E6], 0, 127), size = 104 + morph * 24 / 127;
uint8_t lit[16];
int16_t g[8] = {0, 0, 0, 0, 0, 0, 0, 0};
uint16_t faint = ux_mix(T_SURF, T_TEXT, 30);
uint32_t l;
char b[16];
memset(lit, 0, sizeof lit);
for (l = 0; l < 8u; l++) {
int32_t e = K && K[l].x.live ? K[l].x.ea >> 22 : 0; /* 0..256 */
lit[l] = (uint8_t)(sel >= 0 ? (l == (uint32_t)sel ? 255 : 0) : dx_lane_muted(l) ? 0 : 60 + (e > 195 ? 195 : e));
}
if (sel >= 0)
g[0] = -100;
plate(PL_DRUM, 120, 60, size, g, lit, 3, warp * OG_Q / 24, ui.frame * (2000u + (uint32_t)warp * 60u));
og_dash(38 * OG_Q, 8 * OG_Q, 202 * OG_Q, 8 * OG_Q, faint, 2, 3); /* the MORPH scale, A .. B */
og_node((38 + morph * 164 / 127) * OG_Q, 8 * OG_Q, 2, T_ACCENT);
og_label(22, 8, "A", morph < 64 ? T_THEME : T_DIM);
og_label(218, 8, "B", morph >= 64 ? T_THEME : T_DIM);
if (sel >= 0) {
str_cpy(b, drum_lane_name(t, (uint32_t)sel), sizeof b);
str_cpy(b + str_len(b), dx_ui_side ? " B" : " A", 4);
plate_caption("SOUND", b);
return;
}
str_cpy(b, "MORPH ", sizeof b);
fmt_int(b + 6, morph * 100 / 127);
str_cpy(b + str_len(b), "%", sizeof b - str_len(b));
plate_caption("DRUM-X", b);
}
+4 -4
View File
@@ -49,10 +49,10 @@ PALETTES = [
("NIGHT", (0, 0, 0), (0, 24, 10), (150, 230, 170), (56, 220, 100), (255, 255, 255)),
# 1.0.2: black and white (the derived tokens are set, not blended: bw()); the old MONO is GREY (id 0)
("MONO", (0, 0, 0), (0, 0, 0), (255, 255, 255), (255, 255, 255), (255, 255, 255)),
# JIANT FM (docs/TONIC-UI.md): the user's plates (assets/ui-shapes/plates.svg): black, a white line, cyan values,
# red for the one active thing; the default since JIANT 0.1 (src/panel.c). The plates' other roles (teal, green,
# yellow, orange, violet): src/ui_organic.c og_role
("JIANT", (0, 0, 0), (14, 15, 17), (250, 250, 250), (0, 205, 255), (255, 40, 16)),
# JIANT FM (docs/TONIC-UI.md): thermal. Black, a warm white line, cyan for what is selected (the cold), orange for
# the one active thing; values as heat (ui_graph.c heat_col: indigo violet red orange yellow white). The default
# since JIANT 0.1 (src/panel.c)
("JIANT", (0, 0, 0), (16, 12, 22), (244, 241, 234), (0, 210, 255), (255, 122, 0)),
]
BW = "MONO"
BW_GREY = (82, 82, 82) # MONO's one mid grey (RGB565 10/20/10): DIM LINE RAISE LANE