idlehomescreen/examples/hscontentcontrolexample/data/hscontentcontrolexample.rss
branchRCL_3
changeset 102 ba63c83f4716
parent 93 b01126ce0bec
child 103 966d119a7e67
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
     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:  Content Control example
       
    15 *
       
    16 */
       
    17 
       
    18 NAME HSCO
       
    19 
       
    20 #include <eikon.rh>
       
    21 #include <avkon.rsg>
       
    22 #include <avkon.rh>
       
    23 #include <appinfo.rh>
       
    24 #include "hscontentcontrolexample.loc"
       
    25 
       
    26 RESOURCE RSS_SIGNATURE
       
    27     {
       
    28     }
       
    29 
       
    30 RESOURCE TBUF
       
    31     {
       
    32     buf = "HsContentControl";
       
    33     }
       
    34 
       
    35 RESOURCE EIK_APP_INFO r_application_hs_content_control_app_ui
       
    36     {
       
    37     cba = R_AVKON_SOFTKEYS_EXIT;
       
    38     status_pane = r_application_status_pane;
       
    39     menubar = r_application_options_menu;
       
    40     }
       
    41 
       
    42 RESOURCE STATUS_PANE_APP_MODEL r_application_status_pane
       
    43     {
       
    44     panes =
       
    45         {
       
    46         SPANE_PANE
       
    47             {
       
    48             id = EEikStatusPaneUidNavi;
       
    49             type = EAknCtNaviPane;
       
    50             resource = r_navi_decorator;
       
    51             }
       
    52 
       
    53         };
       
    54     }
       
    55 
       
    56 RESOURCE NAVI_DECORATOR r_navi_decorator
       
    57     {
       
    58     type = ENaviDecoratorControlTabGroup;
       
    59 
       
    60     control = TAB_GROUP
       
    61         {
       
    62         tab_width = EAknTabWidthWithOneTab;
       
    63 
       
    64         active = 0;
       
    65 
       
    66         tabs = 
       
    67             {
       
    68             TAB
       
    69                 {
       
    70                 id = 0;
       
    71                 txt = "Active configuration";
       
    72                 },
       
    73             TAB
       
    74                 {
       
    75                 id = 1;
       
    76                 txt = "Configurations";
       
    77                 },
       
    78             TAB
       
    79                 {
       
    80                 id = 2;
       
    81                 txt = "Views";
       
    82                 },
       
    83             TAB
       
    84                 {
       
    85                 id = 3;
       
    86                 txt = "Widgets";
       
    87                 }                
       
    88             };
       
    89 
       
    90         };
       
    91     }
       
    92 
       
    93 
       
    94 RESOURCE MENU_BAR r_application_options_menu
       
    95     {
       
    96     }
       
    97 
       
    98 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
    99     {
       
   100     short_caption = STR_HsContentControlApplication_5;
       
   101     caption_and_icon = CAPTION_AND_ICON_INFO
       
   102         {
       
   103         caption = STR_HsContentControlApplication_4;
       
   104         number_of_icons = 0;
       
   105         };
       
   106     }
       
   107