skins/AknSkins/srvinc/AknsSkinContent.h
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2002-2008 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:  Skin content structures and macros.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef AKNSSKINCONTENT_H
       
    20 #define AKNSSKINCONTENT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "AknsSrvItemDef.h"
       
    24 #include <AknsSkinUID.h>
       
    25 #include <AknsConstants.h>
       
    26 
       
    27 // MACROS
       
    28 
       
    29 // Verify that macro is not used elsewhere
       
    30 #ifdef AKNS_DTPP
       
    31 #error AknsSkinContent.h: Internal AKNS_DTPP macro already defined
       
    32 #endif
       
    33 
       
    34 /**
       
    35 * Macro used to cast definition constants to polymorpic pointers
       
    36 */
       
    37 #define AKNS_DTPP(a) {EAknsSrvMPPtrAbsoluteROM,static_cast<const TAny*>(&(a))}
       
    38 
       
    39 // CONSTANTS
       
    40 
       
    41 // ============================================================================
       
    42 // Skin definitions
       
    43 // ============================================================================
       
    44 
       
    45 //lint -e785 Incomplete aggregates are allowed
       
    46 
       
    47 #include "AknsSkinContentColorScheme.inl"
       
    48 
       
    49 //lint +e785
       
    50 
       
    51 // ============================================================================
       
    52 // Skin list
       
    53 // ============================================================================
       
    54 
       
    55 static const TAknsSrvSkinDef KAknsSrvSkins[] = {
       
    56 
       
    57     // COLOR SCHEMES
       
    58 
       
    59     { {EAknsUIDColorBlue,0},
       
    60         0,
       
    61         0,
       
    62         &KAknsColorschemeBlueColorSetClass,
       
    63         {0,0}
       
    64     },
       
    65 
       
    66     { {EAknsUIDColorGreen,0},
       
    67         0,
       
    68         0,
       
    69         &KAknsColorschemeGreenColorSetClass,
       
    70         {0,0}
       
    71     },
       
    72 
       
    73     { {EAknsUIDColorPurple,0},
       
    74         0,
       
    75         0,
       
    76         &KAknsColorschemePurpleColorSetClass,
       
    77         {0,0}
       
    78     },
       
    79 
       
    80     { {EAknsUIDColorGrey,0},
       
    81         0,
       
    82         0,
       
    83         &KAknsColorschemeGreyColorSetClass,
       
    84         {0,0}
       
    85     },
       
    86 
       
    87     { {EAknsUIDColorRed,0},
       
    88         0,
       
    89         0,
       
    90         &KAknsColorschemeRedColorSetClass,
       
    91         {0,0}
       
    92     },
       
    93 
       
    94     { {EAknsUIDColorPink,0},
       
    95         0,
       
    96         0,
       
    97         &KAknsColorschemePinkColorSetClass,
       
    98         {0,0}
       
    99     },
       
   100 
       
   101     { {EAknsUIDColorOrange,0},
       
   102         0,
       
   103         0,
       
   104         &KAknsColorschemeOrangeColorSetClass,
       
   105         {0,0}
       
   106     },
       
   107 
       
   108     { {EAknsUIDColorPalette1,0},
       
   109         0,
       
   110         0,
       
   111         &KAknsColorschemePalette1ColorSetClass,
       
   112         {0,0}
       
   113     },
       
   114 
       
   115     { {EAknsUIDColorPalette2,0},
       
   116         0,
       
   117         0,
       
   118         &KAknsColorschemePalette2ColorSetClass,
       
   119         {0,0}
       
   120     },
       
   121 
       
   122     { {EAknsUIDColorPalette3,0},
       
   123         0,
       
   124         0,
       
   125         &KAknsColorschemePalette3ColorSetClass,
       
   126         {0,0}
       
   127     },
       
   128 
       
   129     { {EAknsUIDColorPalette4,0},
       
   130         0,
       
   131         0,
       
   132         &KAknsColorschemePalette4ColorSetClass,
       
   133         {0,0}
       
   134     },
       
   135 
       
   136     { {EAknsUIDColorPalette5,0},
       
   137         0,
       
   138         0,
       
   139         &KAknsColorschemePalette5ColorSetClass,
       
   140         {0,0}
       
   141     },
       
   142 
       
   143     { {EAknsUIDColorPalette6,0},
       
   144         0,
       
   145         0,
       
   146         &KAknsColorschemePalette6ColorSetClass,
       
   147         {0,0}
       
   148     },
       
   149 
       
   150     { {EAknsUIDColorPalette7,0},
       
   151         0,
       
   152         0,
       
   153         &KAknsColorschemePalette7ColorSetClass,
       
   154         {0,0}
       
   155     },
       
   156 
       
   157     { {EAknsUIDColorPalette8,0},
       
   158         0,
       
   159         0,
       
   160         &KAknsColorschemePalette8ColorSetClass,
       
   161         {0,0}
       
   162     },
       
   163 
       
   164     { {EAknsUIDColorPalette9,0},
       
   165         0,
       
   166         0,
       
   167         &KAknsColorschemePalette9ColorSetClass,
       
   168         {0,0}
       
   169     },
       
   170 
       
   171     { {EAknsUIDColorPalette10,0},
       
   172         0,
       
   173         0,
       
   174         &KAknsColorschemePalette10ColorSetClass,
       
   175         {0,0}
       
   176     },
       
   177 
       
   178     { {EAknsUIDColorPalette11,0},
       
   179         0,
       
   180         0,
       
   181         &KAknsColorschemePalette11ColorSetClass,
       
   182         {0,0}
       
   183     },
       
   184 
       
   185     { {EAknsUIDColorPalette12,0},
       
   186         0,
       
   187         0,
       
   188         &KAknsColorschemePalette12ColorSetClass,
       
   189         {0,0}
       
   190     },
       
   191 
       
   192     { {EAknsUIDColorPalette13,0},
       
   193         0,
       
   194         0,
       
   195         &KAknsColorschemePalette13ColorSetClass,
       
   196         {0,0}
       
   197     }
       
   198 
       
   199     };
       
   200 static const TInt KAknsSrvSkinsN = (20);
       
   201 
       
   202 // MACROS (continued)
       
   203 
       
   204 // Undefine internal macro
       
   205 #undef AKNS_DTPP
       
   206 
       
   207 #endif      // AKNSSKINCONTENT_H
       
   208 
       
   209 // End of File