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

📄 s60uicodeex.rss

📁 一个UI的程序
💻 RSS
字号:
// S60UICodeEx.RSS
//

NAME SOME

#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <appinfo.rh>

#include "S60UICodeEx.hrh"

#include "S60UICodeEx.rls"

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO
	{
	cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
	menubar=r_example_menubar;
	}


RESOURCE MENU_BAR r_example_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_example_first_menu; txt="S60UICode"; }
	};
    }

RESOURCE MENU_PANE r_example_first_menu
	{
	items=
		{
		MENU_ITEM { command=ES60ExCmdNormalSP; txt="Normal Status Pane"; },
		MENU_ITEM { command=ES60ExCmdSP; txt="Small Status Pane"; },
		MENU_ITEM { command=ES60ExCmdNoSP; txt="No Status Pane"; },
		MENU_ITEM { command=ES60ExCmdRotate; txt="Rotate"; },
		MENU_ITEM { command=ES60ExCmdInsertText; txt="Insert Text"; },		
		MENU_ITEM { command=EEikCmdExit; txt="Exit"; }
        };
    }


//-----------------------------------------------------
// Localization resource

RESOURCE LOCALISABLE_APP_INFO r_S60UICodeEx_lai
	{
    short_caption = qtn_app_short_caption_string;
    
    caption_and_icon = 
        {
        CAPTION_AND_ICON_INFO
            {
            caption = qtn_app_caption_string;
            number_of_icons = 1;
            icon_file = r_icon_file;
	    }
        };
    }

RESOURCE DIALOG r_dialog_text_edit_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = "Insert text";
                control = EDWIN
                    {
                    width = 18;
		    lines = 2;
                    maxlength = 32;
                    
                    };
                };
            }
        };
    }

⌨️ 快捷键说明

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