From a1b1e8934edce8c8453aea78fd8ccf8893e4d689 Mon Sep 17 00:00:00 2001 From: Laurent Garnier Date: Sat, 16 Dec 2023 12:47:21 +0100 Subject: [PATCH] Sitezmap: new Buttongrid element Signed-off-by: Laurent Garnier --- ui/images/sitemap_demo_buttongrid.png | Bin 0 -> 11372 bytes ui/sitemaps.md | 38 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 ui/images/sitemap_demo_buttongrid.png diff --git a/ui/images/sitemap_demo_buttongrid.png b/ui/images/sitemap_demo_buttongrid.png new file mode 100644 index 0000000000000000000000000000000000000000..8ec36892052dd9d8c8b888354c52b0e358319064 GIT binary patch literal 11372 zcmd6N2~<<(x;Cw+QtLpir%nj5O_f$ew5TYM#5xcV5oc5i@rVkD5ET%}Sc}TB0ueca zh!B+^C_+Sp$dE)tL8K5!m;>2hn06op$UNVjpw@cUy666D-TR-jmRXVPZ+O4wouB<( z-nA1w`-{b2SXfxh_Vn1g$HHP7Xkqcmj?bq7Goi0fBKDv+TNE}ffu30WCFm#b zpDZkjC^L0``waSf#%Yg35f&D6>88&oO1;+w3yYPXcy9e^Urd0wXLdq=G!d9c*;&$` zf8pEBPuGWaj5jSQnb>yq?=DYgteyDv_77{$WVn2@;kpOS+n#civdqxvJ%R?l+ke)m54Vs|~+9p(jUlCkEMCYPw|f_fb9B zsFsY4EMs0Ix=Je$*=h;t+zF+EIAD+Qy!IXRFGL--k;~Q%IC`1>q+R;0G@5yuMuAP{ zI1;BugcVO@+JsGXzwn@s?Lv)Sw#(`mzJk%+HO=A|5V8b^ar8McJ+s=m33Qt*Ed7HA&N)FC)M(Iyq}(9m=p$cW{Q;aJ^pZ^-Gqwq3 zt?26Zo38JEMCIrew=pWQ?BN1^jFI?CVzTxYaa}TL7zSLOW308~_AwNPwR>E2R9w$3 z?OEs>&lKB(;}WIDv5bDN+E~&KBRJR?u*`6^<~C|HYQ!0uqSQ!$9q~T>t7z4dVL6&9 zP!~k1{L9!o;(?wK1XG~(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 z9jz?MWwt;URflTgajT36RRoV!?C=1yObxyzx%un`#QgJF){DS0%`W8MBr(v(dbkXFGn+rQYd>m-d6q+)sxhfFX4MjKzcAjzJXE|OOoH=EiZow;Z3%EM hHw%$DY!4cz>8?LXzTN|xZhTmHZri!FaPyI0{|o8byg>i} literal 0 HcmV?d00001 diff --git a/ui/sitemaps.md b/ui/sitemaps.md index 103e9b023b..372482eb42 100644 --- a/ui/sitemaps.md +++ b/ui/sitemaps.md @@ -144,6 +144,7 @@ The following element types may be used in a Sitemap definition file. | Element | Description | | ---------------------------------------- | ----------------------------------------------------------------------------------------- | +| [Buttongrid](#element-type-buttongrid) | Renders a grid of stateless buttons used to send commands to a given Item. | | [Chart](#element-type-chart) | Adds a time-series chart object for [persisted](persistence.html) data. | | [Colorpicker](#element-type-colorpicker) | Allows the user to choose a color from a color wheel. | | [Default](#element-type-default) | Renders an Item in the default UI representation specified by the type of the given Item. | @@ -301,6 +302,43 @@ Switch item=LR_TV_Channel label="TV Channel" mappings=[0="DasErste", 1="BBC One" ![Presentation of the On/Off Switch element in BasicUI](images/sitemap_demo_switch1.png) ![Presentation of the multi-state Switch element in BasicUI](images/sitemap_demo_switch2.png) +### Element Type 'Buttongrid' + +```java +Buttongrid item= [label=""] [icon=] [staticIcon=] [buttons="