Ticket #10645: screenwizard.patch

File screenwizard.patch, 775 bytes (added by Yves Cayer <ycayer@…>, 12 years ago)
  • mythtv/programs/mythfrontend/screenwizard.cpp

    diff --git a/mythtv/programs/mythfrontend/screenwizard.cpp b/mythtv/programs/mythfrontend/screenwizard.cpp
    index 258a203..0489d48 100644
    a b void ScreenWizard::setContext(int context) 
    9191    }
    9292    else if (context == 2)
    9393    {
     94        if (m_arrowsize_x == 0)
     95        {
     96           m_arrowsize_x = m_topleftarrow->GetArea().width();
     97           m_arrowsize_y = m_topleftarrow->GetArea().height();
     98           m_bottomrightarrow_x = m_screenwidth - m_xoffset - m_arrowsize_x;
     99           m_bottomrightarrow_y = m_screenheight - m_yoffset - m_arrowsize_y;
     100        }
    94101        m_bottomrightarrow->SetVisible(true);
    95102        m_topleftarrow->SetVisible(false);
    96103    }