[mythtv-commits] Ticket #1618: Inconsistent highlighting on "You are exiting this recording" dialog

MythTV mythtv at cvs.mythtv.org
Mon Apr 3 20:01:21 UTC 2006


#1618: Inconsistent highlighting on "You are exiting this recording" dialog
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr     
     Type:  defect     |       Status:  reopened
 Priority:  minor      |    Milestone:          
Component:  mythtv     |      Version:          
 Severity:  medium     |   Resolution:          
-----------------------+----------------------------------------------------
Comment (by cizek at rcn.com):

 This was caused by some missing fields in the copy constructor for
 OSDTypeText.  Specifically, m_selected was uninitialized and was non-zero
 in random cases.

 This dialog inverts the m_font and m_altfont fields.  m_font is the
 highlighted (selected) font and m_altfont is the dim (non-selected) font.
 OSDTypeText::DrawString() selects m_altfont if m_selected is non-zero,
 which was causing mythtv to use the dim font in the wrong cases.

 HTH,
 Bill

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1618>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list