Notifications page rebuilt

- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
This commit is contained in:
Edward Firmo
2023-09-06 00:52:35 +02:00
parent 1c1cf8e959
commit 066cd31616
18 changed files with 247 additions and 204 deletions

View File

@@ -1,14 +1,9 @@
# Creating `nspanel_us_land.HMI` from `nspanel_eu.HMI`:
## Program.s:
Comment out `lcd_dev fffb 0002 0000 0020`
Change to `display_mode=3`
## Page `home`:
1. Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120)
2. Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120)
3. Rotate pictures 30 & 31 by 90degrees - You will find the pics under pics folder where this instruction file is
4. Add the following to "Preinitialize Event" on page `home` (at the end) to hide those elements:
```
vis left_bt_text,0
vis right_bt_text,0
```
3. Rotate pictures 30 & 31 by 90degrees - You will find the rotated pics under pics folder where this instruction file is.