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

📄 audio2.rss

📁 《SymbianOSC手机应用开发》源码
💻 RSS
字号:
/* Copyright (c) 2004, Symbian Software Ltd. All rights reserved */

NAME AUD2

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include <commondialogs.hrh>
#include <commondialogs.rh>
#include "Audio2.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_audio2_menubar;
    cba = r_softkeys_options_next;
    }

RESOURCE CBA r_softkeys_options_next
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyOptions; 
            txt = Options;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyExit; 
            txt = Exit;
            }
        };
    }


// ---------------------------------------------------------
//   
//   r_audio2_menubar
//   Menubar for Audio2 example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_audio2_menubar
    {
    titles =
        {
        MENU_TITLE {menu_pane = r_audio2_menu;}
        };
    }


// ---------------------------------------------------------
//   
//   r_audio2_menu
//   Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_audio2_menu
    {
    items=
        {
        MENU_ITEM { command = ECmdRecord; txt = "Record";},
        MENU_ITEM { command = ECmdPlay; txt = "Play";},
        MENU_ITEM { command = ECmdStop; txt = "Stop";},
        MENU_ITEM { command = ECmdConversionFormats; txt = "Conversion format";},
        MENU_ITEM { command = ECmdConversionTypes; txt = "Conversion types";},
        MENU_ITEM { command = ECmdConvert; txt = "Convert";},
        MENU_ITEM { command = EAknSoftkeyExit; txt = "Exit"; }
        };
    }


RESOURCE LOCATION r_default_location
    {
    root_path="C:\\";
    default_folder="";
    }

RESOURCE ARRAY r_dummy_list
    {
    items=
        {
        LBUF {txt="hello"; },
        LBUF {txt="hello"; },
        LBUF {txt="hello"; }
        };
    }

RESOURCE DIALOG r_type_dialog
    {
    flags = EGeneralQueryFlags;
   // softkeys = r_avkon_softkeys_ok_cancel;
    items = 
        {
        AVKON_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {
                    array_id=r_dummy_list;
                    };
                heading = "Choose:";
                };
            }
        };
    }

⌨️ 快捷键说明

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