[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/color/ -> color.js (summary)

(no description)

File Size: 251 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  preview()
  shift_color()
  callback()
  resetScheme()
  focus()

Functions
Functions that are not part of a class:

preview()   X-Ref
Render the preview.


shift_color(given, ref1, ref2)   X-Ref
Shift a given color, using a reference pair (ref in HSL).

This algorithm ensures relative ordering on the saturation and luminance
axes is preserved, and performs a simple hue shift.

It is also symmetrical. If: shift_color(c, a, b) == d,
then shift_color(d, b, a) == c.

callback(input, color, propagate, colorscheme)   X-Ref
Callback for Farbtastic when a new color is chosen.


resetScheme()   X-Ref
Reset the color scheme selector.


focus()   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7