Copyright 2010-2017 Obihai Technology, Inc.
154
<icon2>
text when it cannot fit the labels' bounding box.
For icons, spcecifies whether to resize ("1") or not ("0") the
picture when it cannot fit the fit the icon's bounding box.
aspect
<icon>, <icon2>
Spcecifies whether to maintain aspect ratio ("1") or not ("0")
when resizing the picture to fill the icon's bounding box
scaling
<style>
Spceifies how to scale the background image if one is
defined for the style
textcolor
<label>, <label2>
The textcolor to use to render the text for the label. For
example "0xffffff" (white)
hltextcolor
<label>, <label2>
The textcolor to use to render the text for the label when
the referencing item is highlighted. For examole "0xffff00"
(yellow)
hidden
<style>, <label>, <label2>,
<icon>, <icon2>
When appears in <style>, specifies whether the referencing
item should be hidden ("1") or not ("0")
When appears in <label>, <label2>, <icon>, or <icon2>,
specifies whether the respective should be hidden ("1") or
not ("0")
hidden-if-empty
<lable>, <label2>
Specifies if the label should be hidden ("1") or not ("0") if the
text string it contains is empty
Macros available in <MainMenuItemStyles>
Attribute
Where
Description
@gfont
<style> and all its childs
The default font family configured on the phone
$item.name
<style> and all its childs
The name attribute of the <item> referencing the <style>
$item.number
<style> and all its childs
The number attribute of the <item> referencing the <style>
$item.mwi.value
<style> and all its childs
The MWI status value
n
of the <item> referencing the
<style> if the item has the attribute id="mwi", where
n
is an
integer greater than 0 if there are new messages waiting, or
0 if there are none
$item.blf.value
<style> and all its childs
The BLF status value of the <item> referencing the <style> if
the item has the attribute id="blf", where the value can be
one of the following:
-
idle
for no calls
-
trying
for attempting outgoing call
-
peerring
for outgoing call ringing
-
connected
for incoming or outgoing call
connected
-
holding
for holding a call
-
ended
for call ended
-
parked
for a call parked against the extension
-
ring
for incoming call ringing
$item.buddy.presence
<style> and all its childs
The buddy’s presence value if the <item> referencing the
<style> has the attribute id="pres", where the value can be
one of the following:
-
offline
-
online
-
dnd
-
away
-
xa
$item.buddy.picture
<style> and all its childs
The internal path that stores the
buddy’s
picture if the
<item> referencing the <style> has the attribute id="pres".
$item.buddy.name
<style> and all its childs
The buddy’s name if the <item> referencing the <style> has