How to preserve old native button icons?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
eil
Posts: 1816
Joined: 13 Jan 2011 19:44

How to preserve old native button icons?

Post by eil »

I don't upgrade that often, but do check changelog and noticed Tree button icon was changed. Checked it live and i prefer old one, 'cause at least i'm not a fan of teenage flat styles. yet "old" one has more appealing colors. Surely that's my own issue, but what would be the proper way for me in future to get that icon back?
For the moment i checked resources of older version, found png with all the buttons. Help seems to say that Patchimage command ought deal with such situations. Yet now i'll need to cut 24x24 pieces from that main png. So is this really the right way, just to be sure?
Lastly Tree icon has 2 stances, and if name of first one can be checked via Toolbar customize, i don't know how to get the name of "small tree" icon. Does anybody know that name?
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve old native button icons?

Post by admin »

Here's the old trees. :)
Attachments
20130524.zip
(5.6 KiB) Downloaded 113 times

eil
Posts: 1816
Joined: 13 Jan 2011 19:44

Re: How to preserve old native button icons?

Post by eil »

Thanks for icons Don!
Now i tried Patchimage and have 2 questions:
1. Silly me didn't notice Patchimage's note: "These changes are not permanent but last as long as the session." = what's the point to change some button icon/image just for current session?! I guess one is supposed to add such image-swap commands in some starting script to make this changes para-permanent?..
2. Somehow i remember there was some customization ability allowing to change all buttons icons in toolbar by putting some special named icons/images somewhere in application data folder - am i imagining it or there is indeed smth like this in XY?(if yes, this seems as way for me)
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve old native button icons?

Post by admin »

Rename the files like this and copy them to <xydata>\Patch:

maxitree.MiniTree24_Off.png
minitree.MiniTree24_On.png

eil
Posts: 1816
Joined: 13 Jan 2011 19:44

Re: How to preserve old native button icons?

Post by eil »

This doesn't work for some reason.
2024-02-05_112829.png
2024-02-05_112829.png (34.8 KiB) Viewed 1068 times
Yet i still wanna understand what's the purpose of Patchimage command as its changes are temporary. Additionally, do changes made by Patchimage get stored in some ini's temporary part, or only in RAM?(that's why only for current session)
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve old native button icons?

Post by admin »

Forgot to tell you to set this tweak (so you are actually free to decide where to place these image files):

Code: Select all

PatchImagesPath=Patch

eil
Posts: 1816
Joined: 13 Jan 2011 19:44

Re: How to preserve old native button icons?

Post by eil »

admin wrote: 05 Feb 2024 15:47 Forgot to tell you to set this tweak (so you are actually free to decide where to place these image files):

Code: Select all

PatchImagesPath=Patch
This buttons-patching mechanic should be mentioned in Help file, at least that such trick exists.

:ninja: :ninja: :ninja:
eil wrote: 05 Feb 2024 15:39 Yet i still wanna understand what's the purpose of Patchimage command as its changes are temporary. Additionally, do changes made by Patchimage get stored in some ini's temporary part, or only in RAM?(that's why only for current session)
Win 7 SP1 x64 100% 1366x768|1900x1080

eil
Posts: 1816
Joined: 13 Jan 2011 19:44

Re: How to preserve old native button icons?

Post by eil »

While helping in this topic, i remembered that i still don't know myself How to get those proper Patch names. So i'd hope smbd can provide some hints.
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply