Ticket #7791: mythtv-buttonlist-marking.patch
File mythtv-buttonlist-marking.patch, 919 bytes (added by , 14 years ago) |
---|
-
mythtv/libs/libmythui/mythuibuttonlist.h
135 135 bool MoveItemUpDown(MythUIButtonListItem *item, bool up); 136 136 137 137 void SetAllChecked(MythUIButtonListItem::CheckState state); 138 void SetChecked(MythUIButtonListItem::CheckState state, int pos); 138 139 139 140 int GetCurrentPos() const { return m_selPosition; } 140 141 int GetItemPos(MythUIButtonListItem* item) const; -
mythtv/libs/libmythui/mythuibuttonlist.cpp
713 713 it.next()->setChecked(state); 714 714 } 715 715 716 void MythUIButtonList::SetChecked(MythUIButtonListItem::CheckState state, int pos) 717 { 718 m_itemList.at(pos)->setChecked(state); 719 } 720 716 721 void MythUIButtonList::Init() 717 722 { 718 723 if (m_initialized)