Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • a4bd9bcdd1caf7f8eff213dcbf535bad84c02171
  • master par défaut
  • script
  • new-devel
  • devel
  • timingView-edit
  • fix-mpv
7 résultats

Line.cc

Blame
    • Kubat's avatar
      a4bd9bcd
      BUILD: New folder hierarchy · a4bd9bcd
      Kubat a rédigé
      Two main folders: Lib and UI. The Lib is specialized in Document and
      Ass, the UI is specialized for private DocumentViews (private document
      views) and others (future ScriptViews, etc)
      BUILD: New folder hierarchy
      Kubat a rédigé
      Two main folders: Lib and UI. The Lib is specialized in Document and
      Ass, the UI is specialized for private DocumentViews (private document
      views) and others (future ScriptViews, etc)
    Line.cc 279 o
    #include "Line.hh"
    
    using namespace Vivy::Ass;
    
    Line::Line(const QString & /*unused*/)
    {
    }
    
    void
    Line::setStart(quint64 s) noexcept
    {
        start = s;
        if (s > end)
            end = s;
    }
    
    void
    Line::setEnd(quint64 s) noexcept
    {
        end = s;
        if (start > s)
            start = s;
    }