FLTK logo

Re: [fltk.general] Feature request: plastic scheme with faithful colors

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Feature request: plastic scheme with faithful colors Albrecht Schlosser Sep 23, 2021  
 
On 9/23/21 4:06 PM rs wrote:
Your proposed solution is indeed far better than mine ...

>Please report if this is what you're looking for. Does it work? Which factor do you prefer?

I would say, absolutely that is what I'm looking for.

Great!

I'm going to hold off changing the FLTK code for my implementation as I'm distributing source code and don't want to mess with users' versions of FLTK if they want to compile themselves. However, I would have thought this would be a good solution to include in future versions.

Yes, of course, the patch was only intended as a proof of concept.

But in terms of what I prefer, I view that the less averaging  the better - i.e. 0.0f, as then I can specify the whole color gamut and do it precisely (unless I misunderstood what you were asking).

That was indeed what I was asking. I was asking specifically because I found that setting the factor very small (e.g. 0.0f) made the boxes look like normal flat boxes (at least that was my impression). The "border effect" at the top and bottom borders vanished completely. That's why I made the screenshot with 40% average.

Just for my curiosity: Did you test your app with factor 0.0f and see how it looked or do you only assume that 0.0 would be your best choice?

I also didn't test what happens when you use a dark mode with inverted brightness of background and foreground colors. There may be significant differences...

But this is probably not suitable as some default value (perhaps). I very much see the best solution as setting that averaging value manually by the user, as you propose, when they want to get into precise color design (which is what led me to this issue in the first place).

I agree that a variable factor is likely the best. My first idea was to switch averaging on and off (1 or 0) but then I found that some other average values might look better. It's definitely a matter of taste. Hence my proposal to use a user settable factor.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/0046f51d-c66b-9216-2ba0-0d641736d323%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.