author | sandman <sandman> | 2002-10-28 23:41:14 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-28 23:41:14 (UTC) |
commit | a775c3be38fc7fbd5d120e7e3c1dd3a80a250293 (patch) (unidiff) | |
tree | 6cca17bab081143f2d0321c317d26f91042f729f /core/launcher/screensaver.h | |
parent | 7aaf3d45d9156a126a753311ffdb220a550d47a5 (diff) | |
download | opie-a775c3be38fc7fbd5d120e7e3c1dd3a80a250293.zip opie-a775c3be38fc7fbd5d120e7e3c1dd3a80a250293.tar.gz opie-a775c3be38fc7fbd5d120e7e3c1dd3a80a250293.tar.bz2 |
- OpieScreenSaver now uses the calibration data for the light sensor
-rw-r--r-- | core/launcher/screensaver.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/launcher/screensaver.h b/core/launcher/screensaver.h index 9126f33..da10a8d 100644 --- a/core/launcher/screensaver.h +++ b/core/launcher/screensaver.h | |||
@@ -44,12 +44,25 @@ private: | |||
44 | bool m_enable_suspend_ac; | 44 | bool m_enable_suspend_ac; |
45 | bool m_onlylcdoff_ac; | 45 | bool m_onlylcdoff_ac; |
46 | 46 | ||
47 | bool m_use_light_sensor; | 47 | bool m_use_light_sensor; |
48 | int m_backlight_sensor; | 48 | int m_backlight_sensor; |
49 | 49 | ||
50 | enum { | ||
51 | LS_Interval = 0, | ||
52 | LS_Steps, | ||
53 | LS_SensorMin, | ||
54 | LS_SensorMax, | ||
55 | LS_LightMin, | ||
56 | LS_LightMax, | ||
57 | |||
58 | LS_Count | ||
59 | }; | ||
60 | |||
61 | int m_sensordata [LS_Count]; | ||
62 | |||
50 | bool m_lcd_status; | 63 | bool m_lcd_status; |
51 | 64 | ||
52 | int m_backlight_normal; | 65 | int m_backlight_normal; |
53 | int m_backlight_current; | 66 | int m_backlight_current; |
54 | bool m_backlight_forcedoff; | 67 | bool m_backlight_forcedoff; |
55 | 68 | ||