videditor/SimpleVideoEditor/data/SimpleVideoEditor.rss
changeset 0 951a5db380a0
equal deleted inserted replaced
-1:000000000000 0:951a5db380a0
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description: 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 NAME	SVED
       
    21 
       
    22 // INCLUDES
       
    23 #include <Eikon.rh>
       
    24 #include <avkon.loc>
       
    25 #include <avkon.rsg>
       
    26 #include <avkon.rh>
       
    27 #include <avkon.mbg>
       
    28 #include <AvkonIcons.hrh>
       
    29 #include <SimpleVideoEditor.loc>
       
    30 #include "videoeditorcommon.hrh"
       
    31 #include <errorres.loc>
       
    32 RESOURCE RSS_SIGNATURE { }
       
    33 
       
    34 //----------------------------------------------------
       
    35 //
       
    36 //    r_vesm_progress_note_with_cancel
       
    37 //    Progress note
       
    38 //
       
    39 //----------------------------------------------------
       
    40 RESOURCE DIALOG r_vesm_progress_note_with_cancel
       
    41 	{
       
    42 	flags = EAknProgressNoteFlags;
       
    43 	buttons = R_AVKON_SOFTKEYS_CANCEL;
       
    44 	items =
       
    45 		{
       
    46 		DLG_LINE
       
    47 			{
       
    48 			type = EAknCtNote;
       
    49 			id = EGeneralNote;
       
    50 			control = AVERELL_NOTE
       
    51 				{
       
    52 				layout = EProgressLayout;
       
    53 //				singular_label = qtn_vei_progress_note_processing;
       
    54 				imagefile = AVKON_ICON_FILE;
       
    55 				imageid = EMbmAvkonQgn_note_progress;
       
    56 				imagemask = EMbmAvkonQgn_note_progress_mask;
       
    57 				};
       
    58 			}
       
    59 		};
       
    60 	}
       
    61 
       
    62 //----------------------------------------------------
       
    63 //
       
    64 //    r_vei_wait_note_with_cancel
       
    65 //    
       
    66 //
       
    67 //----------------------------------------------------
       
    68 RESOURCE DIALOG r_vei_wait_note_with_cancel
       
    69     {
       
    70     flags = EAknWaitNoteFlags;
       
    71     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
    72     items =
       
    73         {
       
    74         DLG_LINE
       
    75             {
       
    76             type = EAknCtNote;
       
    77             id = EGeneralNote;
       
    78             control= AVKON_NOTE 
       
    79                 { 
       
    80                 layout = EWaitLayout;
       
    81                 imagefile = AVKON_ICON_FILE;
       
    82                 imageid = EMbmAvkonQgn_note_progress;
       
    83                 imagemask = EMbmAvkonQgn_note_progress_mask;
       
    84                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
    85                 };
       
    86             }
       
    87         };
       
    88     }
       
    89 
       
    90 //----------------------------------------------------
       
    91 //
       
    92 //    r_vei_wait_note_without_cancel
       
    93 //    
       
    94 //
       
    95 //----------------------------------------------------
       
    96 RESOURCE DIALOG r_vei_wait_note_without_cancel
       
    97     {
       
    98     flags = EEikDialogFlagNoDrag|EEikDialogFlagNoTitleBar;    
       
    99     //buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   100     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   101     //buttons = r_vei_wait_note_without_cancel_buttons;
       
   102     items =
       
   103         {
       
   104         DLG_LINE
       
   105             {
       
   106             type = EAknCtNote;
       
   107             id = EGeneralNote;
       
   108             control= AVKON_NOTE 
       
   109                 { 
       
   110                 layout = EWaitLayout;
       
   111                 imagefile = AVKON_ICON_FILE;
       
   112                 imageid = EMbmAvkonQgn_note_progress;
       
   113                 imagemask = EMbmAvkonQgn_note_progress_mask;
       
   114                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   115                 };
       
   116             }
       
   117         };
       
   118     }
       
   119     
       
   120 //----------------------------------------------------
       
   121 //
       
   122 //    r_vie_confirmation_query
       
   123 //    Confirmation query
       
   124 //
       
   125 //----------------------------------------------------
       
   126 RESOURCE DIALOG r_vie_confirmation_query
       
   127 {
       
   128     flags = EGeneralQueryFlags;
       
   129     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   130     items =
       
   131     {
       
   132         DLG_LINE
       
   133         {
       
   134             type = EAknCtQuery;
       
   135             id = EGeneralQuery;
       
   136             control = AVKON_CONFIRMATION_QUERY
       
   137             {
       
   138                 layout = EConfirmationQueryLayout;
       
   139                 label = " ";
       
   140             };
       
   141         }
       
   142     };
       
   143 }    
       
   144     
       
   145 RESOURCE CBA r_vei_wait_note_without_cancel_buttons
       
   146     {
       
   147     buttons =
       
   148 		{
       
   149 		CBA_BUTTON 
       
   150 				{
       
   151 				id = 20; 
       
   152 				txt = " ";
       
   153 				},
       
   154 		CBA_BUTTON 
       
   155 				{
       
   156 				id = 21;	
       
   157 				txt = " ";
       
   158 				}
       
   159 		};
       
   160     }
       
   161     
       
   162 
       
   163 //----------------------------------------------------
       
   164 //
       
   165 //  LIST QUERY (contents updated dynamically)
       
   166 //
       
   167 //----------------------------------------------------
       
   168 RESOURCE AVKON_LIST_QUERY r_vie_list_query
       
   169 {
       
   170 	items =
       
   171 	{
       
   172 		AVKON_LIST_QUERY_DLG_LINE
       
   173 		{
       
   174 			control = AVKON_LIST_QUERY_CONTROL
       
   175 			{
       
   176 				listtype = EAknCtSinglePopupMenuListBox;
       
   177 				heading = " ";
       
   178 				listbox = AVKON_LIST_QUERY_LIST
       
   179 				{
       
   180 					// array of items will be defined dynamically
       
   181 				};
       
   182 			};
       
   183 		}
       
   184 	};
       
   185 }
       
   186 
       
   187 RESOURCE TBUF256 r_vesm_edit_view_title_name						{ buf = qtn_vei_edit_video_main_text_t; }
       
   188 
       
   189 //----------------------------------------------------
       
   190 //   
       
   191 //    r_vesm_editvideo_titlescreen_text_query
       
   192 //    data query for the title screen text
       
   193 //
       
   194 //----------------------------------------------------
       
   195 //
       
   196 RESOURCE DIALOG r_vesm_editvideo_titlescreen_text_query
       
   197 	{
       
   198 	flags=EGeneralQueryFlags; 
       
   199 	buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   200 	items =
       
   201 		{
       
   202 		DLG_LINE
       
   203 			{
       
   204 			type = EAknCtQuery;
       
   205 			id = EGeneralQuery;
       
   206 			control = AVKON_DATA_QUERY
       
   207 				{
       
   208 				layout = EDataLayout;
       
   209 				label = qtn_vie_query_heading_enter_text; 
       
   210 				control = 
       
   211 					EDWIN
       
   212 						{
       
   213 						width = AKNTEXT_QUERY_WIDTH;
       
   214 						lines = AKNTEXT_QUERY_LINES;
       
   215 						maxlength = AKNTEXT_QUERY_WIDTH * AKNTEXT_QUERY_LINES;
       
   216 						};
       
   217 				};
       
   218 			}
       
   219 		};
       
   220 	}
       
   221 
       
   222 //-----------------------------------------------------------------------------
       
   223 //
       
   224 //    r_ved_insert_position_query
       
   225 //    List Query dialog
       
   226 //
       
   227 //-----------------------------------------------------------------------------
       
   228 //
       
   229 RESOURCE DIALOG r_ved_insert_position_query
       
   230     {
       
   231     flags = EGeneralQueryFlags;
       
   232     buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL;
       
   233     items =
       
   234         {
       
   235         DLG_LINE
       
   236             {
       
   237             type = EAknCtListQueryControl;
       
   238             id = EListQueryControl;
       
   239             control = AVKON_LIST_QUERY_CONTROL
       
   240                 {
       
   241                 listtype = EAknCtSinglePopupMenuListBox;
       
   242                 listbox = AVKON_LIST_QUERY_LIST
       
   243                     {
       
   244                     flags = EAknListBoxMenuList;
       
   245                     array_id = r_ved_insert_position_query_items;
       
   246                     };
       
   247                 heading = "#heading";
       
   248                 };
       
   249             }
       
   250         };
       
   251     }	
       
   252     
       
   253     
       
   254 //-----------------------------------------------------------------------------
       
   255 //
       
   256 //    r_ved_insert_position_query_items
       
   257 //    Items array for List Query
       
   258 //
       
   259 //-----------------------------------------------------------------------------
       
   260 //
       
   261 RESOURCE ARRAY r_ved_insert_position_query_items
       
   262     {
       
   263     items =
       
   264         {
       
   265         LBUF
       
   266             {           
       
   267             txt = qtn_vie_query_add_text_to_beginning; 
       
   268             },
       
   269         LBUF
       
   270             {           
       
   271             txt = qtn_vie_query_add_text_to_end; 
       
   272             }
       
   273         };
       
   274     }
       
   275 
       
   276 //-----------------------------------------------------------------------------
       
   277 //
       
   278 //    r_ved_video_or_image_query
       
   279 //    List Query dialog
       
   280 //
       
   281 //-----------------------------------------------------------------------------
       
   282 //
       
   283 RESOURCE DIALOG r_ved_video_or_image_query
       
   284     {
       
   285     flags = EGeneralQueryFlags;
       
   286     buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL;
       
   287     items =
       
   288         {
       
   289         DLG_LINE
       
   290             {
       
   291             type = EAknCtListQueryControl;
       
   292             id = EListQueryControl;
       
   293             control = AVKON_LIST_QUERY_CONTROL
       
   294                 {
       
   295                 listtype = EAknCtSinglePopupMenuListBox;
       
   296                 listbox = AVKON_LIST_QUERY_LIST
       
   297                     {
       
   298                     flags = EAknListBoxMenuList;
       
   299                     array_id = r_ved_video_or_image_query_items;
       
   300                     };
       
   301                 heading = "#heading";
       
   302                 };
       
   303             }
       
   304         };
       
   305     }	
       
   306     
       
   307     
       
   308 //-----------------------------------------------------------------------------
       
   309 //
       
   310 //    r_ved_video_or_image_query_items
       
   311 //    Items array for List Query
       
   312 //
       
   313 //-----------------------------------------------------------------------------
       
   314 //
       
   315 RESOURCE ARRAY r_ved_video_or_image_query_items
       
   316     {
       
   317     items =
       
   318         {
       
   319         LBUF
       
   320             { 
       
   321             txt = qtn_vie_query_merge_with_video; 
       
   322             },
       
   323         LBUF
       
   324             { 
       
   325             txt = qtn_vie_query_merge_with_image; 
       
   326             }
       
   327         };
       
   328     }    
       
   329 
       
   330 // List query headings
       
   331 RESOURCE TBUF r_vei_query_heading_add_text_to   { buf = qtn_vie_query_heading_add_text_to; }
       
   332 RESOURCE TBUF r_vei_query_heading_merge_with    { buf = qtn_vie_query_heading_merge_with; } 
       
   333 
       
   334 // Progress note texts
       
   335 RESOURCE TBUF r_vei_note_merging		{ buf = qtn_fldr_file_saving_wait;} 
       
   336 RESOURCE TBUF r_vei_note_adding_audio	{ buf = qtn_vie_note_processing;} 
       
   337 RESOURCE TBUF r_vei_note_adding_text	{ buf = qtn_vie_note_processing;} 
       
   338 RESOURCE TBUF r_vei_note_cutting		{ buf = qtn_vie_note_cutting;} 
       
   339 RESOURCE TBUF r_vei_note_processing		{ buf = qtn_vie_note_processing; } 
       
   340 
       
   341 // Other note texts
       
   342 RESOURCE TBUF r_vei_memory_running_out	{ buf = qtn_memlo_memory_running_out; } 
       
   343 RESOURCE TBUF r_vei_not_enough_memory	{ buf = qtn_memlo_ram_out_of_mem; }
       
   344 
       
   345 RESOURCE TBUF256 r_vei_error_note		                { buf= qtn_err_eikon_general; }
       
   346 RESOURCE TBUF    r_vei_errornote_image_inserting_failed	{ buf = qtn_vie_note_err_unable_to_insert_image; }
       
   347 RESOURCE TBUF    r_vei_errornote_audio_inserting_failed	{ buf = qtn_vie_note_err_audio_format; }
       
   348 
       
   349 RESOURCE TBUF r_vie_query_insert_short_audio    { buf = qtn_vie_query_insert_short_audio; }
       
   350 RESOURCE TBUF r_vie_query_insert_long_audio     { buf = qtn_vie_query_insert_long_audio; }
       
   351 
       
   352 //----------------------------------------------------
       
   353 //
       
   354 //    r_wait_dialog
       
   355 //    animated progress note
       
   356 //
       
   357 //----------------------------------------------------	
       
   358 RESOURCE DIALOG r_wait_dialog
       
   359 {
       
   360     flags = EAknWaitNoteFlags;
       
   361     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   362 }	
       
   363 
       
   364 RESOURCE TBUF r_vei_in_use                  { buf = qtn_err_in_use;}
       
   365 
       
   366 RESOURCE TBUF r_vei_unable_to_edit                  { buf = qtn_vie_note_err_edit;}
       
   367 RESOURCE TBUF r_vei_unable_to_insert_video			{ buf = qtn_vie_note_err_unable_to_insert_video;}
       
   368 RESOURCE TBUF r_vei_unable_to_insert_sound			{ buf = qtn_vie_note_err_audio_format;} 
       
   369 RESOURCE TBUF r_vei_unable_to_insert_image			{ buf = qtn_vie_note_err_unable_to_insert_image;}
       
   370 
       
   371 RESOURCE TBUF r_vei_unable_to_insert_text			{ buf = qtn_vie_note_err_unable_to_add_text;}
       
   372 RESOURCE TBUF r_vei_unable_to_merge_videos			{ buf = qtn_vie_note_err_unable_to_merge_video_video;}
       
   373 RESOURCE TBUF r_vei_unable_to_merge_video_image		{ buf = qtn_vie_note_err_unable_to_merge_video_image;}
       
   374 RESOURCE TBUF r_vei_unable_to_change_sound			{ buf = qtn_vie_note_err_unable_to_change_sound;}
       
   375 RESOURCE TBUF r_vei_audio_format_not_supported		{ buf = qtn_vie_note_err_audio_format;} 
       
   376 RESOURCE TBUF r_vei_image_format_not_supported		{ buf = qtn_vie_note_err_image_format_not_supported;}
       
   377 
       
   378 RESOURCE TBUF r_vie_query_heading_save				{ buf = qtn_vie_query_heading_save;	}
       
   379 RESOURCE TBUF r_vie_query_save_new					{ buf = qtn_vie_query_save_new;	}
       
   380 RESOURCE TBUF r_vie_query_save_replace				{ buf = qtn_vie_query_save_replace;	}
       
   381 
       
   382 
       
   383 RESOURCE TBUF r_vie_query_heading_add_image_to 		{ buf = qtn_vie_query_heading_add_image_to; }
       
   384 RESOURCE TBUF r_vie_query_heading_add_video_to 		{ buf = qtn_vie_query_heading_add_video_to; }
       
   385 
       
   386 
       
   387 // The following strings should be added:
       
   388 // qtn_vie_note_unable_convert
       
   389 
       
   390 // Dummy dialog to consume key presses during operations
       
   391 RESOURCE DIALOG r_dummy_dialog
       
   392    {
       
   393    flags = EEikDialogFlagNoDrag | EEikDialogFlagCbaButtons; 
       
   394    buttons = R_AVKON_SOFTKEYS_EMPTY ;    
       
   395    }
       
   396 
       
   397 
       
   398 // End of file