User defined folder colors

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

User defined folder colors

Post by JohnFredC »

Currently XnView displays folder thumbs with a yellowish ramp. Would it be possible for a user to declare two alternative colors for the ramp?

I have finally settled on an XnView color scheme I think I'll stick with for a while that uses shades of gray. A gray ramp in the folder thumbnails would look better than the garish yellow/orange/whatever colors that are the current XnView default for them.

Thanks for listening!
John
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Any hope for this request being implemented? Please?
John
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

JohnFredC wrote:Any hope for this request being implemented? Please?
Ok, i'll try to add specific entries in .ini
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

That's great! Thanks!
John
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Hi Pierre...

Thank you so much for implementing this feature!

Just a tip to everyone. You must "Rebuild Thumbs" to see the new folder colors!

The components are:

FolderColor1: Color for top of ramp/fountain
FolderColor2: Color for bottom of ramp/fountain
FolderColor3: Outline
FolderColor4: Folder "tab" fill
Last edited by JohnFredC on Tue Jul 31, 2007 6:08 pm, edited 1 time in total.
John
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

2Pierre

There is a small display bug with the folder colors: the lines on the sides of the folder do not get the new color (FolderColor3).

Image
John
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

JohnFredC wrote:2Pierre

There is a small display bug with the folder colors: the lines on the sides of the folder do not get the new color (FolderColor3).
Right, i'll add FolderColor5 for this border!
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Hi Pierre...

Another color probably isn't necessary... can't you just map it to FolderColor3?
John
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

JohnFredC wrote: Another color probably isn't necessary... can't you just map it to FolderColor3?
Original picture use another color for this border
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Strange colours…

Post by Clo »

—> JohnFredC

:) Hello John !

• In order to update the Manual, I just made a test with these new entries, and I confess that it's not quite clear for me.
- Actually, I don't get the colours I stated which are :
FolderColor1=220 249 63
FolderColor2=220 225 56
FolderColor3=0 0 160
FolderColor4=0 200 0
…And are shown on the (quick-made) pic below as the backgrounds of the corresponding digits…

   Image

- None is there on the 4-in-1 thumbnail… :|

- Does it need another writing style ? One more time, I would like that the inverted hexa code be supported
whether one must write the values of the colours as “complements”… Like in TC : $BBGGRR

:?:

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Hi Clo...

(I don't understand your posting.)

I entered a different representation for the colors:

FolderColor1=16777172
FolderColor2=14935011
FolderColor3=14935011
FolderColor4=16777172

...for which I used this tool to generate.
John
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Syntax = incoherence

Post by Clo »

:) Hello John !

• But still it's pretty simple :

- While, on one hand, we can use the colour-code as direct decimal as shown above for all colours to set¦change in the INI,
like the colours per file-type and their backgrounds, on the other hand that's not supported for these ones !
- That's incoherent !

- The code made by the tool you link (thank you) is the damn “complements” sytem used in Win,
and that can be replaced easily with the inverted hexadecimal code $BBGGRR which doesn't need a tool to be written.

• However, I think that Pierre might change that in order to use the simple decimal code RRR GGG BBB everywhere,
currently this is totally confusing ! At the very outside, set the support for the inverted hexa code, like TC does…
That's all ! :P

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Boring calculation…

Post by Clo »

—> ghost zero et alter

:) Hello !

• Out the forum, Pierre told me that he has to standardize the colour-codes used in the INI, to avoid a hitch like above…

- So, I hope it'll be fixed up in the 1.91.3 soon…

- Currently, for the entries we are talking of, one must use the method :

Code: Select all

RGB:   RED+256*GREEN+65536*BLUE
Good luck ! Image

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

No !

The standard color code is the hexa (even for html) with few digits, it is better than the decimal code RRR GGG BBB ( RR GG BB in hexa code).
For me it's better to standardize all colors code in the ini file in hexa (maybe automatically with a batch, in a futur xnview version to keep users settings).

see here for exemple:
http://www.docmemo.com/internetwebmaste ... uleurs.php
XnViewMP Linux X64 - Debian - X64
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

oops66 wrote: The standard color code is the hexa (even for html) with few digits, it is better than the decimal code RRR GGG BBB ( RR GG BB in hexa code).
Standard for who? Decimal code has the advantage of requiring no expertise since it can be copied & pasted from existing color dialogs. No need to consult a webmasters' colour chart/calculator.
Post Reply