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

📄 btpmpex.rss

📁 symbian系统下
💻 RSS
字号:
/*
* ============================================================================
*  Name     : BluetoothPMPExample.rss
*  Part of  : BluetoothPMPExample 
*  Created  : 14.01.2004 by Forum Nokia
*  Description:
*     This file contains all the resources for the BluetoothPMPExample.
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: Nokia Corporation 
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

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

#ifdef EKA2
    #include <appinfo.rh>
    #include "BtPmpEx_loc.rls"
#endif


#define KMaxLength 512

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="BtPmpExample"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys=r_bluetoothpmpexample_hotkeys;
    menubar=r_bluetoothpmpexample_menubar;
    cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;     
    }

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

//----------------------------------------------------
//   
//    r_bluetoothpmpexample_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_bluetoothpmpexample_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_bluetoothpmpexample_menu; txt="Cmds"; }
        };
    }

//----------------------------------------------------
//   
//    r_bluetoothpmpexample_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_bluetoothpmpexample_menu
    {
    items=
        {
        MENU_ITEM { command=EBTCmdSendMessage; txt="Send message"; },
        MENU_ITEM { command=EBTCmdStartSlave; txt="Start Slave"; },
        MENU_ITEM { command=EBTCmdDiscoverDevices; txt="Discover devices"; },
        MENU_ITEM { command=EBTCmdDiscoverServices; txt="Discover services"; },
        MENU_ITEM { command=EBTCmdConnectDevices; txt="Connect devices"; },
        MENU_ITEM { command=EBTCmdShowConnectedDevices; txt="Show connected"; },
        MENU_ITEM { command=EBtCmdClearScreen; txt="Clear screen"; },
        MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }



//----------------------------------------------------
//   
//    r_bluetoothpmpexample_messageinput
//
//----------------------------------------------------
//
RESOURCE DIALOG r_bluetoothexample_messageinput
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_bt_message_input_text;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    //max_view_height_in_lines = CMC_EDWIN_LINES; 
                    // if you have the line above, you must have this. 
                    // It's calculable from LAF
                    base_line_delta = 21; 
                    };
                };
            }
        };
    }

RESOURCE RTXTED r_richtexteditor_rich_text_editor
    {
    //textlimit=KMaxLength;
    flags = EEikEdwinDisplayOnly | EEikEdwinReadOnly;   
    }  

#ifdef EKA2

//-----------------------------------------------------------------------------
//
//    r_localisable_app_info
//
//-----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    {
    short_caption = STRING_short_caption;
    caption_and_icon =
        CAPTION_AND_ICON_INFO 
            {
            caption=STRING_r_long_caption;
            number_of_icons = 1;
            icon_file = "\\resource\\apps\\BtPmpEx.mif";
            };
    }
#endif

// End of File

⌨️ 快捷键说明

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