~mixxxdevelopers/mixxx/features_rubberband

« back to all changes in this revision

Viewing changes to mixxx/src/skin/imgcolor.h

  • Committer: Phillip Whelan
  • Date: 2011-01-07 04:20:46 UTC
  • mfrom: (2359.1.258 trunk)
  • Revision ID: pwhelan@mixxx.org-20110107042046-buscxz8jlsfd3nk6
Merging with Trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
};
70
70
 
71
71
class ImgHSVTweak : public ImgColorProcessor {
72
 
 
73
 
public:
 
72
  public:
74
73
    inline ImgHSVTweak(ImgSource* parent, int hmin, int hmax, int smin,
75
74
                       int smax, int vmin, int vmax, float hfact, int hconst, float sfact,
76
 
                       int sconst, float vfact, int vconst) : ImgColorProcessor(parent),
77
 
    m_hmin(hmin), m_hmax(hmax), m_smin(smin), m_smax(smax),
78
 
    m_vmin(vmin), m_vmax(vmax), m_vfact(vfact), m_hfact(hfact), m_hconst(hconst),
79
 
    m_sfact(sfact), m_sconst(sconst), m_vconst(vconst) {}
 
75
                       int sconst, float vfact, int vconst)
 
76
            : ImgColorProcessor(parent),
 
77
              m_hmin(hmin), m_hmax(hmax),
 
78
              m_smin(smin), m_smax(smax),
 
79
              m_vmin(vmin), m_vmax(vmax),
 
80
              m_hconst(hconst), m_sconst(sconst), m_vconst(vconst),
 
81
              m_hfact(hfact), m_sfact(sfact), m_vfact(vfact) {}
80
82
        virtual QColor doColorCorrection(QColor c);
81
83
 
82
 
private:
83
 
        int m_hmin, m_hmax, m_smin, m_smax, m_vmin, m_vmax, m_hconst,
84
 
          m_sconst, m_vconst;
85
 
        float m_hfact, m_sfact, m_vfact;
 
84
  private:
 
85
    int m_hmin, m_hmax,
 
86
        m_smin, m_smax,
 
87
        m_vmin, m_vmax,
 
88
        m_hconst, m_sconst, m_vconst;
 
89
    float m_hfact, m_sfact, m_vfact;
86
90
};
87
91
#endif
88
92