os/graphics/graphicstest/uibench/s60/testlauncher/data/testlauncher.rss
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/graphicstest/uibench/s60/testlauncher/data/testlauncher.rss	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,169 @@
     1.4 +/*
     1.5 +* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +//  RESOURCE IDENTIFIER
    1.23 +NAME TELA    // 4 letter ID
    1.24 +
    1.25 +
    1.26 +//  INCLUDES
    1.27 +#include <eikon.rh>
    1.28 +#include <avkon.rh>
    1.29 +#include <avkon.rsg>
    1.30 +#include <data_caging_paths_strings.hrh>
    1.31 +#include <appinfo.rh>
    1.32 +#include "testlauncher.hrh"
    1.33 +#include "testlauncher.rls"
    1.34 +
    1.35 +//  RESOURCE DEFINITIONS
    1.36 +// -----------------------------------------------------------------------------
    1.37 +//
    1.38 +//    Define the resource file signature
    1.39 +//    This resource should be empty.
    1.40 +//
    1.41 +// -----------------------------------------------------------------------------
    1.42 +//
    1.43 +RESOURCE RSS_SIGNATURE
    1.44 +    {
    1.45 +    }
    1.46 +
    1.47 +// -----------------------------------------------------------------------------
    1.48 +//
    1.49 +//    Default Document Name
    1.50 +//
    1.51 +// -----------------------------------------------------------------------------
    1.52 +//
    1.53 +RESOURCE TBUF r_default_document_name
    1.54 +    {
    1.55 +    buf="TELA";
    1.56 +    }
    1.57 +
    1.58 +// -----------------------------------------------------------------------------
    1.59 +//
    1.60 +//    Define default menu and CBA key.
    1.61 +//
    1.62 +// -----------------------------------------------------------------------------
    1.63 +//
    1.64 +RESOURCE EIK_APP_INFO
    1.65 +    {
    1.66 +    menubar = r_helloworldbasic_menubar;
    1.67 +    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    1.68 +    }
    1.69 +
    1.70 +
    1.71 +// -----------------------------------------------------------------------------
    1.72 +//
    1.73 +//   r_helloworldbasic_menubar
    1.74 +//   Menubar for HelloWorldBasic example
    1.75 +//
    1.76 +// -----------------------------------------------------------------------------
    1.77 +//
    1.78 +RESOURCE MENU_BAR r_helloworldbasic_menubar
    1.79 +    {
    1.80 +    titles =
    1.81 +        {
    1.82 +        MENU_TITLE { menu_pane = r_helloworldbasic_menu; }
    1.83 +        };
    1.84 +    }
    1.85 +
    1.86 +
    1.87 +// -----------------------------------------------------------------------------
    1.88 +//
    1.89 +//   r_helloworldbasic_menu
    1.90 +//   Menu for "Options"
    1.91 +//
    1.92 +// -----------------------------------------------------------------------------
    1.93 +//
    1.94 +RESOURCE MENU_PANE r_helloworldbasic_menu
    1.95 +    {
    1.96 +    items =
    1.97 +        {
    1.98 +        // added the new Options menu command here
    1.99 +        MENU_ITEM
   1.100 +                {
   1.101 +                command = EHelloWorldBasicCommand1;
   1.102 +                txt = STRING_r_hewb_command1;
   1.103 +                },     
   1.104 +        MENU_ITEM
   1.105 +                {
   1.106 +                command = EAknSoftkeyExit;
   1.107 +                txt = STRING_r_hewb_exit;
   1.108 +                }
   1.109 +        };
   1.110 +    }
   1.111 +
   1.112 +// -----------------------------------------------------------------------------
   1.113 +//
   1.114 +// Resources for messages.
   1.115 +//
   1.116 +// -----------------------------------------------------------------------------
   1.117 +//
   1.118 +RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; }
   1.119 +RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; }
   1.120 +RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; }
   1.121 +
   1.122 +// ----------------------------------------------------------------------------
   1.123 +//
   1.124 +// r_helloworldbasic_localisable_app_info
   1.125 +//
   1.126 +// ----------------------------------------------------------------------------
   1.127 +//
   1.128 +RESOURCE LOCALISABLE_APP_INFO r_helloworldbasic_localisable_app_info
   1.129 +    {
   1.130 +    short_caption = STRING_r_hewb_caption_string;
   1.131 +    caption_and_icon =
   1.132 +    CAPTION_AND_ICON_INFO
   1.133 +        {
   1.134 +        caption = STRING_r_hewb_caption_string;
   1.135 +
   1.136 +        number_of_icons = 1;
   1.137 +   	icon_file = APP_BITMAP_DIR"\\testlauncher_aif.mif";
   1.138 +    	};
   1.139 +    }
   1.140 +
   1.141 +// ----------------------------------------------------------------------------
   1.142 +//
   1.143 +// r_dialog_text_edit_query
   1.144 +//
   1.145 +// ----------------------------------------------------------------------------
   1.146 +//
   1.147 +RESOURCE DIALOG r_dialog_text_edit_query
   1.148 +    {
   1.149 +    flags = EGeneralQueryFlags;
   1.150 +    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
   1.151 +    items =
   1.152 +        {
   1.153 +        DLG_LINE
   1.154 +            {
   1.155 +            type = EAknCtQuery;
   1.156 +            id = EGeneralQuery;
   1.157 +            control = AVKON_DATA_QUERY
   1.158 +                {
   1.159 +                layout = EDataLayout;
   1.160 +                label = "";
   1.161 +                control = EDWIN
   1.162 +                    {
   1.163 +                    width = 32;
   1.164 +                    maxlength = 1024;
   1.165 +                    lines = 1;
   1.166 +                    };
   1.167 +                };
   1.168 +            }
   1.169 +        };
   1.170 +    }
   1.171 +// End of File
   1.172 +