Branch View toolbar icon
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Holy shit, your cherryphobia is disturbing. Anyway, here's my plan B, Cactus!
- Attachments
-
- BranchViewCactus.png (15.16 KiB) Viewed 2676 times
FAQ | XY News RSS | XY Twitter
Re: Branch View toolbar icon
Is it April 1st already? Self-explanatory effect -> Zero. No desert around here. Needle-phobia quite omnipresent, I would expect.
Win 10 Pro 64bit
Re: Branch View toolbar icon
I'd like to get the old icon back :/
And the color filters icon isn't really an improvement as well
And the color filters icon isn't really an improvement as well
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Relax, I made something for you hopeless philistines:
Wow, apart from getting rid of cherries I see lots of interesting uses for this...
Code: Select all
+ Scripting got a new command.
Name: SetButton
Action: Replaces a toolbar button image with one from a file.
Syntax: setbutton(key, [file], [large=3], [flags=1])
key: Button key.
file: Image file.
Defaults to the selected/focused file.
large: 1 = Small image (16 x 16)
2 = Large image (24 x 24)
3 = Both [Default]
flags: (bit field)
1 = Refresh the Toolbar when the replacement is done. [Default]
Remarks:
- The file can be larger than the image in which case it is
automatically shrunk.
- These changes are not permanent but last as long as the session.
Examples:
setbutton "flatview"; //replace small and large "flatview" image with the selected image file
setbutton "flatview", "C:\Cactus.png" , 1; //replace small "flatview" image with "Cactus.png"
setbutton "flatview", "C:\Cactus.png" , 1; //replace large "flatview" image with "Cactus.png"
FAQ | XY News RSS | XY Twitter
Re: Branch View toolbar icon
Wouldn't it make more sense to rename that command to SetButtonImage?
Apart from that: I don't think that people want to execute a button image changing script on each XY start so
can you find a way to let it make its changes permanent (as a flag)?
Apart from that: I don't think that people want to execute a button image changing script on each XY start so
can you find a way to let it make its changes permanent (as a flag)?
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Yes, SetButtonImage is better.
No, impossible, these images are part of the executable.
No, impossible, these images are part of the executable.
FAQ | XY News RSS | XY Twitter
Re: Branch View toolbar icon
Yay toolbar themes!
ed:
No! how about a new section in the ini that maps images to button keys?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Yes, that would work. Later...SammaySarkar wrote: ↑21 Mar 2019 11:36No! how about a new section in the ini that maps images to button keys?
FAQ | XY News RSS | XY Twitter
Re: Branch View toolbar icon
Good is the design left, only the stem should be removed.
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Better idea: You can state folder (relative to <xydata>) in a new tweak, e.g. "
PatchImagesPath=Patch
", and place image files there, one for each button you want to patch, e.g. "flatview.png". That's it. XY handles the rest on startup.FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
BTW, I gave up. Before you burn my house I go back to a slightly modernized version of the original icon. Put the pitchforks down...
FAQ | XY News RSS | XY Twitter
Re: Branch View toolbar icon
At this point, I think calling that folder something like ToolbarTheme / ButtonTheme is okay. Granted that foldername can be changed, but "Patch" as default is a little generic.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60629
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Branch View toolbar icon
Patch was just an example. You call it what you like.
FAQ | XY News RSS | XY Twitter