phoneuis/BubbleManager/Data/BubbleManager.rss
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  This file contains all the resources for the module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // RESOURCE IDENTIFIER
       
    20 NAME BMAN // 4 letter ID
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikon.rh>
       
    24 #include <bubblemanager.mbg>
       
    25 #include <callstatus.mbg>
       
    26 #include <avkon.rh>
       
    27 #include <data_caging_paths_strings.hrh>
       
    28 
       
    29 // CONSTANTS 
       
    30 #define KBMResBitmapFile            "z:"APP_BITMAP_DIR"\\bubblemanager.mbm"
       
    31 #define KBMResCallStatusBitmapFile  "z:"APP_BITMAP_DIR"\\callstatus.mbm"
       
    32 
       
    33 // RESOURCE DEFINITIONS 
       
    34 
       
    35 RESOURCE RSS_SIGNATURE { }
       
    36 
       
    37 RESOURCE TBUF { buf="BubbleManager"; }
       
    38 
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 //   
       
    42 // r_bubblemanager_big_waiting_anim
       
    43 // Big animation data
       
    44 //
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 RESOURCE BMPANIM_DATA r_bubblemanager_big_waiting_anim
       
    48     {
       
    49     frameinterval = 500;
       
    50     playmode = EAknBitmapAnimationPlayModeCycle;
       
    51     frames = r_bubblemanager_big_waiting_image_array;
       
    52     bmpfile = KBMResBitmapFile;
       
    53     }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 //   
       
    57 // r_bubblemanager_big_waiting_image_array
       
    58 // Big animation images
       
    59 //
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE ARRAY r_bubblemanager_big_waiting_image_array
       
    63     {
       
    64     items=
       
    65         {
       
    66         BMPANIM_FRAME 
       
    67             { 
       
    68             bmpid=EMbmBubblemanagerQgn_indi_call_waiting_1; 
       
    69             maskid=EMbmBubblemanagerQgn_indi_call_waiting_1_mask;
       
    70             },
       
    71         BMPANIM_FRAME 
       
    72             { 
       
    73             bmpid=EMbmBubblemanagerQgn_indi_call_waiting_2; 
       
    74             maskid=EMbmBubblemanagerQgn_indi_call_waiting_2_mask;
       
    75             }
       
    76         };
       
    77     }
       
    78 
       
    79 // -----------------------------------------------------------------------------
       
    80 //   
       
    81 // r_bubblemanager_small_waiting_anim
       
    82 // Small animation data
       
    83 //
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 RESOURCE BMPANIM_DATA r_bubblemanager_small_waiting_anim
       
    87     {
       
    88     frameinterval = 500;
       
    89     playmode = EAknBitmapAnimationPlayModeCycle;
       
    90     frames = r_bubblemanager_small_waiting_image_array;
       
    91     bmpfile = KBMResCallStatusBitmapFile;
       
    92     }
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 //   
       
    96 // r_bubblemanager_small_waiting_image_array
       
    97 // Small animation images
       
    98 //
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 RESOURCE ARRAY r_bubblemanager_small_waiting_image_array
       
   102     {
       
   103     items=
       
   104         {
       
   105         BMPANIM_FRAME 
       
   106             { 
       
   107             bmpid=EMbmCallstatusQgn_indi_call_active; 
       
   108             maskid=EMbmCallstatusQgn_indi_call_active_mask;
       
   109             },
       
   110         BMPANIM_FRAME 
       
   111             { 
       
   112             bmpid=EMbmCallstatusQgn_indi_call_active_2; 
       
   113             maskid=EMbmCallstatusQgn_indi_call_active_2_mask;
       
   114             }
       
   115         };
       
   116     }
       
   117 
       
   118 
       
   119 // -----------------------------------------------------------------------------
       
   120 //   
       
   121 // r_bubblemanager_editor
       
   122 // Number entry definion
       
   123 //
       
   124 // -----------------------------------------------------------------------------
       
   125 //
       
   126 RESOURCE PHONE_NUMBER_EDITOR r_bubblemanager_editor
       
   127     {
       
   128     maxChars = 100;
       
   129     maxLines = 2;
       
   130     truncation = <0x2026>; // three dots: ...
       
   131     formats =
       
   132         {
       
   133         PHONE_NUMBER_EDITOR_FORMAT // 1 line, full width
       
   134             {
       
   135             top=112;
       
   136             left=11;
       
   137             bottom=130;
       
   138             right=165;
       
   139             lines=1;
       
   140             bottomBaselineOffset=3;
       
   141             baselineSeparation=18;
       
   142             font=ELatinBold17;
       
   143             },
       
   144         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, full width
       
   145             {
       
   146             top=94;
       
   147             left=11;
       
   148             bottom=130;
       
   149             right=165;
       
   150             lines=2;
       
   151             bottomBaselineOffset=3;
       
   152             baselineSeparation=18;
       
   153             font=ELatinBold13;
       
   154             },
       
   155         PHONE_NUMBER_EDITOR_FORMAT // 1 line, narrowed width
       
   156             {
       
   157             top=112;
       
   158             left=21;
       
   159             bottom=130;
       
   160             right=165;
       
   161             lines=1;
       
   162             bottomBaselineOffset=3;
       
   163             baselineSeparation=18;
       
   164             font=ELatinBold17;
       
   165             },
       
   166         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, narrowed width
       
   167             {
       
   168             top=94;
       
   169             left=21;
       
   170             bottom=130;
       
   171             right=165;
       
   172             lines=2;
       
   173             bottomBaselineOffset=3;
       
   174             baselineSeparation=18;
       
   175             font=ELatinBold13;
       
   176             },
       
   177         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, full width, large font
       
   178             {
       
   179             top=0; // layout values read from layout API
       
   180             left=0;
       
   181             bottom=0;
       
   182             right=0;
       
   183             lines=2;
       
   184             bottomBaselineOffset=0;
       
   185             baselineSeparation=0;
       
   186             font=ELatinBold17;
       
   187             },                     
       
   188 // without status pane
       
   189         PHONE_NUMBER_EDITOR_FORMAT // 1 line, full width
       
   190             {
       
   191             top=112+44;
       
   192             left=11;
       
   193             bottom=130+44;
       
   194             right=165;
       
   195             lines=1;
       
   196             bottomBaselineOffset=3;
       
   197             baselineSeparation=18;
       
   198             font=ELatinBold17;
       
   199             },
       
   200         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, full width
       
   201             {
       
   202             top=94+44;
       
   203             left=11;
       
   204             bottom=130+44;
       
   205             right=165;
       
   206             lines=2;
       
   207             bottomBaselineOffset=3;
       
   208             baselineSeparation=18;
       
   209             font=ELatinBold13;
       
   210             },
       
   211         PHONE_NUMBER_EDITOR_FORMAT // 1 line, narrowed width
       
   212             {
       
   213             top=112+44;
       
   214             left=21;
       
   215             bottom=130+44;
       
   216             right=165;
       
   217             lines=1;
       
   218             bottomBaselineOffset=3;
       
   219             baselineSeparation=18;
       
   220             font=ELatinBold17;
       
   221             },
       
   222         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, narrowed width
       
   223             {
       
   224             top=94+44;
       
   225             left=21;
       
   226             bottom=130+44;
       
   227             right=165;
       
   228             lines=2;
       
   229             bottomBaselineOffset=3;
       
   230             baselineSeparation=18;
       
   231             font=ELatinBold13;
       
   232             },
       
   233         PHONE_NUMBER_EDITOR_FORMAT // 2 lines, full width, large font
       
   234             {
       
   235             top=0; // layout values read from layout API
       
   236             left=0;
       
   237             bottom=0;
       
   238             right=0;
       
   239             lines=2;
       
   240             bottomBaselineOffset=0;
       
   241             baselineSeparation=0;
       
   242             font=ELatinBold17;
       
   243             }            
       
   244         };
       
   245     }
       
   246 
       
   247 // -----------------------------------------------------------------------------
       
   248 //   
       
   249 // r_bubblemanager_big_video_waiting_anim
       
   250 // Big animation data for video call
       
   251 //
       
   252 // -----------------------------------------------------------------------------
       
   253 //
       
   254 RESOURCE BMPANIM_DATA r_bubblemanager_big_video_waiting_anim
       
   255     {
       
   256     frameinterval = 500;
       
   257     playmode = EAknBitmapAnimationPlayModeCycle;
       
   258     frames = r_bubblemanager_big_video_waiting_image_array;
       
   259     bmpfile = KBMResCallStatusBitmapFile;
       
   260     }
       
   261 
       
   262 // -----------------------------------------------------------------------------
       
   263 //   
       
   264 // r_bubblemanager_big_video_waiting_image_array
       
   265 // Big animation images for video call
       
   266 //
       
   267 // -----------------------------------------------------------------------------
       
   268 //
       
   269 RESOURCE ARRAY r_bubblemanager_big_video_waiting_image_array
       
   270     {
       
   271     items=
       
   272         {
       
   273         BMPANIM_FRAME
       
   274             {
       
   275             bmpid = EMbmCallstatusQgn_indi_call_video_1;
       
   276             maskid = EMbmCallstatusQgn_indi_call_video_1_mask;
       
   277             },
       
   278         BMPANIM_FRAME
       
   279             {
       
   280             bmpid = EMbmCallstatusQgn_indi_call_video_2;
       
   281             maskid = EMbmCallstatusQgn_indi_call_video_2_mask;
       
   282             }
       
   283         };
       
   284     }
       
   285 
       
   286 
       
   287 // -----------------------------------------------------------------------------
       
   288 //   
       
   289 // r_bubblemanager_small_video_waiting_anim
       
   290 // Small animation data for video call
       
   291 //
       
   292 // -----------------------------------------------------------------------------
       
   293 //
       
   294 RESOURCE BMPANIM_DATA r_bubblemanager_small_video_waiting_anim
       
   295     {
       
   296     frameinterval = 500;
       
   297     playmode = EAknBitmapAnimationPlayModeCycle;
       
   298     frames = r_bubblemanager_small_video_waiting_image_array;
       
   299     bmpfile = KBMResCallStatusBitmapFile;
       
   300     }
       
   301 
       
   302 // -----------------------------------------------------------------------------
       
   303 //   
       
   304 // r_bubblemanager_small_video_waiting_image_array
       
   305 // Small animation images
       
   306 //
       
   307 // -----------------------------------------------------------------------------
       
   308 //
       
   309 RESOURCE ARRAY r_bubblemanager_small_video_waiting_image_array
       
   310     {
       
   311     items=
       
   312         {
       
   313         BMPANIM_FRAME
       
   314             {
       
   315             bmpid = EMbmCallstatusQgn_indi_call_video_callsta_1;
       
   316             maskid = EMbmCallstatusQgn_indi_call_video_callsta_1_mask;
       
   317             },
       
   318         BMPANIM_FRAME 
       
   319             {
       
   320             bmpid = EMbmCallstatusQgn_indi_call_video_callsta_2;
       
   321             maskid = EMbmCallstatusQgn_indi_call_video_callsta_2_mask;
       
   322             }
       
   323         };
       
   324     }
       
   325 
       
   326 // -----------------------------------------------------------------------------
       
   327 //   
       
   328 // r_bubblemanager_big_voip_waiting_anim
       
   329 // Big animation data
       
   330 //
       
   331 // -----------------------------------------------------------------------------
       
   332 //
       
   333 RESOURCE BMPANIM_DATA r_bubblemanager_big_voip_waiting_anim
       
   334     {
       
   335     frameinterval = 500;
       
   336     playmode = EAknBitmapAnimationPlayModeCycle;
       
   337     frames = r_bubblemanager_big_voip_waiting_image_array;
       
   338     bmpfile = KBMResBitmapFile;
       
   339     }
       
   340 
       
   341 // -----------------------------------------------------------------------------
       
   342 //   
       
   343 // r_bubblemanager_big_voip_waiting_image_array
       
   344 // Big animation images
       
   345 //
       
   346 // -----------------------------------------------------------------------------
       
   347 //
       
   348 RESOURCE ARRAY r_bubblemanager_big_voip_waiting_image_array
       
   349     {
       
   350     items=
       
   351         {
       
   352 	BMPANIM_FRAME 
       
   353             { 
       
   354             bmpid=EMbmBubblemanagerQgn_indi_call_voip_waiting_1; 
       
   355             maskid=EMbmBubblemanagerQgn_indi_call_voip_waiting_1_mask;
       
   356 			},
       
   357         BMPANIM_FRAME 
       
   358             { 
       
   359             bmpid=EMbmBubblemanagerQgn_indi_call_voip_waiting_2; 
       
   360             maskid=EMbmBubblemanagerQgn_indi_call_voip_waiting_2_mask;
       
   361             }
       
   362         };
       
   363     }
       
   364 
       
   365 // -----------------------------------------------------------------------------
       
   366 //   
       
   367 // r_bubblemanager_small_voip_waiting_anim
       
   368 // Small animation data
       
   369 //
       
   370 // -----------------------------------------------------------------------------
       
   371 //
       
   372 RESOURCE BMPANIM_DATA r_bubblemanager_small_voip_waiting_anim
       
   373     {
       
   374     frameinterval = 500;
       
   375     playmode = EAknBitmapAnimationPlayModeCycle;
       
   376     frames = r_bubblemanager_small_voip_waiting_image_array;
       
   377     bmpfile = KBMResCallStatusBitmapFile;
       
   378     }
       
   379 
       
   380 // -----------------------------------------------------------------------------
       
   381 //   
       
   382 // r_bubblemanager_small_voip_waiting_image_array
       
   383 // Small animation images
       
   384 //
       
   385 // -----------------------------------------------------------------------------
       
   386 //
       
   387 RESOURCE ARRAY r_bubblemanager_small_voip_waiting_image_array
       
   388     {
       
   389     items=
       
   390         {
       
   391         BMPANIM_FRAME 
       
   392             { 
       
   393             bmpid=EMbmCallstatusQgn_indi_call_voip_active; 
       
   394             maskid=EMbmCallstatusQgn_indi_call_voip_active_mask;
       
   395             },
       
   396         BMPANIM_FRAME 
       
   397             { 
       
   398             bmpid=EMbmCallstatusQgn_indi_call_voip_active_2; 
       
   399             maskid=EMbmCallstatusQgn_indi_call_voip_active_2_mask;
       
   400             }
       
   401         };
       
   402     }