Wiki » Historie » Version 9
Maximilian Seesslen, 05.09.2022 10:21
| 1 | 1 | Maximilian Seesslen | h1. Wiki |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Maximilian Seesslen | [[Bringup]] |
| 4 | 3 | Maximilian Seesslen | [[UI]] |
| 5 | 4 | Maximilian Seesslen | |
| 6 | h2. Screens |
||
| 7 | |||
| 8 | 8 | Maximilian Seesslen | * Standbymode |
| 9 | ** Digital Clock with date and temperature |
||
| 10 | ** 4 Buttons |
||
| 11 | *** Main-Menu / Home-Button |
||
| 12 | *** Lamp menu |
||
| 13 | *** Previous |
||
| 14 | *** ? |
||
| 15 | |||
| 16 | 4 | Maximilian Seesslen | * CANMon |
| 17 | ** Static list with target-Values, delta |
||
| 18 | ** Home-Button |
||
| 19 | ** Color depending on delta |
||
| 20 | ** Timeout for values to be invalidated |
||
| 21 | 8 | Maximilian Seesslen | |
| 22 | * Minutnik |
||
| 23 | ** Screensaver disabled while alarms active |
||
| 24 | |||
| 25 | * Alarm |
||
| 26 | ** Quit-Button which jumps to previous screen |
||
| 27 | |||
| 28 | |||
| 29 | 5 | Maximilian Seesslen | |
| 30 | h2. How to write flash |
||
| 31 | |||
| 32 | h2. Icons |
||
| 33 | |||
| 34 | https://www.iconfinder.com/search/icons?q=pretzel |
||
| 35 | 6 | Maximilian Seesslen | https://www.iconfinder.com/search/icons?q=pretzel&price=free |
| 36 | git clone https://github.com/google/material-design-icons/ |
||
| 37 | 7 | Maximilian Seesslen | |
| 38 | imagemagick (graphicsmagic provides GIF) |
||
| 39 | |||
| 40 | <pre><code class="shell"> |
||
| 41 | #!/bin/bash |
||
| 42 | |||
| 43 | set -e -u |
||
| 44 | |||
| 45 | mkdir -p 32 |
||
| 46 | for ifile in *.png; do |
||
| 47 | convert $ifile -define h:format=a -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.h |
||
| 48 | convert $ifile -define h:format=rgb -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.png |
||
| 49 | # convert $ifile -define h:format=rgb -depth 1 -background white -alpha deactivate -resize 32x32 32/${ifile%.*}.png |
||
| 50 | convert $ifile -background white -alpha remove -flatten -alpha off -depth 1 -resize 32x32 32/${ifile%.*}.png |
||
| 51 | convert 32/${ifile%.*}.png -monochrome 32/${ifile%.*}_1.png |
||
| 52 | |||
| 53 | done |
||
| 54 | </code></pre> |