~ubuntu-branches/ubuntu/oneiric/nux/oneiric

« back to all changes in this revision

Viewing changes to Nux/HueRangeValuator.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-06-22 17:16:16 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20110622171616-3cyhhiwsb6ga9d30
Tags: 1.0.2-0ubuntu1
* New upstream release.
* Cherry-pick a fix for FTBFS with -fpermissive
* debian/control:
  - add new libxdamage-dev and libxcomposite-dev build-dep
  - add new libboost1.42-dev dep as well, should be transitionned to 1.46 once
    compiz is transitionned as well
* remove debian/patches/01_build_with_gcc46.patch as included upstream
* debian/rules:
  - disable google code tests while building
* debian/control, debian/rules, debian/libnux-1.0-common.install,
  debian/libnux-1.0-dev.install, debian/libnux-1.0-doc.install,
  debian/libnux-1.0-0.install:
  - change, prepare next ABI breakage and remove no more needed Breaks: with
    new soname bump
* libnux-1.0-common now replaces: libnux-0.9-common for the apport hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    }
62
62
    void ModelHSV()
63
63
    {
64
 
      m_Model = CM_HSV;
 
64
      m_Model = color::HSV;
65
65
    }
66
66
    void ModelHLS()
67
67
    {
68
 
      m_Model = CM_HLS;
 
68
      m_Model = color::HLS;
69
69
    }
70
 
    eColorModel GetModel() const
 
70
    color::Model GetModel() const
71
71
    {
72
72
      return m_Model;
73
73
    }
75
75
  protected:
76
76
    void InitializeWidgets();
77
77
    void InitializeLayout();
78
 
    void DestroyLayout();
79
78
 
80
79
  private:
81
80
    float m_HLSSaturation;
83
82
    float m_HSVSaturation;
84
83
    float m_HSVValue;
85
84
 
86
 
    eColorModel m_Model;
 
85
    color::Model m_Model;
87
86
  };
88
87
 
89
88
}