idlehomescreen/xmluirendering/uiengine/src/xnuiengine.rss
branchRCL_3
changeset 83 5456b4e8b3a8
equal deleted inserted replaced
82:5f0182e07bfb 83:5456b4e8b3a8
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ========== RESOURCE IDENTIFIER =============================================
       
    20 
       
    21 NAME    XNAI
       
    22 
       
    23 // ========== INCLUDE FILES ===================================================
       
    24 
       
    25 #include <eikon.rh>
       
    26 #include <eikcore.rsg>
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.rh>
       
    29 #include <avkon.mbg>
       
    30 #include <AvkonIcons.hrh>
       
    31 #include <e32keys.h>
       
    32 #include <activeidle3.loc>
       
    33 
       
    34 // ========== RESOURCE DEFINITIONS ============================================
       
    35 
       
    36 RESOURCE RSS_SIGNATURE { }
       
    37 RESOURCE TBUF { buf = ""; }
       
    38 
       
    39 // Select widget-dialog
       
    40 RESOURCE AVKON_LIST_QUERY r_listquery_add_widget
       
    41     {
       
    42     items =
       
    43         {
       
    44         AVKON_LIST_QUERY_DLG_LINE
       
    45             {
       
    46             control = AVKON_LIST_QUERY_CONTROL
       
    47                 {
       
    48                 listtype = EAknCtSinglePopupMenuListBox;
       
    49                 heading = qtn_hs_select_widget;
       
    50                 listbox = AVKON_LIST_QUERY_LIST
       
    51                     {
       
    52                     // dynamically filled
       
    53                     };
       
    54                 };
       
    55             }
       
    56         };
       
    57     softkeys = R_AVKON_SOFTKEYS_SELECT_BACK;
       
    58     }
       
    59 
       
    60 
       
    61 // xml listquery dialog
       
    62 RESOURCE AVKON_LIST_QUERY r_xml_listquery
       
    63     {
       
    64     items =
       
    65         {
       
    66         AVKON_LIST_QUERY_DLG_LINE
       
    67             {
       
    68             control = AVKON_LIST_QUERY_CONTROL
       
    69                 {
       
    70                 listtype = EAknCtSinglePopupMenuListBox;
       
    71                 // heading = dynamically filled
       
    72                 listbox = AVKON_LIST_QUERY_LIST
       
    73                     {
       
    74                     // dynamically filled
       
    75                     };
       
    76                 };
       
    77             }
       
    78         };
       
    79     softkeys = R_AVKON_SOFTKEYS_SELECT_BACK;
       
    80     }
       
    81 
       
    82 RESOURCE TBUF r_qtn_hs_add_widget_full
       
    83   {
       
    84   buf = qtn_hs_add_widget_full;
       
    85   }
       
    86 
       
    87 RESOURCE TBUF r_qtn_hs_error_widgets_removed
       
    88     {
       
    89     buf = qtn_hs_error_widgets_removed;
       
    90     }
       
    91 
       
    92 RESOURCE TBUF r_qtn_hs_hs_memory_full
       
    93     {
       
    94     buf = qtn_hs_hs_memory_full;
       
    95     }
       
    96 
       
    97 RESOURCE TBUF r_qtn_hs_max_amount_of_pages_note 
       
    98     { 
       
    99     buf = qtn_hs_max_amount_of_pages_note; 
       
   100     } 
       
   101 
       
   102 RESOURCE TBUF r_qtn_hs_delete_page 
       
   103     { 
       
   104     buf = qtn_hs_delete_current_page; 
       
   105     }
       
   106     
       
   107 RESOURCE TBUF r_hs_error_content_removed
       
   108 		{
       
   109 		buf = qtn_hs_error_content_removed;
       
   110 		}    
       
   111     
       
   112 RESOURCE DIALOG r_yes_no_hs_remove_view 
       
   113     { 
       
   114     flags = EGeneralQueryFlags; 
       
   115     buttons = R_AVKON_SOFTKEYS_YES_NO; 
       
   116     items = 
       
   117         { 
       
   118         DLG_LINE 
       
   119             { 
       
   120             type = EAknCtQuery; 
       
   121             id = EGeneralQuery; 
       
   122             control = AVKON_CONFIRMATION_QUERY 
       
   123                 { 
       
   124                 layout = EConfirmationQueryLayout; 
       
   125                 label = qtn_hs_delete_current_page; 
       
   126                 }; 
       
   127             } 
       
   128         }; 
       
   129     }
       
   130 
       
   131 RESOURCE ARRAY r_array_change_wallpaper
       
   132     {
       
   133     items =
       
   134         {
       
   135         LBUF {txt = qtn_hs_default; },
       
   136         LBUF {txt = qtn_hs_image; }
       
   137         };
       
   138     }
       
   139     
       
   140 // Change wallpaper-dialog
       
   141 RESOURCE AVKON_LIST_QUERY r_listquery_change_wallpaper
       
   142     {
       
   143     items =
       
   144         {
       
   145         AVKON_LIST_QUERY_DLG_LINE
       
   146             {
       
   147             control = AVKON_LIST_QUERY_CONTROL
       
   148                 {
       
   149                 listtype = EAknCtSinglePopupMenuListBox;
       
   150                 heading = qtn_hs_title_change_wallpaper;
       
   151                 listbox = AVKON_LIST_QUERY_LIST
       
   152                     {
       
   153                     array_id = r_array_change_wallpaper;
       
   154                     };
       
   155                 };
       
   156             }
       
   157         };
       
   158     softkeys = R_AVKON_SOFTKEYS_SELECT_BACK;
       
   159     }
       
   160     
       
   161 RESOURCE DIALOG r_hs_content_removed_view 
       
   162     { 
       
   163     flags = EGeneralQueryFlags; 
       
   164     buttons = R_AVKON_SOFTKEYS_OK_EMPTY; 
       
   165     items = 
       
   166         { 
       
   167         DLG_LINE 
       
   168             { 
       
   169             type = EAknCtQuery; 
       
   170             id = EGeneralQuery; 
       
   171             control = AVKON_CONFIRMATION_QUERY 
       
   172                 { 
       
   173                 layout = EConfirmationQueryLayout; 
       
   174                 label = r_hs_error_content_removed;
       
   175                 bmpfile = AVKON_ICON_FILE;
       
   176                 bmpid = EMbmAvkonQgn_note_error;
       
   177                 bmpmask = EMbmAvkonQgn_note_error_mask;                
       
   178                 }; 
       
   179             } 
       
   180         }; 
       
   181     }    
       
   182 
       
   183 RESOURCE TBUF r_qtn_hs_operation_failed_no_disk 
       
   184     { 
       
   185     buf = qtn_hs_operation_failed_no_disk; 
       
   186     }
       
   187 
       
   188 RESOURCE DIALOG r_backup_restore_wait_dialog
       
   189     {
       
   190     flags = EAknWaitNoteFlags;
       
   191     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   192     items =
       
   193         {
       
   194         DLG_LINE
       
   195             {
       
   196             type = EAknCtNote;
       
   197             id = EGeneralNote;
       
   198             control= AVKON_NOTE
       
   199                 {
       
   200                 layout = EWaitLayout;
       
   201                 singular_label = qtn_hs_backup_use_prevented;
       
   202                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   203                 };
       
   204             }
       
   205         };
       
   206     }
       
   207 
       
   208 // End of file