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