group/ScreensaverConfig.hrh
branchRCL_3
changeset 26 e8d784ac1a4b
parent 0 040fcad49f44
equal deleted inserted replaced
25:aaeeca1f15af 26:e8d784ac1a4b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *     configurations macros for screensaver
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef SCREENSAVERCONFIG_HRH
       
    20 #define SCREENSAVERCONFIG_HRH
       
    21 
       
    22 // Enable logging
       
    23 // #define LOGGING_ENABLED
       
    24 
       
    25 // Log layout rects
       
    26 // #define LAYOUT_TRACING
       
    27 
       
    28 // Test content (faster activation, partial mode test line,
       
    29 // some indicators on by default, layout area borders drawn)
       
    30 // #define TEST_CONTENT
       
    31 
       
    32 // For devices with a twist display. This will cause Screensaver to
       
    33 // stop slightly faster than with user activity created by the display
       
    34 // position change
       
    35 // NOTE that if screensaver is running on device default orientation (ie not
       
    36 // forced), and there is an application that changes screen orientation,
       
    37 // screensaver will commit suicide if it is activated on top of that
       
    38 // application and this flag is defined.
       
    39 #define FAST_STOP_ON_SCREENDEVICE_CHANGE
       
    40 
       
    41 // ONLY ONE OF THE POWERSAVE CONFIGURATIONS CAN BE ON AT A TIME
       
    42 // 
       
    43 // Power save area should always be based on width of the bar, not height
       
    44 // (for landscape displays with portrait power save)
       
    45 // #define POWERSAVE_BASED_ON_WIDTH
       
    46 //
       
    47 // Power save area should be based on width of the bar, if display
       
    48 // has been rotated (for rotatable displays with power save in original
       
    49 // orientation only)
       
    50 // #define POWERSAVE_BASED_ON_WIDTH_ROTATED
       
    51 
       
    52 
       
    53 // DEFAULT ORIENTATION (not defined = device default)
       
    54 //
       
    55 // Always stay in portrait (overrides landscape if both defined)
       
    56 // defining this attribute as lead HW for 3.2 supports screensaver only in portrait mode
       
    57  #define ALWAYS_PORTRAIT
       
    58 //
       
    59 // Always stay in landscape
       
    60 //#define ALWAYS_LANDSCAPE
       
    61 
       
    62 #endif // SCREENSAVERCONFIG_HRH