diff -r aaeeca1f15af -r e8d784ac1a4b scrsaver/scrsaverplugins/ScreenSaverAnimPlugin/data/ScreenSaverAnimPlugin.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scrsaver/scrsaverplugins/ScreenSaverAnimPlugin/data/ScreenSaverAnimPlugin.rss Wed Sep 01 12:30:40 2010 +0100 @@ -0,0 +1,378 @@ +/* +* Copyright (c) 2005 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: +* +* Description: Resource file for ScreenSaverAnimPlugin +* +*/ + + + + + +// RESOURCE IDENTIFIER + +NAME ANSS + +#include +#include +#include +#include +#include +#include +#include +#include +#include "ScreenSaverAnimCustControl.rh" +#include +#include "ScreenSaverAnimPlugin.hrh" + +// --------------------------------------------------------- +// +// Define the resource file signature +// This resource should be empty. +// +// --------------------------------------------------------- +// +RESOURCE RSS_SIGNATURE + { + } + +RESOURCE TBUF + { + buf = "AnimScreenSaver"; + } + +STRUCT MIMETYPE_SPECIFIC_PLUGIN_ARRAY + { + STRUCT pairs[]; // array of mimetype and implementation uid pair + } +// ----------------------------------------------------------------------------- +// SCREENSAVER_MIMETYPE_PLUGIN_PAIR +// One mapping between file name extension and MIME type. +// ----------------------------------------------------------------------------- +// +STRUCT SCREENSAVER_MIMETYPE_PLUGIN_PAIR + { + LTEXT mimetype; + LONG implementation_uid; + } + +RESOURCE MIMETYPE_SPECIFIC_PLUGIN_ARRAY r_mimetype_specific_plugin_array + { + pairs = + { + SCREENSAVER_MIMETYPE_PLUGIN_PAIR + { + mimetype = "image/svg+xml"; + implementation_uid = 0x102071E6; + }, + SCREENSAVER_MIMETYPE_PLUGIN_PAIR + { + mimetype = "image/gif"; + implementation_uid = 0x102750B4; + }, + SCREENSAVER_MIMETYPE_PLUGIN_PAIR + { + mimetype = "application/m3g"; + implementation_uid = 0x102750B3; + } +#ifdef RD_FLASHLITE_SCREENSAVER + , + SCREENSAVER_MIMETYPE_PLUGIN_PAIR + { + mimetype = "application/x-shockwave-flash"; + implementation_uid = 0x101f4e5d; + } +#endif + + }; + } + +//---------------------------------------------------- +// +// r_anim_timeout_slider +// Duration slider. +// +//---------------------------------------------------- +// +RESOURCE SLIDER r_anim_timeout_slider + { + layout = EAknSettingsItemSliderLayout; + minvalue = 5; + maxvalue = 60; + step = 1; + valuetype = EAknSliderValueBareFigure; + singular_valuelabel = qtn_sanim_duration_slider_ykcur; + minlabel = qtn_sanim_duration_slider_min; + maxlabel = qtn_sanim_duration_slider_max; + valuelabel = qtn_sanim_duration_slider_cur; + } + +//---------------------------------------------------- +// +// r_light_timeout_slider +// Backlight slider. +// +//---------------------------------------------------- +// +RESOURCE SLIDER r_light_timeout_slider + { + layout = EAknSettingsItemSliderLayout; + minvalue = 0; + maxvalue = 30; + step = 1; + valuetype = EAknSliderValueBareFigure; + singular_valuelabel = qtn_sanim_duration_slider_ykcur; + minlabel = qtn_sanim_slider_off; + maxlabel = qtn_sanim_slider_max_secs; + valuelabel = qtn_sanim_slider_context_value_secs; + } + +// ----------------------------------------------------------------------------- +// +// r_anim_timeout_setting_page +// Screen saver setting page. +// +// ----------------------------------------------------------------------------- +// +RESOURCE AVKON_SETTING_PAGE r_anim_timeout_setting_page + { + number = EAknSettingPageNoOrdinalDisplayed; + label = qtn_sanim_list_anim_timeout; + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + type = EAknCtSlider;//0xffff; + editor_resource_id = r_anim_timeout_slider; + } + +// ----------------------------------------------------------------------------- +// +// r_light_timeout_setting_page +// Screen saver setting page. +// +// ----------------------------------------------------------------------------- +// +RESOURCE AVKON_SETTING_PAGE r_light_timeout_setting_page + { + number = EAknSettingPageNoOrdinalDisplayed; + label = qtn_sanim_list_light_timeout; + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + type = EAknCtSlider;//0xffff; + editor_resource_id = r_light_timeout_slider; + } + + +// ----------------------------------------------------------------------------- +// +// r_sanim_setting_lbx +// +// ----------------------------------------------------------------------------- +// +RESOURCE LISTBOX r_sanim_setting_lbx + { + array_id = r_sanim_setting_lbx_items; + flags = EEikListBoxMultipleSelection; + } + +// ----------------------------------------------------------------------------- +// +// r_sanim_setting_lbx_items +// +// ----------------------------------------------------------------------------- +// +RESOURCE ARRAY r_sanim_setting_lbx_items + { + items = + { + LBUF + { + txt = "\t"qtn_sanim_list_anim_file"\t\t"; + }, + LBUF + { + txt = "\t"qtn_sanim_list_anim_timeout"\t\t"; + }, + LBUF + { + txt = "\t"qtn_sanim_list_light_timeout"\t\t"; + } + + }; + } + +// --------------------------------------------------------- +// +// r_sanim_setting_dialog +// SVG-T Dialog +// +// --------------------------------------------------------- +// + +RESOURCE DIALOG r_sanim_setting_dialog + { + flags = EAknDialogSelectionList; + title = "SANIM Dialog"; + buttons = R_AVKON_SOFTKEYS_SELECTION_LIST; + items = + { + DLG_LINE + { + type = ESanimCustControl; + id = ESanimDialogCustControlIdData; + control = SANIM_CUST_CONTROL + { + }; + } + }; + } +// ----------------------------------------------------------------------------- +// +// r_sanim_dialog_menubar +// Resource for Dialog "Options" Menu Bar +// +// ----------------------------------------------------------------------------- +// +RESOURCE MENU_BAR r_sanim_dialog_menubar + { + titles = + { + MENU_TITLE + { + menu_pane = r_sanim_dialog_menu; + } + }; + } + +// ----------------------------------------------------------------------------- +// +// r_sanim_dialog_menu +// Resource for Screen saver setting Dialog "Options" Menu Pane +// +// ----------------------------------------------------------------------------- +// +RESOURCE MENU_PANE r_sanim_dialog_menu + { + items = + { + MENU_ITEM + { + command = ESanimDlgChangeCommand; + txt = qtn_sanim_option_change; + flags = EEikMenuItemAction; // add this line to list item action commands + }, +#ifdef __SERIES60_HELP + MENU_ITEM + { + command = ESanimDlgHelpCommand; + txt = qtn_options_help; + }, +#endif // __SERIES60_HELP + MENU_ITEM + { + command = EAknCmdExit; + txt = qtn_options_exit; + } + }; + } + +// --------------------------------------------------- +// +// r_sanim_title_settings +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_title_settings + { + buf = qtn_sanim_title_settings; + } + +// --------------------------------------------------- +// +// r_sanim_title_settings +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_not_supported + { + buf = qtn_err_not_supp; + } + +// --------------------------------------------------- +// +// r_sanim_title_settings +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_error_wrong_format + { + buf = qtn_sanim_error_wrong_format; + } + + +// --------------------------------------------------- +// +// r_sanim_err_failure +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_err_failure + { + buf = qtn_err_failure; + } + +// --------------------------------------------------- +// +// r_sanim_slider_off +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_slider_off + { + buf = qtn_sanim_slider_off; + } + +// --------------------------------------------------- +// +// r_drm_prev_rights_set +// +// --------------------------------------------------- +// +RESOURCE TBUF r_drm_prev_rights_set + { + buf = qtn_drm_prev_rights_set; + } + + +// --------------------------------------------------- +// +// r_sanim_screensaver_name +// +// --------------------------------------------------- +// +RESOURCE TBUF r_sanim_screensaver_name + { + buf = qtn_sanim_screensaver_name; + } + + +// ----------------------------------------------------------------------------- +// +// r_sanim_msk_change +// Middle softkey label: change. From Avkon resources (avkon.loc) +// ----------------------------------------------------------------------------- +// +RESOURCE TBUF r_sanim_msk_change + { + buf = qtn_msk_change; + } + + +// End of File