equal
deleted
inserted
replaced
61 // ----------------------------------------------------------------------------- |
61 // ----------------------------------------------------------------------------- |
62 // |
62 // |
63 void CScreensaverCtrlPlugin::StartTimer() |
63 void CScreensaverCtrlPlugin::StartTimer() |
64 { |
64 { |
65 // Notify plugin that screensaver is starting |
65 // Notify plugin that screensaver is starting |
66 Model().SharedDataInterface()->SetSSForcedLightsOn( ESSForceLightsOn ); |
|
67 |
|
68 SendPluginEvent( EScreensaverEventStarting ); |
66 SendPluginEvent( EScreensaverEventStarting ); |
69 |
67 |
70 |
68 |
71 StartPluginRefreshTimer(); |
69 StartPluginRefreshTimer(); |
72 |
70 |
282 void CScreensaverCtrlPlugin::ExitPartialMode() |
280 void CScreensaverCtrlPlugin::ExitPartialMode() |
283 { |
281 { |
284 SCRLOGGER_WRITE("Host: ExitPartialMode()"); |
282 SCRLOGGER_WRITE("Host: ExitPartialMode()"); |
285 |
283 |
286 LcdPartialMode()->Exit(); |
284 LcdPartialMode()->Exit(); |
|
285 Model().SharedDataInterface()->SetSSForcedLightsOn( ESSForceLightsOn ); |
287 // Make sure the partial area is empty |
286 // Make sure the partial area is empty |
288 // Make this less idiotic |
287 // Make this less idiotic |
289 TRect psRect( 0, 0, 0, 0); |
288 TRect psRect( 0, 0, 0, 0); |
290 SetPowerSaveDisplayActiveArea( psRect ); |
289 SetPowerSaveDisplayActiveArea( psRect ); |
291 } |
290 } |