equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackFullScreenControl |
14 * Description: Implementation of VideoPlaybackFullScreenControl |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#10 % |
18 // Version : %version: da1mmcf#11 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #include <w32std.h> |
22 #include <w32std.h> |
23 |
23 |
31 |
31 |
32 // ------------------------------------------------------------------------------------------------- |
32 // ------------------------------------------------------------------------------------------------- |
33 // VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl() |
33 // VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl() |
34 // ------------------------------------------------------------------------------------------------- |
34 // ------------------------------------------------------------------------------------------------- |
35 // |
35 // |
36 VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl( |
36 VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl( |
37 VideoPlaybackControlsController* controller, |
37 VideoPlaybackControlsController* controller, |
38 TVideoPlaybackControls index, |
38 TVideoPlaybackControls index, |
39 HbWidget* widget, |
39 HbWidget* widget, |
40 TUint controlproperties ) |
40 TUint controlproperties ) |
41 : mController( controller ) |
41 : mController( controller ) |
42 , mControl( widget ) |
42 , mControl( widget ) |
43 , mControlIndex( index ) |
43 , mControlIndex( index ) |
44 , mProperties( controlproperties ) |
44 , mProperties( controlproperties ) |
307 void VideoPlaybackFullScreenControl::updateControlProperties( TUint properties ) |
307 void VideoPlaybackFullScreenControl::updateControlProperties( TUint properties ) |
308 { |
308 { |
309 mProperties = properties; |
309 mProperties = properties; |
310 } |
310 } |
311 |
311 |
|
312 // ------------------------------------------------------------------------------------------------- |
|
313 // VideoPlaybackFullScreenControl::resetControl() |
|
314 // ------------------------------------------------------------------------------------------------- |
|
315 // |
|
316 void VideoPlaybackFullScreenControl::resetControl() |
|
317 { |
|
318 if ( mControlIndex == EControlBar ) |
|
319 { |
|
320 static_cast<VideoPlaybackControlBar*>(mControl)->resetControl(); |
|
321 } |
|
322 } |
|
323 |
312 // End of file |
324 // End of file |