classicui_pub/notes_api/tsrc/data/testsdknotes.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 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:  Resource definitions for project testsdknotes
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 NAME    TSNS
       
    20 
       
    21 #include <avkon.rsg>
       
    22 #include <avkon.rh>
       
    23 #include <eikon.rh>
       
    24 #include <avkon.mbg>
       
    25 #include <eikctl.rsg>
       
    26 
       
    27 #include "testsdknotes.hrh"
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 //    Define the resource file signature
       
    32 //    This resource should be empty.
       
    33 //
       
    34 // -----------------------------------------------------------------------------
       
    35 RESOURCE RSS_SIGNATURE
       
    36     {
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 //    Default Document Name
       
    42 //
       
    43 // -----------------------------------------------------------------------------
       
    44 RESOURCE TBUF
       
    45     {
       
    46     buf = "";
       
    47     }
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // r_testsdk_notesprogi
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 RESOURCE PROGRESSINFO r_testsdk_notesprogi
       
    54     {
       
    55     text_type = 0;
       
    56     splits_in_block = 0;
       
    57     finalval = 200;
       
    58     width = 120;
       
    59     height = 10;
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // r_testsdk_andimage
       
    64 // ---------------------------------------------------------------------------
       
    65 //
       
    66 RESOURCE IMAGE r_testsdk_andimage
       
    67     {
       
    68     bmpfile = TESTSDK_NOTES_MAPFILE;
       
    69     bmpid = EMbmAvkonQgn_indi_mic;
       
    70     }
       
    71 
       
    72 // ---------------------------------------------------------------------------
       
    73 // r_testsdk_imagenote
       
    74 // ---------------------------------------------------------------------------
       
    75 //
       
    76 RESOURCE DIALOG r_testsdk_imagenote
       
    77     {
       
    78     flags = EAknDialogGenericNoteFlags;
       
    79     items =
       
    80         {
       
    81         DLG_LINE
       
    82             {
       
    83             type = EAknCtNote;
       
    84             id = ETESTSDKNOTESIMAGE;
       
    85             control = AVKON_NOTE
       
    86                 {
       
    87                 layout = ENoteWithImageLayout;
       
    88                 imagefile = TESTSDK_NOTES_MAPFILE;
       
    89                 imageid = EMbmAvkonQgn_indi_mic; 
       
    90                 };
       
    91             }
       
    92         };
       
    93     }
       
    94 
       
    95 // ---------------------------------------------------------------------------
       
    96 // r_testsdk_notewrapper
       
    97 // ---------------------------------------------------------------------------
       
    98 //
       
    99 RESOURCE AKN_NOTE_WRAPPER r_testsdk_notewrapper
       
   100     {
       
   101     resId = r_testsdk_information_note;
       
   102     timeout = 1500000;
       
   103     tone = 1;
       
   104     text = TESTSDK_NOTES_TXT;
       
   105     }
       
   106 
       
   107 // ---------------------------------------------------------------------------
       
   108 // r_testsdk_notewrappernotext
       
   109 // ---------------------------------------------------------------------------
       
   110 //
       
   111 RESOURCE AKN_NOTE_WRAPPER r_testsdk_notewrappernotext
       
   112     {
       
   113     resId = r_testsdk_information_note;
       
   114     timeout = 1500000;
       
   115     tone = 1;
       
   116     }
       
   117 
       
   118 // ---------------------------------------------------------------------------
       
   119 // r_testsdk_information_note
       
   120 // ---------------------------------------------------------------------------
       
   121 //
       
   122 RESOURCE DIALOG r_testsdk_information_note
       
   123     {
       
   124     flags = EAknInformationNoteFlags;
       
   125     items =
       
   126         {
       
   127         DLG_LINE
       
   128             {
       
   129             type = EAknCtNote;
       
   130             id = ETestSDKInformationNote;
       
   131             control = AVKON_NOTE
       
   132                 {
       
   133                 layout = EGeneralLayout;
       
   134                 imagefile = TESTSDK_NOTES_MAPFILE;
       
   135                 imageid = EMbmAvkonQgn_indi_mic;
       
   136                 };
       
   137             }
       
   138         };
       
   139     }
       
   140 
       
   141 // ---------------------------------------------------------------------------
       
   142 // r_testsdk_progress_note
       
   143 // ---------------------------------------------------------------------------
       
   144 //
       
   145 RESOURCE DIALOG r_testsdk_progress_note
       
   146     {
       
   147     flags=EAknProgressNoteFlags;
       
   148     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   149     items =
       
   150         {
       
   151         DLG_LINE
       
   152             {
       
   153             type = EAknCtNote;
       
   154             id = ETestSDKProgressNote;
       
   155             control = AVKON_NOTE
       
   156                 {
       
   157                 layout = EProgressLayout;
       
   158                 imagefile = TESTSDK_NOTES_MAPFILE;
       
   159                 imageid = EMbmAvkonQgn_indi_mic;
       
   160                 };
       
   161             }
       
   162         };
       
   163     }
       
   164 
       
   165 // ---------------------------------------------------------------------------
       
   166 // r_testsdk_staticnote
       
   167 // ---------------------------------------------------------------------------
       
   168 //
       
   169 RESOURCE DIALOG r_testsdk_staticnote
       
   170     {
       
   171     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar
       
   172           | EEikDialogFlagCbaButtons ;
       
   173     buttons = R_AVKON_SOFTKEYS_READ_EXIT;
       
   174     items =
       
   175         {
       
   176         DLG_LINE
       
   177             {
       
   178             type = EAknCtNote;
       
   179             id = ETestSDKStaticNote;
       
   180             control = AVKON_NOTE 
       
   181                 { 
       
   182                 layout = ETextualNotificationLayout;
       
   183                 };
       
   184             }
       
   185         };
       
   186     }
       
   187 
       
   188 // ---------------------------------------------------------------------------
       
   189 // r_testsdk_waitnotewrapper
       
   190 // ---------------------------------------------------------------------------
       
   191 //
       
   192 RESOURCE DIALOG r_testsdk_waitnotewrapper
       
   193     {
       
   194     flags = EAknWaitNoteFlags;
       
   195     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   196     items =
       
   197         {
       
   198         DLG_LINE
       
   199             {
       
   200             type = EAknCtNote;
       
   201             id = ETestSDKWaitNoteWrapper;
       
   202             control= AVKON_NOTE 
       
   203                 { 
       
   204                 layout = EWaitLayout;
       
   205                 imagefile = TESTSDK_NOTES_MAPFILE;
       
   206                 imageid = EMbmAvkonQgn_indi_mic;
       
   207                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   208                 };
       
   209             }
       
   210         };
       
   211     }
       
   212 
       
   213 // ---------------------------------------------------------------------------
       
   214 // r_testsdk_notecontrolimage
       
   215 // ---------------------------------------------------------------------------
       
   216 //
       
   217 RESOURCE DIALOG r_testsdk_notecontrolimage
       
   218     {
       
   219     flags = EAknDialogGenericNoteFlags;
       
   220     items =
       
   221         {
       
   222         DLG_LINE
       
   223             {
       
   224             type = EAknCtNote;
       
   225             id = ETestSDKNoteControl;
       
   226             control = AVKON_NOTE
       
   227                 {
       
   228                 layout = ENoteWithImageLayout;
       
   229                 };
       
   230             }
       
   231         };
       
   232     }
       
   233 
       
   234 // ---------------------------------------------------------------------------
       
   235 // r_testsdk_animationdata
       
   236 // ---------------------------------------------------------------------------
       
   237 //
       
   238 RESOURCE BMPANIM_DATA r_testsdk_animationdata
       
   239     {
       
   240         frameinterval = 400;
       
   241         playmode = EAknBitmapAnimationPlayModeBounce;
       
   242         flash = 0;
       
   243         bmpfile = TESTSDK_NOTES_MAPFILE;
       
   244         frames = r_animation_array ;
       
   245     }
       
   246 
       
   247 // ---------------------------------------------------------------------------
       
   248 // r_animation_array
       
   249 // ---------------------------------------------------------------------------
       
   250 //
       
   251 RESOURCE ARRAY r_animation_array
       
   252     {
       
   253         items = 
       
   254         {
       
   255         BMPANIM_FRAME { time = 200; bmpid = EMbmAvkonQgn_indi_mic; }
       
   256         };
       
   257     }
       
   258 
       
   259 // ---------------------------------------------------------------------------
       
   260 // r_testsdk_notecontrolprogress
       
   261 // ---------------------------------------------------------------------------
       
   262 //
       
   263 RESOURCE DIALOG r_testsdk_notecontrolprogress
       
   264     {
       
   265     flags = EAknDialogGenericNoteFlags;
       
   266     items =
       
   267         {
       
   268         DLG_LINE
       
   269             {
       
   270             type = EAknCtNote;
       
   271             id = ETestSDKNoteControl;
       
   272             control = AVKON_NOTE
       
   273                 {
       
   274                 layout = EWaitLayout;
       
   275                 };
       
   276             }
       
   277         };
       
   278     }
       
   279