POV-Ray : Newsgroups : povray.binaries.utilities : New version of Farger.inc : Re: New version of Farger.inc Server Time
2 May 2024 11:59:04 EDT (-0400)
  Re: New version of Farger.inc  
From: Melody
Date: 24 Jan 2020 11:25:00
Message: <web.5e2b19bdf66b17949da690110@news.povray.org>
got goofy to take a hike, description for hacking jscolor:

pickeropen = 1;pickeropen = 0;MYColor = '#'+value;
hidePicker() know the state
showPicker() know the state and halt lower layer functions.
fromHSV() only set on new color selection, not on close.
drawPicker() get color on open.
if (valueElement.value) MYColor = '#'+valueElement.value;

script sends new color to text input - update = newpicker();

this way u dont have to know which picker you're using,
when showing results.


Post a reply to this message


Attachments:
Download 'povcolorselect9.zip' (88 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.