ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss
changeset 0 d11fb78c4374
child 1 ceeb73e410b5
equal deleted inserted replaced
-1:000000000000 0:d11fb78c4374
       
     1 /*
       
     2 * Copyright (c) 2002-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 NAME    IGPE    // 4 letter ID
       
    21 
       
    22 #include <avkon.rsg>
       
    23 #include <avkon.rh>
       
    24 #include <eikon.rh>
       
    25 #include <imageprintapp.loc>
       
    26 
       
    27 // d:List box format string - do not localize this!
       
    28 #define qtn_lbox_format "\t%0U\t\t%1U"
       
    29 
       
    30 //  Maximum and minimum number
       
    31 #define MIN_TINT_NAME -2147483646
       
    32 #define MAX_TINT_NAME 2147483647
       
    33 
       
    34 //  RESOURCE DEFINITIONS 
       
    35 
       
    36 RESOURCE RSS_SIGNATURE { }
       
    37 RESOURCE TBUF { buf="ImagePrintEngine"; }
       
    38 
       
    39 /**
       
    40  *  Generic popup setting item
       
    41  */
       
    42 RESOURCE AVKON_SETTING_PAGE r_setting_generic_page
       
    43     {    
       
    44     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    45     type = EAknCtPopupSettingList;
       
    46     editor_resource_id = r_empty_setting_list;
       
    47     }
       
    48 
       
    49 RESOURCE POPUP_SETTING_LIST r_empty_setting_list
       
    50     {
       
    51     }
       
    52 
       
    53 RESOURCE AVKON_POPUP_SETTING_TEXTS r_setting_generic_popup_page
       
    54     {
       
    55     flags = 0;
       
    56     setting_texts_resource = r_setting_generic_popup_array;
       
    57     popped_up_texts_resource = r_setting_generic_popup_array_texts;
       
    58     }
       
    59 
       
    60 RESOURCE ARRAY r_setting_generic_popup_array
       
    61     {
       
    62     items = 
       
    63         {
       
    64 		AVKON_ENUMERATED_TEXT 
       
    65             { 
       
    66             value = 0; 
       
    67             text = " "; 
       
    68             }
       
    69         };
       
    70     }
       
    71 
       
    72 RESOURCE ARRAY r_setting_generic_popup_array_texts
       
    73     {
       
    74     items =
       
    75         {
       
    76         LBUF 
       
    77             { 
       
    78             txt = " "; 
       
    79             }
       
    80         };
       
    81     }
       
    82 
       
    83 /**
       
    84  *  Generic TInt setting page
       
    85  */
       
    86 
       
    87 RESOURCE AVKON_SETTING_PAGE r_def_integer_page
       
    88     {    
       
    89     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    90     type = EAknCtIntegerEdwin;
       
    91     editor_resource_id = r_def_integer_editor;
       
    92     }
       
    93 
       
    94 RESOURCE AVKON_INTEGER_EDWIN r_def_integer_editor
       
    95     {
       
    96     min = MIN_TINT_NAME;
       
    97     max = MAX_TINT_NAME;
       
    98     }
       
    99 
       
   100 /**
       
   101  *  Generic float query
       
   102  */
       
   103 RESOURCE DIALOG r_generic_float_query_dlg
       
   104     {
       
   105     flags = EGeneralQueryFlags;
       
   106     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   107     items =
       
   108         {
       
   109         DLG_LINE
       
   110             {
       
   111             type = EAknCtQuery;
       
   112             id = 10000;
       
   113             control = AVKON_DATA_QUERY
       
   114                 {
       
   115                 layout = EFloatingPointLayout;
       
   116                 label = " ";
       
   117                 control = FLPTED
       
   118                     {
       
   119                     };
       
   120                 };
       
   121             }
       
   122         };
       
   123     }
       
   124 
       
   125 // Resource strings
       
   126 RESOURCE TBUF R_QTN_LBOX_FORMAT { buf = qtn_lbox_format; }
       
   127 RESOURCE TBUF R_EMPTY { buf = ""; }
       
   128 
       
   129 // Paper sizes
       
   130 RESOURCE TBUF R_QTN_STR_PAPER_SIZE { buf = qtn_print_settings_paper_size; }
       
   131 RESOURCE TBUF R_QTN_STR_SIZE_AUTO { buf = qtn_print_paper_size_auto; }
       
   132 RESOURCE TBUF R_QTN_STR_SIZE_LETTER { buf = qtn_print_paper_size_letter; }
       
   133 RESOURCE TBUF R_QTN_STR_SIZE_A4 { buf = qtn_print_paper_size_a4; }
       
   134 RESOURCE TBUF R_QTN_STR_SIZE_A6 { buf = qtn_print_paper_size_a6; }
       
   135 RESOURCE TBUF R_QTN_STR_SIZE_4X6 { buf = qtn_print_paper_size_4x6; }
       
   136 RESOURCE TBUF R_QTN_STR_SIZE_5X7 { buf = qtn_print_paper_size_5x7; }
       
   137 RESOURCE TBUF R_QTN_STR_SIZE_STICKER { buf = qtn_print_paper_size_sticker; }
       
   138 
       
   139 // Print quality
       
   140 RESOURCE TBUF R_QTN_STR_QUALITY { buf = qtn_print_settings_print_quality; }
       
   141 RESOURCE TBUF R_QTN_STR_QUAL_AUTO { buf = qtn_print_quality_auto; }
       
   142 RESOURCE TBUF R_QTN_STR_QUAL_NORMAL { buf = qtn_print_quality_normal; }
       
   143 RESOURCE TBUF R_QTN_STR_QUAL_DRAFT { buf = qtn_print_quality_draft; }
       
   144 RESOURCE TBUF R_QTN_STR_QUAL_FINE { buf = qtn_print_quality_fine; }
       
   145 
       
   146 // Template
       
   147 RESOURCE TBUF R_QTN_STR_TEMPLATE { buf = qtn_print_settings_template; }
       
   148 RESOURCE TBUF R_QTN_STR_TEMPLATE_BLESS { buf = qtn_print_settings_bless; }
       
   149 RESOURCE TBUF R_QTN_STR_TEMPLATE_ONE { buf = "1"; }
       
   150 RESOURCE TBUF R_QTN_STR_TEMPLATE_TWO { buf = "2"; }
       
   151 RESOURCE TBUF R_QTN_STR_TEMPLATE_FOUR { buf = "4"; }
       
   152 RESOURCE TBUF R_QTN_STR_TEMPLATE_SIX { buf = "6"; }
       
   153 RESOURCE TBUF R_QTN_STR_TEMPLATE_NINE { buf = "9"; }
       
   154 RESOURCE TBUF R_QTN_STR_TEMPLATE_TWELVE { buf = "12"; }
       
   155 RESOURCE TBUF R_QTN_STR_TEMPLATE_SIXTEEN { buf = "16"; }
       
   156     
       
   157