# HG changeset patch # User jkauppin # Date 1287025879 -32400 # Node ID e1e28b0273b0f336757e5576edc20dae9e1582aa # Parent 0b400af71c5460e8f94fef2ba79d74a2a93db40f Initial version diff -r 0b400af71c54 -r e1e28b0273b0 data/PhotoBrowser.rls --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/PhotoBrowser.rls Thu Oct 14 12:11:19 2010 +0900 @@ -0,0 +1,133 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: Juha Kauppinen, Mika Hokkanen +* +* Description: Photo Browser +* +*/ + + +// LOCALISATION STRINGS + +/////////////////////////////////////////////////////////////////// + + +//Notes +rls_string STRING_r_imagic_wait_prompt_end "TN Generation Completed " +rls_string STRING_r_laoding_dialog_plural "Saving application data. Please wait!" +rls_string STRING_r_imagic_wait_prompt "Progressing TN Generation " +rls_string STRING_r_imagic_wait_prompt1 "Progressing" +rls_string STRING_r_delete_file "Delete file" +rls_string STRING_r_add_face_manually "Add face manually" +rls_string STRING_r_saving_file "Save file" +rls_string STRING_r_no_images_con_label_text "No photos found in Images folder! Close application?" +rls_string STRING_r_cannot_delete_con_label_text "Image cannot be deleted!" +rls_string STRING_r_saving_dialog "Saving file" +rls_string STRING_r_starting_application_dialog "Starting Application" +rls_string STRING_r_processing_dialog "Processing Image" +rls_string STRING_r_loading_dialog "Loading Image" +rls_string STRING_r_file_saved_as_text "Image Saved as %S" +rls_string STRING_r_image_editor_no_rotation_needed_text "No Rotation Done!" +rls_string STRING_r_image_editor_no_faces_found_text "No faces found!" +rls_string STRING_r_image_add_new_face_help_text "Use Zooming and 5-way rocker key to locate face and select Add as New Face" +rls_string STRING_r_image_face_cropping_complete_text "Face Cropping Complete" +rls_string STRING_r_image_facebrowing "Face Browsing" +rls_string STRING_r_image_info "View details" +rls_string STRING_r_file_name_text "Image name: %S" +rls_string STRING_r_help "Help" + +rls_string STRING_r_jan "Jan" +rls_string STRING_r_feb "Feb" +rls_string STRING_r_mar "Marc" +rls_string STRING_r_apr "April" +rls_string STRING_r_may "May" +rls_string STRING_r_jun "June" +rls_string STRING_r_jul "July" +rls_string STRING_r_aug "Aug" +rls_string STRING_r_sep "Sep" +rls_string STRING_r_oct "Oct" +rls_string STRING_r_nov "Nov" +rls_string STRING_r_dec "Dec" + + +rls_string STRING_Imagic_loc_resource_file_1 "\\resource\\apps\\PhotoBrowser" + +//Error messages +rls_string STRING_r_image_editor_error1_text "Feature %d, Error: %d" +//rls_string STRING_r_image_editor_error1_text "Image dimensions not correct" +rls_string STRING_r_error_in_saving_text "Error in Saving File: %d" + + +// Commands in Viev +rls_string qtn_view_option_item1 "Wizard Editing Mode" +rls_string qtn_view_option_item2 "Browser View.." +rls_string qtn_view_option_item3 "Crop" +rls_string qtn_view_option_item4 "Rotate" +rls_string qtn_view_option_item5 "Zoom" + +// Commands in Viev Browser +rls_string qtn_viewBrowser_option_item1 "Wizard Editing Mode" +rls_string qtn_viewBrowser_option_item2 "Crop" +rls_string qtn_viewBrowser_option_item3 "Faces/Images view" +rls_string qtn_viewBrowser_option_item4 "Right" +rls_string qtn_viewBrowser_option_item9 "Left" +rls_string qtn_viewBrowser_option_item5 "Square Grid" +rls_string qtn_viewBrowser_option_item6 "Album" +rls_string qtn_viewBrowser_option_item7 "Rotate" +rls_string qtn_viewBrowser_option_item8 "Editing" +rls_string qtn_viewBrowser_option_item10 "Wave Effect On/Off" +rls_string qtn_viewBrowser_option_item11 "Delete" +rls_string qtn_viewBrowser_option_item12 "Remove face" +rls_string qtn_viewBrowser_option_item13 "Add Face" +rls_string qtn_viewBrowser_option_item14 "Add as new face" +rls_string qtn_viewBrowser_option_item15 "Face cropping" +rls_string qtn_viewBrowser_option_item16a "Folder view" +rls_string qtn_viewBrowser_option_item16b "Time view" +rls_string qtn_viewBrowser_option_item16c "People view" +rls_string qtn_viewBrowser_option_item18 "Send" + +// Commands in Viev WizardEdit +rls_string qtn_viewWizardEdit_option_item1 "Back to Image Browser" +rls_string qtn_viewWizardEdit_option_item2 "add something.." +rls_string qtn_viewWizardEdit_option_item3 "add something.." +rls_string qtn_viewWizardEdit_option_item4 "Save" + +// Commands in Viev Crop +//rls_string qtn_viewCrop_option_item1 "Back to Image Browser" +rls_string qtn_viewCrop_option_item2 "Crop" +//rls_string qtn_viewCrop_option_item3 "add something.." +rls_string qtn_viewCrop_option_item4 "Save" + +// Commands in Viev Rotate +rls_string qtn_viewRotate_option_item1 "Back to Image Browser" +rls_string qtn_viewRotate_option_item2 "Save" + +// Commands in HUIViev Rotate +rls_string qtn_HUIviewRotate_option_item1 "Back to Image Browser" +rls_string qtn_HUIviewRotate_option_item2 "Save" + + + + +// Name of the view 1 tab. +//rls_string qtn_view1_tab "View1" + +// Name of the view 2 tab. +//rls_string qtn_view2_tab "View2" + +// example captions strings for app +rls_string qtn_app_caption_string "Photo Browser" + +rls_string qtn_app_short_caption_string "Photo Browser" + + +// End of File diff -r 0b400af71c54 -r e1e28b0273b0 data/PhotoBrowser.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/PhotoBrowser.rss Thu Oct 14 12:11:19 2010 +0900 @@ -0,0 +1,924 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: Juha Kauppinen, Mika Hokkanen +* +* Description: Photo Browser +* +*/ + +// RESOURCE IDENTIFIER +NAME VIEW // 4 letter ID + +// INCLUDES + +#include +#include +#include +#include +#include "Imagic.hrh" +#include "PhotoBrowser.rls" + +//for HUI +#include + +#ifdef EKA2 + #include +#endif + + +// RESOURCE DEFINITIONS + +RESOURCE RSS_SIGNATURE { } + +RESOURCE TBUF { buf="PhotoBrowser"; } + +RESOURCE EIK_APP_INFO + { + //status_pane = r_Imagic_status_pane; + } + + +//Resource definition for "No images" error case +RESOURCE DIALOG r_no_images_dialog + { + flags = EGeneralQueryFlags; +// buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + buttons = R_AVKON_SOFTKEYS_EXIT ; + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + label = STRING_r_no_images_con_label_text; + // bmpfile = ; + // bmpid = ; + // bmpmask = ; + }; + } + }; + } + +//Resource definition for "Cannot delete file" error case +RESOURCE DIALOG r_cannot_delete_dialog + { + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_BACK; + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + label = STRING_r_cannot_delete_con_label_text; + // bmpfile = ; + // bmpid = ; + // bmpmask = ; + }; + } + }; + } + + + +//---------------------------------------------------- +// +// r_Imagic_HUIviewRotate +// Resource definition for View Rotate +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_HUIviewRotate + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_HUIviewRotate; + cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + //cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_viewRotate +// Menubar for ViewRotate +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_HUIviewRotate + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_HUIviewRotate_menu; txt="View"; } + //MENU_TITLE {menu_pane = r_HuiSimpleImage_menu;} + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewRotate_menu +// MenuPane and its Items for View Rotate +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_HUIviewRotate_menu + { + items= + { + MENU_ITEM { command=EImagicCmdViewRotateCmd1; txt = qtn_viewRotate_option_item1; }, + MENU_ITEM { command=EImagicCmdViewRotateCmd2; txt = qtn_viewRotate_option_item2; } + }; + } + + +///////////////////////////////////////////////////////////////// +// ---------------------------------------------------------------------------- +// +// r_imagic_localisable_app_info +// +// ---------------------------------------------------------------------------- +// +RESOURCE LOCALISABLE_APP_INFO r_imagic_localisable_app_info + { + short_caption = qtn_app_caption_string; + caption_and_icon = + CAPTION_AND_ICON_INFO + { + //caption = STRING_hewb_caption_string; + caption = qtn_app_caption_string; + + number_of_icons = 1; + icon_file = "\\resource\\apps\\PhotoBrowser_aif.mif"; + }; + } + + +// ---------------------------------------------------------------------------- +// +// r_saving_note +// +// ---------------------------------------------------------------------------- +// +RESOURCE DIALOG r_starting_application_dialog + { + flags = EAknWaitNoteFlags; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = ESavingNote; + control = AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_starting_application_dialog; + imagefile = ""; + imageid = EMbmAvkonQgn_note_progress; + imagemask = EMbmAvkonQgn_note_progress_mask; + animation = R_QGN_GRAF_WAIT_BAR_ANIM; + }; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_saving_note +// +// ---------------------------------------------------------------------------- +// +RESOURCE DIALOG r_saving_note + { + flags = EAknWaitNoteFlags; + //flags = EAknWaitNoteFlags | EEikDialogFlagNoUserExit; + //flags = EAknWaitNoteFlags | EEikDialogFlagNoUserExit; + //flags = EAknWaitNoteFlags | EEikDlgItemNonFocusing |EEikDialogFlagNoDrag |EEikDialogFlagModeless |EEikDialogFlagNoUserExit; + //buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = ESavingNote; + control = AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_saving_dialog; + imagefile = ""; + imageid = EMbmAvkonQgn_note_progress; + imagemask = EMbmAvkonQgn_note_progress_mask; + animation = R_QGN_GRAF_WAIT_BAR_ANIM; + }; + } + }; + } + + +//Resource definition for saving image. +RESOURCE DIALOG r_saving_query + { + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + label = STRING_r_saving_file; + // bmpfile = ; + // bmpid = ; + // bmpmask = ; + }; + } + }; + } + +//Resource definition for delete image. +RESOURCE DIALOG r_delete_query + { + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + label = STRING_r_delete_file; + }; + } + }; + } + +//Resource definition for delete image. +RESOURCE DIALOG r_add_face_manually_query + { + flags = EGeneralQueryFlags; + //buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + buttons = R_AVKON_SOFTKEYS_YES_NO; + + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + label = STRING_r_add_face_manually; + }; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_processing_note +// +// ---------------------------------------------------------------------------- +// +RESOURCE DIALOG r_processing_note + { + flags = EAknWaitNoteFlags; + //flags = EAknWaitNoteFlags | EEikDlgItemNonFocusing |EEikDialogFlagNoDrag |EEikDialogFlagModeless |EEikDialogFlagNoUserExit; + //buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = ESavingNote; + control = AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_processing_dialog; + imagefile = ""; + imageid = EMbmAvkonQgn_note_progress; + imagemask = EMbmAvkonQgn_note_progress_mask; + animation = R_QGN_GRAF_WAIT_BAR_ANIM; + }; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_loading_note +// +// ---------------------------------------------------------------------------- +// +RESOURCE DIALOG r_loading_note + { + //flags = EAknWaitNoteFlags; + flags = EAknWaitNoteFlags | EEikDialogFlagModeless |EEikDialogFlagNoUserExit; + //buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = ESavingNote; + control = AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_loading_dialog; + plural_label = STRING_r_laoding_dialog_plural; + + imagefile = ""; + imageid = EMbmAvkonQgn_note_progress; + imagemask = EMbmAvkonQgn_note_progress_mask; + animation = R_QGN_GRAF_WAIT_BAR_ANIM; + }; + } + }; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_image_editor_error1_text + { + buf=STRING_r_image_editor_error1_text; + //cba=EEikBidOk ; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_image_editor_no_rotation_needed_text + { + buf=STRING_r_image_editor_no_rotation_needed_text; + //cba=EEikBidOk ; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_image_editor_no_faces_found_text + { + buf=STRING_r_image_editor_no_faces_found_text; + //cba=EEikBidOk ; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +//RESOURCE TBUF32 r_image_add_new_face_help_text +RESOURCE TBUF256 r_image_add_new_face_help_text + { + buf=STRING_r_image_add_new_face_help_text; + //cba=EEikBidOk ; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_image_face_cropping_complete_text + { + buf=STRING_r_image_face_cropping_complete_text; + //cba=EEikBidOk ; + } + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_file_saved_as_text + { + buf=STRING_r_file_saved_as_text; + //cba=EEikBidOk ; + } + + + + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_file_name_text + { + buf=STRING_r_file_name_text; + //cba=EEikBidOk ; + } + + +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF32 r_error_in_saving_text + { + buf=STRING_r_error_in_saving_text; + //cba=EEikBidOk ; + } + +//---------------------------------------------------- +// +// r_Imagic_hotkeys +// Hotkeys for the application +// +//---------------------------------------------------- +// +RESOURCE HOTKEYS r_Imagic_hotkeys + { + control= + { + HOTKEY + { + command=EImagicCmdViewFaceBrowsing; + key='E'; + } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_view +// Resource definition for View +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_view + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_view; + cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_view +// Menubar for view +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_view + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_view_menu; txt="View"; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_view_menu +// Menupane for view, includes the menu item +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_view_menu + { + items= + { + MENU_ITEM { command=EImagicCmdViewCmd1; txt = qtn_view_option_item1; }, + MENU_ITEM { command=EImagicCmdViewCmd2; txt = qtn_view_option_item2; }, + MENU_ITEM { command=EImagicCmdViewCmd3; txt = qtn_view_option_item3; }, + MENU_ITEM { command=EImagicCmdViewCmd4; txt = qtn_view_option_item4; }, + MENU_ITEM { command=EImagicCmdViewCmd5; txt = qtn_view_option_item5; } + }; + } + + +//---------------------------------------------------- +// +// r_Imagic_viewBrowser +// Resource definition for ViewBrowser +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_viewBrowser + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_viewBrowser; + //cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_viewBrowser +// Menubar for view Browser +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_viewBrowser + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_viewBrowser_menu; txt="View"; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewBrowser_menu +// Menupane for view Browser, includes the menu item +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_viewBrowser_menu + { + items= + { + MENU_ITEM + { + command= EImagicCmdViewFaceBrowsing; + txt = STRING_r_image_facebrowing; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserFaceCropping; + txt = qtn_viewBrowser_option_item15; + }, + MENU_ITEM + { + command= EImagicCmdViewEdit; + // cascade = r_advanced_editing_mode_options; + txt = qtn_viewBrowser_option_item8; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserSend; + txt = qtn_viewBrowser_option_item18; + }, + MENU_ITEM + { + command= ECmdRotateImage; + cascade = r_rotate_options; + txt = qtn_viewBrowser_option_item7; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserRemoveFace; + txt = qtn_viewBrowser_option_item12; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserAddNewFace; + txt = qtn_viewBrowser_option_item13; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserAddAsThisNewFace; + txt = qtn_viewBrowser_option_item14; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserCropping; + txt = qtn_viewBrowser_option_item2; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserShowImageInfo; + txt = STRING_r_image_info; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserDelete; + txt = qtn_viewBrowser_option_item11; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserGridModeFolder; + txt = qtn_viewBrowser_option_item16a; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserGridModeTime; + txt = qtn_viewBrowser_option_item16b; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserGridModePeople; + txt = qtn_viewBrowser_option_item16c; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserHelp; + txt = STRING_r_help; + } + }; + } + +RESOURCE MENU_PANE r_advanced_editing_mode_options +{ + items = + { + MENU_ITEM{command = EImagicCmdViewBrowserCmd1; txt = qtn_viewBrowser_option_item1;}, + MENU_ITEM{command = EImagicCmdViewBrowserCropping; txt = qtn_viewBrowser_option_item2;}, + //MENU_ITEM{command = EImagicCmdViewBrowserDrawFaces; txt = qtn_viewBrowser_option_item3;}, + MENU_ITEM{command = EImagicCmdViewBrowserDelete; txt = qtn_viewBrowser_option_item11;} + }; +} + +RESOURCE MENU_PANE r_rotate_options +{ + items = + { + /*MENU_ITEM + { + command = EImagicCmdViewBrowserDrawFaces; + txt = qtn_viewBrowser_option_item3; + },*/ + MENU_ITEM + { + command = EImagicCmdViewBrowserRotateRight; + txt = qtn_viewBrowser_option_item4; + }, + MENU_ITEM + { + command = EImagicCmdViewBrowserRotateLeft; + txt = qtn_viewBrowser_option_item9; + } + + + // MENU_ITEM{command = EImagicCmdViewBrowserCmd5; txt = qtn_viewBrowser_option_item5;}, + //MENU_ITEM{command = EImagicCmdViewBrowserCmd6; txt = qtn_viewBrowser_option_item6;}, //Album mode not implemented yet + // MENU_ITEM{command = EImagicCmdViewBrowserCmd10; txt = qtn_viewBrowser_option_item10;} + + }; +} + +//---------------------------------------------------- +// +// r_Imagic_viewWizardEdit +// Resource definition for View WizardEdit +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_viewWizardEdit + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_viewWizardEdit; + //cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_viewWizardEdit +// Menubar for ViewWizardEdit +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_viewWizardEdit + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_viewWizardEdit_menu; txt="View"; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewWizardEdit_menu +// MenuPane and its Items for View WizardEdit +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_viewWizardEdit_menu + { + items= + { + // MENU_ITEM { command=EImagicCmdViewWizardEditCmd1; txt = qtn_viewWizardEdit_option_item1; }, + MENU_ITEM { command=EImagicCmdViewWizardEditCmd2; txt = qtn_viewWizardEdit_option_item2; }, + MENU_ITEM { command=EImagicCmdViewWizardEditCmd3; txt = qtn_viewWizardEdit_option_item3; }, + MENU_ITEM { command=EImagicCmdViewWizardEditCmd4; txt = qtn_viewWizardEdit_option_item4; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewCrop +// Resource definition for View Crop +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_viewCrop + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_viewCrop; + //cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_viewCrop +// Menubar for ViewCrop +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_viewCrop + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_viewCrop_menu; txt="View"; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewCrop_menu +// MenuPane and its Items for View Crop +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_viewCrop_menu + { + items= + { + // MENU_ITEM { command=EImagicCmdViewCropCmd1; txt = qtn_viewCrop_option_item1; }, + MENU_ITEM { command=EImagicCmdViewCropCmd2; txt = qtn_viewCrop_option_item2; }, + //MENU_ITEM { command=EImagicCmdViewCropCmd3; txt = qtn_viewCrop_option_item3; }, + MENU_ITEM { command=EImagicCmdViewCropCmd4; txt = qtn_viewCrop_option_item4; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewRotate +// Resource definition for View Rotate +// +//---------------------------------------------------- +// +RESOURCE AVKON_VIEW r_Imagic_viewRotate + { + hotkeys=r_Imagic_hotkeys; + menubar=r_Imagic_menubar_viewRotate; + //cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; + } + +//---------------------------------------------------- +// +// r_Imagic_menubar_viewRotate +// Menubar for ViewRotate +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_Imagic_menubar_viewRotate + { + titles= + { + MENU_TITLE { menu_pane=r_Imagic_app_menu; txt="App"; }, + MENU_TITLE { menu_pane=r_Imagic_viewRotate_menu; txt="View"; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_viewRotate_menu +// MenuPane and its Items for View Rotate +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_viewRotate_menu + { + items= + { + // MENU_ITEM { command=EImagicCmdViewRotateCmd1; txt = qtn_viewRotate_option_item1; }, + MENU_ITEM { command=EImagicCmdViewRotateCmd2; txt = qtn_viewRotate_option_item2; } + }; + } + +//---------------------------------------------------- +// +// r_Imagic_app_menu +// MenuPane and MenuItems for the application +// This will show in all views' menu +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_Imagic_app_menu + { + items= + { + MENU_ITEM { command=EAknCmdExit; txt="Exit"; } + }; + } + + +RESOURCE DIALOG r_wait_note + { + flags = EAknWaitNoteFlags; + // buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = EImagicWaitDialogNote; + control= AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_imagic_wait_prompt; + plural_label = STRING_r_imagic_wait_prompt1; + + }; + } + }; + } + +RESOURCE DIALOG r_wait_note_end + { + flags = EAknWaitNoteFlags; + // buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = EImagicWaitDialogNote; + control= AVKON_NOTE + { + layout = EWaitLayout; + singular_label = STRING_r_imagic_wait_prompt_end; + + }; + } + }; + } + +#ifdef EKA2 +// ----------------------------------------------------------------------------- +// +// Resources for messages. +// +// ----------------------------------------------------------------------------- +// +//RESOURCE TBUF32 r_Imagic_caption_string { buf=qtn_app_caption_string; } + +// ---------------------------------------------------------------------------- +// +// r_localisable_app_info +// +// ---------------------------------------------------------------------------- +// +RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info + { + short_caption = qtn_app_short_caption_string; + caption_and_icon = + CAPTION_AND_ICON_INFO + { + caption = qtn_app_caption_string; + + number_of_icons = 1; + icon_file = "\\resource\\apps\\PhotoBrowser_aif.mif"; + }; + } +#endif + + +// End of File diff -r 0b400af71c54 -r e1e28b0273b0 data/PhotoBrowser_reg.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/PhotoBrowser_reg.rss Thu Oct 14 12:11:19 2010 +0900 @@ -0,0 +1,39 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: Juha Kauppinen, Mika Hokkanen +* +* Description: Photo Browser +* +*/ + +#include "PhotoBrowser.rls" +#include +#include +#include "../group/UidList.txt" + +UID2 KUidAppRegistrationResourceFile +UID3 Imagic_UID3 + +RESOURCE APP_REGISTRATION_INFO + { + app_file="PhotoBrowser"; + localisable_resource_file = STRING_Imagic_loc_resource_file_1; + localisable_resource_id = R_LOCALISABLE_APP_INFO; + + + embeddability=KAppNotEmbeddable; + newfile=KAppDoesNotSupportNewFile; + } + + + +// End of File