summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power/light.h
authorschurig <schurig>2003-06-05 15:01:01 (UTC)
committer schurig <schurig>2003-06-05 15:01:01 (UTC)
commit33dbbfe57cb0a5a7de5600ea052e19b7bb5cb674 (patch) (side-by-side diff)
treecf70229935166b4e9d46ff1a1b828e73b80f7e4a /core/settings/light-and-power/light.h
parent9fe856c57c5df5a74f9276f500070f2d90cfe091 (diff)
downloadopie-33dbbfe57cb0a5a7de5600ea052e19b7bb5cb674.zip
opie-33dbbfe57cb0a5a7de5600ea052e19b7bb5cb674.tar.gz
opie-33dbbfe57cb0a5a7de5600ea052e19b7bb5cb674.tar.bz2
initial contrast support. You won't see anything unless
ODevice::displayContrastResulution() returns != 0.
Diffstat (limited to 'core/settings/light-and-power/light.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/settings/light-and-power/light.h b/core/settings/light-and-power/light.h
index 0a3c60b..c9757da 100644
--- a/core/settings/light-and-power/light.h
+++ b/core/settings/light-and-power/light.h
@@ -50,10 +50,13 @@ protected slots:
virtual void calibrateSensor ( );
virtual void calibrateSensorAC ( );
void setBacklight ( int );
+ void setContrast ( int );
void resetBacklight ( );
private:
- int m_res;
+ int m_bres;
+ int m_cres;
+ int m_havecontrast;
QTimer *m_resettimer;
QStringList m_sensordata;
QStringList m_sensordata_ac;