更换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";
};
}
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";
};
}
相关文章推荐
- s60塞班程序的图标和中文名称
- ulipad图标异常--更换程序图标
- paip。更换程序图标总结
- S60使用BMP文件作为程序图标
- 指定S60程序图标的显示位置
- 程序更换图标
- android程序更换图标安装后不变解决办法
- 指定S60程序图标的显示位置
- 指定S60程序图标的显示位置
- Symbian S60 修改程序图标
- android程序更换图标安装后不变解决办法
- android程序更换图标安装后不变解决办法
- 更换自己编写程序的图标
- java Swing控件桌面程序 更换程序小图标
- Apple Mac OS X每日一技巧020:更换程序、文档、Dock、文件夹图标
- Symbian S60v5 编程中的程序图标更换问题
- android程序更换图标无更新解决方案
- android程序更换图标安装后不变解决办法
- miui更换程序图标失败解决方法
- qt更换程序图标