Author Topic: Changing icons in Project view  (Read 1430 times)

Offline ajb45

  • Single posting newcomer
  • *
  • Posts: 6
Changing icons in Project view
« on: October 28, 2021, 03:39:39 pm »
In earlier versions of codeblocks (e.g. 11562) I was able to change the look and feel of the project navigator view by directly replacing some of the .png files in the share/CodeBlocks/images folder (see attachment).

The files I changed are:-
  file.png - to be a white unlocked padlock on green background
  file-modified.png - white unlocked padlock on orange background
  file-readonly.png - white locked padlock on red background
  folder-open.png - yellow folder icon as seen in explorer
  file-missing.png - black exclaimation on yellow triangle background

With newer releases of codeblocks, the look and feel appears locked to be blue folders, pale grey 'blank page' icon for files and the same but with a black padlock for read only files. I don't always find the standard scheme easy on the eye but I cannot find any of the .png files delivered as part of the download package, so can't just replace them with my own as before.

Is there a way I can get back to using my own .png files in the project window?


Offline Miguel Gimenez

  • Lives here!
  • ****
  • Posts: 824
Re: Changing icons in Project view
« Reply #1 on: October 28, 2021, 03:49:22 pm »
The images are in share/CodeBlocks/resources.zip, in images/tree, and there are some sizes per image.

Offline ajb45

  • Single posting newcomer
  • *
  • Posts: 6
Re: Changing icons in Project view
« Reply #2 on: October 28, 2021, 04:06:56 pm »
Nice one. Thanks for the info.
I replace the existing 16x16 ones in the resources.zip file (images/tree) with my own, they will get picked up automatically from that.
I'll try it anyway..
Regards
Andy

Offline ajb45

  • Single posting newcomer
  • *
  • Posts: 6
Re: Changing icons in Project view
« Reply #3 on: October 28, 2021, 04:09:30 pm »
Yes, that works..
Many thanks  :)