summaryrefslogtreecommitdiff
path: root/libopie2/opiemm/oimagescrollview.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiemm/oimagescrollview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiemm/oimagescrollview.h16
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
@@ -123,2 +123,15 @@ public:
+ /**
+ * 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:
@@ -159,2 +172,4 @@ protected:
QPixmap _pdata;
+ int _intensity;
+ bool _newImage;
@@ -181,2 +196,3 @@ protected:
virtual void setFirstResizeDone(bool how);
+ virtual void apply_gamma(int aValue);