screensaver/inc/snsrcolors.h
changeset 97 66b5fe3c07fd
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
       
     1 /*
       
     2 * Copyright (c) 2010 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: Colors used in screensaver.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SNSRCOLORS_H
       
    19 #define SNSRCOLORS_H
       
    20 
       
    21 #include <QColor>
       
    22 #include <QString>
       
    23 
       
    24 namespace SnsrColors
       
    25 {
       
    26 // in active mode icons and text should take the color from the theme using these roles
       
    27 static const QLatin1String WidgetColorRole("qtc_screensaver");
       
    28 
       
    29 // in power save mode icons and texts should be always white
       
    30 static const QColor PowerSaveModeWidgetColor(Qt::white);
       
    31 
       
    32 // background should always be black
       
    33 static const QColor BackgroundColor(Qt::black);
       
    34 }
       
    35 
       
    36 #endif /* SNSRCOLORS_H */