bmpmanip.rss
来自「该源码主要用于在手机平台上对图像的一些简单处理」· RSS 代码 · 共 103 行
RSS
103 行
/* Copyright (c) 2003, Nokia Mobile Phones. All rights reserved */
NAME BMPM
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include "Bmpmanip.hrh"
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF
{
buf="";
}
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_bmpmanip_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_bmpmanip_menubar
// Menubar for Bmpmanip example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_bmpmanip_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_bmpmanip_menu;
}
};
}
// ---------------------------------------------------------
//
// r_bmpmanip_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_bmpmanip_menu
{
items =
{
MENU_ITEM
{
command = EBmpmanipCmdRotate90;
txt = "Rotate by 90"<0xB0>;
},
MENU_ITEM
{
command = EBmpmanipCmdRotate180;
txt = "Rotate by 180"<0xB0>;
},
MENU_ITEM
{
command = EBmpmanipCmdRotate270;
txt = "Rotate by 270"<0xB0>;
},
MENU_ITEM
{
command = EBmpmanipCmdSave;
txt = "Save";
},
MENU_ITEM {
command = EAknSoftkeyExit;
txt = "Exit";
}
};
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?