[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

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

(pas de description)

Poids: 247 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 5 fonctions

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

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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
Pas de description



Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics