examples/Graphics/coverflow/data/coverflowapp.rss

00001 /*
00002 * ==============================================================================
00003 *  Name        : CoverflowApp.rss
00004 *  Part of     : CoverflowApp
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 //  RESOURCE IDENTIFIER
00017 NAME HEWB    // 4 letter ID
00018 
00019 
00020 //  INCLUDES
00021 #include <eikon.rh>
00022 #include <avkon.rh>
00023 #include <avkon.rsg>
00024 #include <appinfo.rh>
00025 #include "CoverflowApp.hrh"
00026 
00027 //  RESOURCE DEFINITIONS
00028 // -----------------------------------------------------------------------------
00029 //
00030 //    Define the resource file signature
00031 //    This resource should be empty.
00032 //
00033 // -----------------------------------------------------------------------------
00034 //
00035 RESOURCE RSS_SIGNATURE
00036     {
00037     }
00038 
00039 // -----------------------------------------------------------------------------
00040 //
00041 //    Default Document Name
00042 //
00043 // -----------------------------------------------------------------------------
00044 //
00045 RESOURCE TBUF r_default_document_name
00046     {
00047     buf="HEWB";
00048     }
00049 
00050 // -----------------------------------------------------------------------------
00051 //
00052 //    Define default menu and CBA key.
00053 //
00054 // -----------------------------------------------------------------------------
00055 //
00056 RESOURCE EIK_APP_INFO
00057     {
00058     menubar = r_coverflowapp_menubar;
00059     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00060     }
00061 
00062 
00063 // -----------------------------------------------------------------------------
00064 //
00065 //   r_coverflowapp_menubar
00066 //   Menubar for CoverflowApp example
00067 //
00068 // -----------------------------------------------------------------------------
00069 //
00070 RESOURCE MENU_BAR r_coverflowapp_menubar
00071     {
00072     titles =
00073         {
00074         MENU_TITLE { menu_pane = r_coverflowapp_menu; }
00075         };
00076     }
00077 
00078 
00079 // -----------------------------------------------------------------------------
00080 //
00081 //   r_coverflowapp_menu
00082 //   Menu for "Options"
00083 //
00084 // -----------------------------------------------------------------------------
00085 //
00086 RESOURCE MENU_PANE r_coverflowapp_menu
00087     {
00088     items =
00089         {
00090         // added the new Options menu command here
00091         MENU_ITEM
00092                 {
00093                 command = ECoverflowAppCommand1;
00094                 txt = STRING_r_hewb_command1;
00095                 },
00096         MENU_ITEM
00097                 {
00098                 command = ECoverflowAppCommand2;
00099                 txt = STRING_r_hewb_command2;
00100                 },
00101         MENU_ITEM
00102                 {
00103                 command = ECoverflowAppCommand3;
00104                 txt = STRING_r_hewb_command3;
00105                 },
00106         MENU_ITEM
00107                 {
00108                 command = EAknSoftkeyExit;
00109                 txt = STRING_r_hewb_exit;
00110                 }
00111         };
00112     }
00113 
00114 // -----------------------------------------------------------------------------
00115 //
00116 // Resources for messages.
00117 //
00118 // -----------------------------------------------------------------------------
00119 //
00120 RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; }
00121 RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; }
00122 RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; }
00123 
00124 // ----------------------------------------------------------------------------
00125 //
00126 // r_coverflowapp_localisable_app_info
00127 //
00128 // ----------------------------------------------------------------------------
00129 //
00130 RESOURCE LOCALISABLE_APP_INFO r_coverflowapp_localisable_app_info
00131     {
00132     short_caption = STRING_r_hewb_caption_string;
00133     caption_and_icon =
00134     CAPTION_AND_ICON_INFO
00135         {
00136         caption = STRING_r_hewb_caption_string;
00137 
00138         number_of_icons = 1;
00139                 icon_file = "\\resource\\apps\\audioplaying.mif";
00140             };
00141     }
00142 
00143 // ----------------------------------------------------------------------------
00144 //
00145 // r_dialog_text_edit_query
00146 //
00147 // ----------------------------------------------------------------------------
00148 //
00149 RESOURCE DIALOG r_dialog_text_edit_query
00150     {
00151     flags = EGeneralQueryFlags;
00152     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00153     items =
00154         {
00155         DLG_LINE
00156             {
00157             type = EAknCtQuery;
00158             id = EGeneralQuery;
00159             control = AVKON_DATA_QUERY
00160                 {
00161                 layout = EDataLayout;
00162                 label = "";
00163                 control = EDWIN
00164                     {
00165                     width = 32;
00166                     maxlength = 32;
00167                     lines = 1;
00168                     };
00169                 };
00170             }
00171         };
00172     }
00173 // End of File
00174 

Generated by  doxygen 1.6.2