Skip to content

Commit

Permalink
option控件增加selectedbkcolor属性
Browse files Browse the repository at this point in the history
  • Loading branch information
redrains committed Apr 30, 2016
1 parent 78c38fd commit e068ad3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion DuiLib/Control/UIOption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

namespace DuiLib
{
COptionUI::COptionUI() : m_bSelected(false), m_dwSelectedTextColor(0)
COptionUI::COptionUI()
: m_bSelected(false)
, m_dwSelectedTextColor(0)
, m_dwSelectedBkColor(0)
{
}

Expand Down
2 changes: 1 addition & 1 deletion 属性列表.xml
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
<Attribute name="hottextcolor" default="0x00000000" type="DWORD" comment="鼠标悬浮字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="pushedtextcolor" default="0x00000000" type="DWORD" comment="鼠标按下字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="focusedtextcolor" default="0x00000000" type="DWORD" comment="获得焦点字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="selectedtextcolor" default="0x00000000" type="DWORD" comment="选中状态字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="selectedbkcolor" default="0x00000000" type="DWORD" comment="选中状态背景颜色,0表示不使用此颜色,如(0xFFFF0000)"/>
<Attribute name="group" default="" type="STRING" comment="所属组的名称,可不设"/>
<Attribute name="selected" default="false" type="BOOL" comment="是否选中"/>
<Attribute name="bindtablayoutname" default="" type="STRING" comment="绑定TabLayout控件"/>
Expand Down

0 comments on commit e068ad3

Please sign in to comment.