Walnut icon indicating copy to clipboard operation
Walnut copied to clipboard

How to change icon??

Open boshkaoff opened this issue 1 year ago • 4 comments

help pls...

boshkaoff avatar Oct 25 '23 17:10 boshkaoff

in visual studio press ctrl+shift+e, this will bring up resource view... now select walnnutapp on the left, right click that and add->resource... this will create an icon1.ico and a few other files in your source folder (move them into your source folder and re-add if needed). it contains binding files with linking directives to the .ico image file, which is really just a bitmap with different icon resolution sizes 256, 128, 64, 32, 16, etc.. once you get it compiled and working with your edited images change the size of the icons in windows with ctrl+scroll wheel to see the different sizes so yours can appear, you'll need a properly formed one to get windows icons fully working. you can edit that file any way you like as long as you don't rename it without changing the linking in walnutapp.rc also you might have trouble viewing that files code, right click on it and "view code" for that.

Acromatic avatar Oct 27 '23 01:10 Acromatic

i mean i want to change logo in app, not icon in windows that shows in taskbar

boshkaoff avatar Oct 30 '23 16:10 boshkaoff

replace the image file with same name, or you can code a new name.

Acromatic avatar Dec 10 '23 04:12 Acromatic

I wrote a Python script to convert a PNG to a Walnut-Icon.embed file that you can replace in Platform/GUI/Walnut/Embed

https://gist.github.com/auzden/9bea709c4fb1985849a3dcc46cdcb4e4

auzden avatar Dec 15 '23 23:12 auzden