您的位置:首页 > 其它

更换S60第三版程序图标

2008-06-13 17:26 225 查看
修改以下3个文件即可

bld.inf:

Code:

PRJ_PLATFORMS

WINSCW GCCE

PRJ_MMPFILES

xxxxxxxxxx.mmp

gnumakefile icons_aif.mk

icons_aif.mk:

Code:

# ==============================================================================

# Name : icons_aif.mk

# Part of :

# Description : This is file for creating .mbm file

# Version :

#

# ==============================================================================

ifeq (WINS,$(findstring WINS, $(PLATFORM)))

ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z

else

ZDIR=$(EPOCROOT)epoc32\data\z

endif

TARGETDIR=$(ZDIR)\RESOURCE\APPS

ICONTARGETFILENAME=$(TARGETDIR)\YourProject_aif.mbm

do_nothing :

@rem do_nothing

MAKMAKE : do_nothing

BLD : do_nothing

CLEAN : do_nothing

LIB : do_nothing

CLEANLIB : do_nothing

RESOURCE :

mifconv $(ICONTARGETFILENAME) /c24,1 ..\gfx\icon_lst.bmp /c24,1 ..\gfx\icon_cxt.bmp

FREEZE : do_nothing

SAVESPACE : do_nothing

RELEASABLES :

@echo $(ICONTARGETFILENAME)

FINAL : do_nothing

添加上面的内容后,并在RSS文件中修改LOCALISABLE_APP_INFO就可以了:

Code:

// -----------------------------------------------------------------------------

//

// Localizable application information

//

// -----------------------------------------------------------------------------

//

RESOURCE LOCALISABLE_APP_INFO r_yourproject_localisable_app_info

{

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 = "\\resource\\apps\\YourProject_aif.mbm";

};

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: