Compare commits
No commits in common. "8e5a725abafee09f51032e34d4b99c124142d1ba" and "2c2a3adcd73a8c563f585b498f35707145c4a8a8" have entirely different histories.
8e5a725aba
...
2c2a3adcd7
4 changed files with 6 additions and 4 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
0.0.50
|
0.0.49
|
||||||
|
|
|
||||||
5
kit.html
5
kit.html
|
|
@ -187,9 +187,10 @@ layoutButtons();
|
||||||
|
|
||||||
function drawScreen(){
|
function drawScreen(){
|
||||||
g.fillStyle=COL.bg; g.fillRect(0,0,SW,SH);
|
g.fillStyle=COL.bg; g.fillRect(0,0,SW,SH);
|
||||||
// header (the VARASYS logo lives on the case, not the screen)
|
// header
|
||||||
g.textBaseline="alphabetic"; g.textAlign="left";
|
g.textBaseline="alphabetic"; g.textAlign="left";
|
||||||
g.fillStyle=COL.cyan; g.font="700 18px 'Segoe UI',Roboto,Arial,sans-serif"; g.fillText("PM_K‑1 KIT",12,26);
|
g.fillStyle=COL.cyan; g.font="700 18px 'Segoe UI',Roboto,Arial,sans-serif"; g.fillText("VARASYS",12,26);
|
||||||
|
g.fillStyle=COL.mute; g.font="700 11px 'Segoe UI',Roboto,Arial,sans-serif"; g.textAlign="right"; g.fillText("PM_K‑1 KIT",SW-12,24);
|
||||||
g.fillStyle=COL.panel; g.fillRect(0,34,SW,2);
|
g.fillStyle=COL.panel; g.fillRect(0,34,SW,2);
|
||||||
// BPM
|
// BPM
|
||||||
g.textAlign="left"; g.fillStyle=COL.mute; g.font="700 20px 'Segoe UI',Roboto,Arial,sans-serif"; g.fillText("BPM",12,150);
|
g.textAlign="left"; g.fillStyle=COL.mute; g.font="700 20px 'Segoe UI',Roboto,Arial,sans-serif"; g.fillText("BPM",12,150);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -428,7 +428,8 @@ class App:
|
||||||
# ---------- drawing ----------
|
# ---------- drawing ----------
|
||||||
def draw_static(self):
|
def draw_static(self):
|
||||||
d = self.d; d.fill(C_BG)
|
d = self.d; d.fill(C_BG)
|
||||||
d.text("PM_K-1 KIT", 12, 12, C_CYAN, C_BG, 2) # VARASYS logo is on the case, not the screen
|
d.text("VARASYS", 12, 12, C_CYAN, C_BG, 2)
|
||||||
|
d.text("PM_K-1 KIT", WIDTH - d.text_w("PM_K-1 KIT", 1) - 12, 16, C_MUTE, C_BG, 1)
|
||||||
d.fill_rect(0, 34, WIDTH, 2, C_PANEL)
|
d.fill_rect(0, 34, WIDTH, 2, C_PANEL)
|
||||||
d.text("BPM", 12, 196, C_MUTE, C_BG, 2)
|
d.text("BPM", 12, 196, C_MUTE, C_BG, 2)
|
||||||
# build + paint the touch buttons
|
# build + paint the touch buttons
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue