avr: removed old GUI code, renamed gui2 to gui
This commit is contained in:
@@ -1,13 +1,136 @@
|
||||
|
||||
- sensor watch:
|
||||
- SDRAM vars:
|
||||
- change limits
|
||||
- SENSORWATCH_SD_OFFS_UPPERLIMIT_WARN_LO
|
||||
- SENSORWATCH_SD_OFFS_LOWERLIMIT_WARN_LO
|
||||
- SENSORWATCH_SD_OFFS_UPPERLIMIT_CRIT_LO
|
||||
- SENSORWATCH_SD_OFFS_LOWERLIMIT_CRIT_LO
|
||||
- add private flags (HAVE_VALUE, USE_UPPERWARNLIMIT, USE_LOWERWARNLIMIT, USE_UPPERCRITLIMIT, USE_LOWERCRITLIMIT)
|
||||
|
||||
|
||||
- Screen
|
||||
- functions:
|
||||
- show
|
||||
- unshow
|
||||
- touch
|
||||
- key
|
||||
- activeAreas:
|
||||
- x, y, w, h (in FLASH)
|
||||
- only small variable data in SRAM, no need for heap!
|
||||
- new pages:
|
||||
- main window
|
||||
- buttons for climate, netstats, light, doors
|
||||
- about window (version, logo etc)
|
||||
- lights
|
||||
- mode: on, off, auto
|
||||
- color: R, G, B, W
|
||||
- calibrate screen
|
||||
|
||||
- digitEdit
|
||||
- arrow_up, below digit, below arrow_down
|
||||
|
||||
|
||||
- label:
|
||||
- use ressource id instead of pointer to text!
|
||||
|
||||
|
||||
- print hex numbers (bytes, words, dwords)
|
||||
- room value:
|
||||
- bits 0-2: cardinal number (0-7, as in "Buero 1")
|
||||
- bits 7-3: room type number (32)
|
||||
- Flur
|
||||
- Wohnzimmer
|
||||
- Schlafzimmer
|
||||
- Kueche
|
||||
- Buero
|
||||
- Kinderzimmer
|
||||
- Abstellraum
|
||||
- Bad
|
||||
|
||||
- new classes:
|
||||
- choice
|
||||
- "< TEXT >" (choose by clicking buttons left/right)
|
||||
- roomLabel (uses room value to print a string)
|
||||
- flashingLabel
|
||||
- use timer to blink/flash label, e.g. when values change
|
||||
|
||||
|
||||
- widgets:
|
||||
- value (flashingLabel)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- imageViewer (use code from testWin)
|
||||
- generate bigger images (96x96 px)
|
||||
- light
|
||||
- window_open
|
||||
- window_closed
|
||||
|
||||
|--------------------------------------|
|
||||
| CO2-Value Temp Humidity |
|
||||
| |--------| |--------| |--------| |
|
||||
| | Cloud | | Temp | | Hum | |
|
||||
| | | | | | | |
|
||||
| |--------| |--------| |--------| |
|
||||
| |
|
||||
| |-----------| |---| |
|
||||
| | 1 7 : 4 5 | | S | |
|
||||
| |-----------| |---| |
|
||||
| |
|
||||
|--------------------------------------|
|
||||
|
||||
|
||||
|
||||
|--------------------------------------|
|
||||
| CO2-Value Temp Humidity |
|
||||
| |--------| |--------| |--------| |
|
||||
| | Cloud | | Temp | | Hum | |
|
||||
| | | | | | | |
|
||||
| |--------| |--------| |--------| |
|
||||
| |
|
||||
| |---| |---| |---| |---| |---| |
|
||||
| | < | | N | | L | | ? | | > | |
|
||||
| |---| |---| |---| |---| |---| |
|
||||
| |
|
||||
|--------------------------------------|
|
||||
|
||||
Object:
|
||||
- next
|
||||
- parent
|
||||
- firstChild
|
||||
- options (2 bytes)
|
||||
- signal handling
|
||||
- targetAddr (like in FOX)
|
||||
- selector
|
||||
- handlerMap:
|
||||
- selector/signal (00: end), handlerAddr
|
||||
Widgets:
|
||||
- x (2 bytes)
|
||||
- y (2 bytes)
|
||||
- width (2 bytes)
|
||||
- height (2 bytes)
|
||||
- font (2 bytes)
|
||||
- frontColor (2 bytes)
|
||||
- backColor (2 bytes)
|
||||
|
||||
Labels:
|
||||
- text
|
||||
|
||||
|
||||
Signals:
|
||||
- CREATE
|
||||
- DESTROY
|
||||
- SHOW
|
||||
- HIDE
|
||||
- DRAW
|
||||
- TIMER
|
||||
- TOUCH
|
||||
[- KEY]
|
||||
- USER = 16
|
||||
|
||||
|
||||
|
||||
OBJ:
|
||||
- SDRAM pointer hierher verschieben
|
||||
- speichere dort:
|
||||
- FLAGS_LO, FLAGS_HI (2 bytes)
|
||||
- NEXT, PARENT, CHILD (6 bytes)
|
||||
|
||||
- OBJ_AddNeighbour()
|
||||
- OBJ_AddChild()
|
||||
- OBJ_Unlink()
|
||||
|
||||
Reference in New Issue
Block a user