⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 screenshot.rss

📁 截屏软件
💻 RSS
📖 第 1 页 / 共 2 页
字号:
/*
 * screenshot.rss
 *
 * Copyright 2005 - 2007, Antony Pranata
 * http://www.antonypranata.com
 *
 * Project: Screenshot for Symbian OS.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

//  RESOURCE IDENTIFIER
NAME BENC // 4 letter ID

//  INCLUDES
#include <SymbianVariant.h>

// Added for SVG-T icon support.
//#if (__S60__ >= 203)
//#include <appinfo.rh>
//#endif

#include <commondialogs.rh>
#include <eikon.rh>
#include "Bencoolen.hrh"
#include "Bencoolen.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "Bencoolen"; }

RESOURCE EIK_APP_INFO
	{
	}

// --------------------------------------------------------------------------
//
//    r_bencoolen_appview
//    Main view
//
// --------------------------------------------------------------------------
RESOURCE AVKON_VIEW r_bencoolen_appview
    {
    menubar = r_bencoolen_menubar_main;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }


// --------------------------------------------------------------------------
//
//    r_bencoolen_settingsview
//    Settings view
//
// --------------------------------------------------------------------------
RESOURCE AVKON_VIEW r_bencoolen_settingsview
	{
	menubar = r_bencoolen_menubar_settings;
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	}


// --------------------------------------------------------------------------
//   
//    r_bencoolen_hotkeys
//
// --------------------------------------------------------------------------
RESOURCE HOTKEYS r_bencoolen_hotkeys
	{
	control =
		{
		HOTKEY { command = EAknCmdExit; key='e'; }
		};
	}

// --------------------------------------------------------------------------
//   
//    r_bencoolen_menubar_main
//
// --------------------------------------------------------------------------
RESOURCE MENU_BAR r_bencoolen_menubar_main
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_bencoolen_menu_main; }
		};
	}

// --------------------------------------------------------------------------
//   
//    r_bencoolen_menu_main
//
// --------------------------------------------------------------------------
RESOURCE MENU_PANE r_bencoolen_menu_main
    {
    items =
        {
		MENU_ITEM
			{
			command = EBencoolenCmdActivateCapture;
			txt = string_bencoolen_menu_activate_capture;
			},
		MENU_ITEM
			{
			command = EBencoolenCmdSettings;
			txt = string_bencoolen_menu_settings;
			flags = EEikMenuItemSeparatorAfter;
			},
		MENU_ITEM
			{
			command = EBencoolenCmdStop;
			txt = string_bencoolen_menu_stop;
			flags = EEikMenuItemSeparatorAfter;
			},
		MENU_ITEM
			{
			command = EBencoolenCmdAbout;
			txt = string_bencoolen_menu_about;
			flags = EEikMenuItemSeparatorAfter;
			},
		MENU_ITEM
			{
			command = EEikCmdExit;
			txt = string_bencoolen_menu_exit;
			}
        };
    }


// --------------------------------------------------------------------------
//   
//    r_bencoolen_menubar_settings
//
// --------------------------------------------------------------------------
RESOURCE MENU_BAR r_bencoolen_menubar_settings
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_bencoolen_menu_settings; }
		};
	}


// --------------------------------------------------------------------------
//   
//    r_bencoolen_menu_main
//
// --------------------------------------------------------------------------
RESOURCE MENU_PANE r_bencoolen_menu_settings
    {
    items =
        {
		MENU_ITEM
			{
			command = EBencoolenCmdChange;
			txt = string_bencoolen_menu_change;
			}
		};
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_settings_item
//
// --------------------------------------------------------------------------
RESOURCE AVKON_SETTING_ITEM_LIST r_bencoolen_settings_item
	{
	title = string_bencoolen_dialog_settings;
	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgMode;
			setting_page_resource = r_bencoolen_enum_mode_page;
			associated_resource = r_bencoolen_enum_mode_resource;
			name = string_bencoolen_dialog_mode;
			}
		};

	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgShortcut;
			setting_page_resource = r_bencoolen_enum_shortcut_page;
			associated_resource = r_bencoolen_enum_shortcut_resource;
			name = string_bencoolen_dialog_shortcut;
			}
		};

	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgImageFormat;
			setting_page_resource = r_bencoolen_enum_imageformat_page;
			associated_resource = r_bencoolen_enum_imageformat_resource;
			name = string_bencoolen_dialog_imageformat;
			}
		};
		
#if (__S60__ < 300)
		
	items =
		{
		AVKON_SETTING_ITEM
            {
            identifier = EBencoolenDlgLocation;
            setting_page_resource = r_bencoolen_binary_location_page;
            associated_resource = r_bencoolen_binary_location_resource;
            name = string_bencoolen_dialog_location;
            }
		};
		
#else
		
	items =
		{
        AVKON_SETTING_ITEM
            {
            identifier = EBencoolenDlgLocation;
            setting_page_resource = r_bencoolen_memory_selection_dialog;
            name = string_bencoolen_dialog_location;
            }
        };
        
#endif
                    
	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgFileName;
			setting_page_resource = r_bencoolen_editor_filename_page;
			name = string_bencoolen_dialog_filename;
			}
		};
		
	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgDirectory;
			setting_page_resource = r_bencoolen_editor_directory_page;
			name = string_bencoolen_dialog_directory;
			}
		};
	
	items =
		{
		AVKON_SETTING_ITEM
			{
			identifier = EBencoolenDlgDelay;
			setting_page_resource = r_bencoolen_enum_delay_page;
			associated_resource = r_bencoolen_enum_delay_resource;
			name = string_bencoolen_dialog_delay;
			}
		};
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_mode_page
//
// --------------------------------------------------------------------------
RESOURCE AVKON_SETTING_PAGE r_bencoolen_enum_mode_page
	{
	label= "Mode";
	type = EAknCtPopupSettingList;
	editor_resource_id = r_bencoolen_enum_mode_editor;
    }


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_mode_editor
//
// --------------------------------------------------------------------------
RESOURCE POPUP_SETTING_LIST r_bencoolen_enum_mode_editor
	{
	flags = EAknPopupSettingListFlagInitialised;
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_mode_resource
//
// --------------------------------------------------------------------------
RESOURCE AVKON_POPUP_SETTING_TEXTS r_bencoolen_enum_mode_resource
	{
	setting_texts_resource = r_bencoolen_enum_mode_text;
	popped_up_texts_resource = r_bencoolen_enum_mode_popup;
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_mode_text
//
// --------------------------------------------------------------------------
RESOURCE ARRAY r_bencoolen_enum_mode_text
	{
	items =
		{
		AVKON_ENUMERATED_TEXT
			{
			value = 1;
			text = string_bencoolen_dialog_mode_oneshot;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 2;
			text = string_bencoolen_dialog_mode_1second;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 3;
			text = string_bencoolen_dialog_mode_2seconds;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 4;
			text = string_bencoolen_dialog_mode_5seconds;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 5;
			text = string_bencoolen_dialog_mode_10seconds;
			}
		};
	}

// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_mode_popup
//
// --------------------------------------------------------------------------
RESOURCE ARRAY r_bencoolen_enum_mode_popup
	{
	items =
		{
		LBUF { txt = string_bencoolen_dialog_mode_oneshot; },
		LBUF { txt = string_bencoolen_dialog_mode_1second; },
		LBUF { txt = string_bencoolen_dialog_mode_2seconds; },
		LBUF { txt = string_bencoolen_dialog_mode_5seconds; },
		LBUF { txt = string_bencoolen_dialog_mode_10seconds; }
		};
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_shortcut_page
//
// --------------------------------------------------------------------------
RESOURCE AVKON_SETTING_PAGE r_bencoolen_enum_shortcut_page
	{
	label = string_bencoolen_dialog_shortcut;
	type = EAknCtPopupSettingList;
	editor_resource_id = r_bencoolen_enum_shortcut_editor;
	}

    
// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_shortcut_editor
//
// --------------------------------------------------------------------------
RESOURCE POPUP_SETTING_LIST r_bencoolen_enum_shortcut_editor
	{
	flags = EAknPopupSettingListFlagInitialised;
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_shortcut_resource
//
// --------------------------------------------------------------------------
RESOURCE AVKON_POPUP_SETTING_TEXTS r_bencoolen_enum_shortcut_resource
	{
	setting_texts_resource = r_bencoolen_enum_shortcut_text;
	popped_up_texts_resource = r_bencoolen_enum_shortcut_popup;
	}


// --------------------------------------------------------------------------
//
//    r_bencoolen_enum_shortcut_text
//
// --------------------------------------------------------------------------
RESOURCE ARRAY r_bencoolen_enum_shortcut_text
	{
	items =
		{
		AVKON_ENUMERATED_TEXT
			{
			value = 1;
			text = string_bencoolen_dialog_shortcut_confirm;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 2;
			text = string_bencoolen_dialog_shortcut_star;
			},
		AVKON_ENUMERATED_TEXT
			{
			value = 3;
			text = string_bencoolen_dialog_shortcut_hash;
			},
#if (__S60__ >= 300)
		AVKON_ENUMERATED_TEXT
			{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -