Bulk color value changes via XYplorer.ini...
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Bulk color value changes via XYplorer.ini...
Please convert XY's interface color values to hex color values in the XYplorer.ini. Example, currently XY uses this, which I don't even know what kind of color value it is...
clrTreeSelNoFocusBack=15790320
If these values can get auto converted to hex color values in a future XY update, then it can allow us to make large color changes much easier. Since we can then easily identify the hex color values in the XYplorer.ini, and use our text editor's find/replace function to update our hex color values in bulk.
clrTreeSelNoFocusBack=15790320
If these values can get auto converted to hex color values in a future XY update, then it can allow us to make large color changes much easier. Since we can then easily identify the hex color values in the XYplorer.ini, and use our text editor's find/replace function to update our hex color values in bulk.
Re: Bulk color value changes via XYplorer.ini...
viewtopic.php?f=5&t=16998#p146024
So you take a RGB hex color, flip it to BGR, then convert this to decimal, and store in the ini. And vice versa.
For example, my focused row color is FFB56A, stored in the ini as:6993407 in hex is 6AB5FF. But this is stored as BGR, where B:6A, G:B5, R:FF. So the actual RGB hex color is FFB56A.
There's an intermediate step: the RGB elements are inverted in the decimal value as BGR.admin wrote:[...] It takes 24-bit color values. E.g. to set it to white you do this (16777215 = 0xFFFFFF):The value 0 is taken to be the default color. [...]Code: Select all
clrPreviewPane=16777215
So you take a RGB hex color, flip it to BGR, then convert this to decimal, and store in the ini. And vice versa.
For example, my focused row color is FFB56A, stored in the ini as:
Code: Select all
ClrFocRow=6993407
Code: Select all
INCLUDE "_inc\dectohex.xyi";
echo dectohex('6993407'); //6AB5FF
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
thanks for the info. but it is a pain in the butt to work with. so my original request still stands.
also, i noticed in the XYplorer.ini that a lot of other color values are already using hex. so if XY can switch to hex for all the interface color values too, that would be great.
also, i noticed in the XYplorer.ini that a lot of other color values are already using hex. so if XY can switch to hex for all the interface color values too, that would be great.
Re: Bulk color value changes via XYplorer.ini...
Yeah, I agree. The infodump is intended as help to cope in the current situation.ghost zero wrote:thanks for the info. but it is a pain in the butt to work with. so my original request still stands.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
can we get an official word on whether this can be improved in near the future?
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
It's done as it is for increasing loadup speed.
I think a little script (a Long/0xRRGGBB converter) could help you with your task.
I think a little script (a Long/0xRRGGBB converter) could help you with your task.
FAQ | XY News RSS | XY Twitter
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
please at least give us an option to convert XY's interface color values to hex color values in the XYplorer.ini. it can allow us to make large color changes much easier by letting us use our text editor's find/replace function to update our hex color values in bulk.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
When I add the Dark Theme, I will also add the option to save, load, and share any number of user-defined themes.
FAQ | XY News RSS | XY Twitter
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
when will the dark theme be released?
and along with it, can you finally upgrade the XYplorer.ini to switch over to using RGB hex color values so we can use a text editor to automate making bulk color changes to our themes? example, in my scenario, i'm wishing to tweak my dark theme by shifting my various dark gray values in bulk. without being able to do this in bulk with a text editor, it would be a pain in the butt to find and tweak each value one by one.
and along with it, can you finally upgrade the XYplorer.ini to switch over to using RGB hex color values so we can use a text editor to automate making bulk color changes to our themes? example, in my scenario, i'm wishing to tweak my dark theme by shifting my various dark gray values in bulk. without being able to do this in bulk with a text editor, it would be a pain in the butt to find and tweak each value one by one.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
I can't see what difference the number system makes. Base 10, base 16... same thing...
FAQ | XY News RSS | XY Twitter
Re: Bulk color value changes via XYplorer.ini...
Hm - I think with hex you simply can "see" the color in the digits, as ffffff is white.admin wrote:I can't see what difference the number system makes. Base 10, base 16... same thing...
With 16777215 this isn't really the case.
(It's as if decimal is "encrypted" )
Further: at least for me it's more difficult to remember (for copy etc) such a decimal string - for the hex string it's much better.
So: for the user there are differences.
Win11 Pro 223H2 Gerrman
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
Yes, but I would assume for a bulk color change it's more about knowing than seeing.
FAQ | XY News RSS | XY Twitter
Re: Bulk color value changes via XYplorer.ini...
It's log vs. linear
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
You couldn't resist...
FAQ | XY News RSS | XY Twitter
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
in the XYplorer configuration window, the colors are shown in RGB hex color values. but in the XYplorer.ini they are not shown in the same values, which makes it unnecessarily complicated to work with. besides, in the XYplorer.ini, there are already RGB hex color values used for some other things. it would be best if RGB hex color values can be used consistently for all things in the XYplorer.ini.