Ticket #1618: osdtypes.patch

File osdtypes.patch, 1.2 KB (added by anonymous, 15 years ago)

Fix for non-highlighted osd options

  • mythtv/libs/libmythtv/osdtypes.cpp

    old new  
    686686OSDTypeText::OSDTypeText(const OSDTypeText &other)
    687687           : OSDType(other.m_name)
    688688{
    689     m_displaysize = other.m_displaysize;
    690     m_screensize = other.m_screensize;
    691689    m_message = other.m_message;
    692690    m_default_msg = other.m_default_msg;
    693691    m_font = other.m_font;
     692
    694693    m_altfont = other.m_altfont;
    695     m_centered = other.m_centered;
     694
     695    m_displaysize = other.m_displaysize;
     696    m_screensize = other.m_screensize;
    696697    m_multiline = other.m_multiline;
    697     m_usingalt = other.m_usingalt;
     698    m_centered = other.m_centered;
    698699    m_right = other.m_right;
     700    m_usingalt = other.m_usingalt;
     701
     702    m_selected = other.m_selected;
     703    m_button   = other.m_button;
     704    m_entrynum = other.m_entrynum;
     705    m_cursorpos = other.m_cursorpos;
     706
    699707    m_scroller = other.m_scroller;
    700708    m_scrollx = other.m_scrollx;
    701709    m_scrolly = other.m_scrolly;
     710    m_scrollinit = other.m_scrollinit;
     711
    702712    m_linespacing = other.m_linespacing;
     713
     714    m_unbiasedsize = other.m_unbiasedsize;
    703715    m_draw_info_str = "";
    704716    m_draw_info_len = 0;
    705717}