Branch View toolbar icon

Features wanted...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Branch View toolbar icon

Post by admin »

Holy shit, your cherryphobia is disturbing. Anyway, here's my plan B, Cactus!
Attachments
BranchViewCactus.png
BranchViewCactus.png (15.16 KiB) Viewed 2587 times

Leito
Posts: 561
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Branch View toolbar icon

Post by Leito »

Borut wrote: 21 Mar 2019 10:46 I find Leito's first suggestion self explaining, very appealing, and with a kind of certain calming effect, at least on me :)
It's my favorite as well:
  • There's branches → "Branch view"
  • There's horizontal green blocks that remind of elements in a list → List pane

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

Re: Branch View toolbar icon

Post by eil »

Leito wrote: 21 Mar 2019 10:20 Here are my suggestions if you want to stay close to the nature:

Image
Image
quite like these 2.
Win 7 SP1 x64 100% 1366x768

Borut
Posts: 1412
Joined: 19 Oct 2010 19:29

Re: Branch View toolbar icon

Post by Borut »

admin wrote: 21 Mar 2019 10:49 Holy shit, your cherryphobia is disturbing. Anyway, here's my plan B, Cactus!
:shock: Is it April 1st already? :mrgreen: Self-explanatory effect -> Zero. No desert around here. Needle-phobia quite omnipresent, I would expect.
Win 10 Pro 64bit

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Branch View toolbar icon

Post by highend »

I'd like to get the old icon back :/

And the color filters icon isn't really an improvement as well :titter:
One of my scripts helped you out? Please donate via Paypal

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

Re: Branch View toolbar icon

Post by admin »

Relax, I made something for you hopeless philistines:

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"
Wow, apart from getting rid of cherries I see lots of interesting uses for this... :cup:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Branch View toolbar icon

Post by highend »

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)?
One of my scripts helped you out? Please donate via Paypal

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

Re: Branch View toolbar icon

Post by admin »

Yes, SetButtonImage is better.

No, impossible, these images are part of the executable.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Branch View toolbar icon

Post by bdeshi »

admin wrote: 21 Mar 2019 11:13 Wow, apart from getting rid of cherries I see lots of interesting uses for this... :cup:
Yay toolbar themes!

ed:
admin wrote: 21 Mar 2019 11:36 Yes, SetButtonImage is better.No, impossible, these images are part of the executable.
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 ]

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

Re: Branch View toolbar icon

Post by admin »

SammaySarkar wrote: 21 Mar 2019 11:36
admin wrote: 21 Mar 2019 11:36 Yes, SetButtonImage is better.No, impossible, these images are part of the executable.
No! how about a new section in the ini that maps images to button keys?
Yes, that would work. :tup: Later...

hogaty
Posts: 234
Joined: 19 Apr 2013 21:14

Re: Branch View toolbar icon

Post by hogaty »

Good is the design left, only the stem should be removed.
Borut wrote: 21 Mar 2019 10:46
Leito wrote: 21 Mar 2019 10:20 [...]
Here are my suggestions if you want to stay close to the nature:
Image
[...]
I find Leito's first suggestion self-explanatory enough, very appealing, and with a kind of certain calming effect, at least on me :) Cherries are - in my view - a bit too intrusive and definitely not self-explanatory.

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

Re: Branch View toolbar icon

Post by admin »

admin wrote: 21 Mar 2019 12:09
SammaySarkar wrote: 21 Mar 2019 11:36
admin wrote: 21 Mar 2019 11:36 Yes, SetButtonImage is better.No, impossible, these images are part of the executable.
No! how about a new section in the ini that maps images to button keys?
Yes, that would work. :tup: Later...
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.

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

Re: Branch View toolbar icon

Post by admin »

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...

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Branch View toolbar icon

Post by bdeshi »

:mrgreen:

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 ]

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

Re: Branch View toolbar icon

Post by admin »

Patch was just an example. You call it what you like.

Post Reply