- /*============================================================================*
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *============================================================================*/
- // >>> dialogs
- /////////////////////////////
- // prompt, wait for OK
- //
- RESOURCE DIALOG r_avp_ok_dialog
- {
- flags = EAknDialogGenericQueryFlags;
- buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
- items =
- {
- DLG_LINE
- {
- type = EAknCtQuery;
- id = EGeneralQuery;
- control = AVKON_CONFIRMATION_QUERY
- {
- bmpid = EMbmAvkonQgn_note_info;
- bmpmask = EMbmAvkonQgn_note_info_mask;
- bmpfile = AVKON_MBM_FILENAME;
- layout = EConfirmationLayout;
- };
- }
- };
- }
- /////////////////////////////
- // prompt, get yes or no
- //
- RESOURCE DIALOG r_avp_yes_no_dialog
- {
- flags = EGeneralQueryFlags;
- buttons = R_AVKON_SOFTKEYS_YES_NO;
- items =
- {
- DLG_LINE
- {
- type = EAknCtQuery;
- id = EGeneralQuery;
- control = AVKON_CONFIRMATION_QUERY
- {
- layout = EConfirmationLayout;
- };
- }
- };
- }
- RESOURCE DIALOG r_avp_recent_files_dialog
- {
- flags = EAknDialogSelectionList;
- buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
- items =
- {
- DLG_LINE
- {
- type = EAknCtSingleListBox;
- //EAknCtSingleGraphicListBox;
- id = ESelectionListControl;
- control = LISTBOX
- {
- flags = EAknListBoxSelectionList;
- };
- },
- DLG_LINE
- {
- itemflags = EEikDlgItemNonFocusing;
- id = EFindControl;
- type = EAknCtSelectionListPopupFind;
- // type = EAknCtSelectionListFixedFind;
- }
- };
- }
- RESOURCE DIALOG r_avp_wait_note
- {
- flags = EAknWaitNoteFlags;
- buttons=R_AVKON_SOFTKEYS_CANCEL;
- items=
- {
- DLG_LINE
- {
- type = EAknCtNote;
- id = EGeneralQuery;
- control= AVKON_NOTE
- {
- layout = EWaitLayout;
- imagefile = AVKON_MBM_FILENAME;
- imageid = EMbmAvkonQgn_note_progress;
- imagemask = EMbmAvkonQgn_note_progress_mask;
- animation = R_QGN_GRAF_WAIT_BAR_ANIM;
- };
- }
- };
- }
- /////////////////////////////
- // prompt, get text
- //
- RESOURCE DIALOG r_avp_query_text_dialog
- {
- flags = EGeneralQueryFlags;
- buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
- items =
- {
- DLG_LINE
- {
- type = EAknCtQuery;
- id = EGeneralQuery;
- control = AVKON_DATA_QUERY
- {
- layout = EDataLayout;
- control = EDWIN
- {
- flags = EEikEdwinNoHorizScrolling;
- width = 10; // XXX arbitrary
- //default_case = EAknEditorLowerCase;
- };
- };
- }
- };
- }
- RESOURCE DIALOG r_avp_expand_form_item_dialog
- {
- flags = EGeneralQueryFlags;
- buttons = R_AVKON_SOFTKEYS_CLOSE;
- items =
- {
- DLG_LINE
- {
- type = EAknCtQuery;
- id = EGeneralQuery;
- control = AVKON_DATA_QUERY
- {
- layout = EDataLayout;
- control = EDWIN
- {
- flags = EEikEdwinNoHorizScrolling;
- width = 10; // XXX arbitrary
- };
- };
- }
- };
- }
- //
- // folder path selection popup list dialog
- //
- RESOURCE AVKON_LIST_QUERY r_avp_select_folder_dlg
- {
- flags = EGeneralQueryFlags;
- softkeys = r_avp_cba_move_cancel;
- items =
- {
- AVKON_LIST_QUERY_DLG_LINE
- {
- control = AVKON_LIST_QUERY_CONTROL
- {
- listtype = EAknCtSingleGraphicPopupMenuListBox;
- listbox = AVKON_LIST_QUERY_LIST
- {
- // empty
- };
- heading = qtn_memc_move_heading;
- };
- }
- };
- }
- //
- // select clip or playlist popup list dialog (for save clip)
- //
- RESOURCE AVKON_LIST_QUERY r_avp_select_save_source_dlg
- {
- flags = EGeneralQueryFlags;
- softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL;
- items =
- {
- AVKON_LIST_QUERY_DLG_LINE
- {
- control = AVKON_LIST_QUERY_CONTROL
- {
- listtype = EAknCtSingleGraphicPopupMenuListBox;
- listbox = AVKON_LIST_QUERY_LIST
- {
- array_id=r_rop_array_save_playlist_or_clip;
- };
- heading = qtn_mrp_t_select_save_clip_item;
- };
- }
- };
- }
- //
- // before/after selection popup list dialog (for edit playlist)
- //
- RESOURCE AVKON_LIST_QUERY r_avp_select_playlist_pos_dlg
- {
- flags = EGeneralQueryFlags;
- softkeys = R_AVKON_SOFTKEYS_INSERT_BACK; //R_AVKON_SOFTKEYS_OK_CANCEL;
- items =
- {
- AVKON_LIST_QUERY_DLG_LINE
- {
- control = AVKON_LIST_QUERY_CONTROL
- {
- listtype = EAknCtSingleGraphicPopupMenuListBox;
- listbox = AVKON_LIST_QUERY_LIST
- {
- array_id=r_rop_array_insert_before_after;
- };
- heading = qtn_mrp_select_insert_pos_heading;
- };
- }
- };
- }
- RESOURCE DIALOG r_avp_edit_playlist_dlg
- {
- flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
- EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder |
- EEikDialogFlagCbaButtons | EEikDialogFlagWait;
- buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; //r_avp_edit_playlist_dialog_cba;
- form = r_avp_edit_playlist_form;
- }
- // form resource for edit playlist dialog
- RESOURCE FORM r_avp_edit_playlist_form
- {
- // 'double space' means caption will be drawn above text (i.e., not to immediate left)
- // 'edit mode only' forces edit mode on initial display
- flags = EEikFormShowBitmaps; // EEikFormUseDoubleSpacedFormat; // EEikFormUseDoubleSpacedFormat | EEikFormEditModeOnly;
- items =
- {
- // empty
- };
- }
- // dlg line for inserting into info dlg form (only allows adding via resource)
- RESOURCE DLG_LINE r_avp_form_edwin
- {
- type=EEikCtEdwin;
- prompt = "" ;
- id= EIdInsertLinePlaceHolder;
- control=EDWIN
- {
- flags= KMultiLineExpandingEditorFlags;
- };
- }
- RESOURCE DIALOG r_avp_mmc_password_query
- {
- flags = EGeneralQueryFlags;
- buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
- items =
- {
- DLG_LINE
- {
- type = EAknCtQuery;
- id = EGeneralQuery;
- control = AVKON_DATA_QUERY
- {
- layout = ECodeLayout;
- label = "";
- control = SECRETED
- {
- num_letters = 16;
- };
- };
- }
- };
- }