author | alwin <alwin> | 2005-03-22 22:15:50 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-22 22:15:50 (UTC) |
commit | 31035d399edaaaff64976705fd44468b6357c863 (patch) (side-by-side diff) | |
tree | cd32f1d5c23de21a924b5bd8bb7d43fadf160e3e /libopie2/opiemm/oimagescrollview.h | |
parent | 0b1f73644d33291b3a03d347dc5be3167126b652 (diff) | |
download | opie-31035d399edaaaff64976705fd44468b6357c863.zip opie-31035d399edaaaff64976705fd44468b6357c863.tar.gz opie-31035d399edaaaff64976705fd44468b6357c863.tar.bz2 |
added missing interface methods for a generic imagedisplay (display
brightness)
apps using that OImageScrollview must rebuild! this will be the last
change of interface for a long time
Diffstat (limited to 'libopie2/opiemm/oimagescrollview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiemm/oimagescrollview.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libopie2/opiemm/oimagescrollview.h b/libopie2/opiemm/oimagescrollview.h index 01a2d56..11964fd 100644 --- a/libopie2/opiemm/oimagescrollview.h +++ b/libopie2/opiemm/oimagescrollview.h @@ -122,4 +122,17 @@ public: virtual bool ShowZoomer()const; + /** + * set a display intensity + * @param value the intensity value, will calcuated to a percent value (value/100) + * @param reload should the real image recalculated complete or just work on current display. + * @return the new intensity + */ + virtual int setIntensity(int value,bool reload=false); + /** + * return the current display intensity + */ + virtual const int Intensity()const; + + public slots: /** @@ -158,4 +171,6 @@ protected: QImage _original_data; QPixmap _pdata; + int _intensity; + bool _newImage; int _mouseStartPosX,_mouseStartPosY; @@ -180,4 +195,5 @@ protected: virtual bool FirstResizeDone()const; virtual void setFirstResizeDone(bool how); + virtual void apply_gamma(int aValue); protected slots: |