next iteration on display, still some artifacting issues, and ux with buttons states and updating
This commit is contained in:
1 parent
45998b6176
commit
ae5d12b3a2
14 files changed
+860
-398
No files matched your search
@@ -63,15 +63,19 @@
|
||||
* put the sofa icon on the patio. Only ui_manager.c expands it; the api-layer
|
||||
* consumers ignore the argument, so this header does not include ui_icons.h.
|
||||
*
|
||||
* Note light.main_room is a GROUP containing blue_lamp, brown_lamp and
|
||||
* landing_chandelier. Toggling it changes three of the other tiles; that is
|
||||
* expected, and the UI reflects it on the next poll.
|
||||
* light.main_room used to be here and was removed deliberately: it is a
|
||||
* GROUP of blue_lamp, brown_lamp and landing_chandelier -- three of the
|
||||
* other tiles. One tap restyled four tiles at once, which both confused the
|
||||
* optimistic-hold logic and triggered a redraw storm big enough to glitch
|
||||
* the panel (see README on PSRAM bandwidth). Groups spanning other tiles do
|
||||
* not belong in this list. light.tv_room is also a group (of 2), but of
|
||||
* lights that have no tile of their own, which is fine.
|
||||
*/
|
||||
/* Labels must fit one line of Montserrat 16 in a ~125px tile -- roughly 11
|
||||
* characters. Longer ones are truncated with an ellipsis, which reads as a
|
||||
* mistake. "Dining Room" is one character too wide, hence "Dining". */
|
||||
#define HA_LIGHT_LIST(X) \
|
||||
X("light.main_room", "Main Room", true, ICON_SOFA) \
|
||||
X("light.tv_room", "TV Room", true, ICON_TV) \
|
||||
X("light.dining_room", "Dining", true, ICON_DINING) \
|
||||
X("light.blue_lamp", "Blue Lamp", true, ICON_FLOOR_LAMP) \
|
||||
X("light.brown_lamp", "Brown Lamp", true, ICON_DESK_LAMP) \
|
||||
|
||||
Reference in new issue
Block a user