[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/typo3/ -> wizard_colorpicker.php (sommaire)

Colorpicker wizard $Id $ Revised for TYPO3 3.7 May/2004 by Kasper Skaarhoj

Author: Mathias Schreiber <schreiber@wmdb.de>
Author: Peter Kühn <peter@kuehn.com>
Author: Kasper Skaarhoj <typo3@typo3.com>
Poids: 456 lignes (14 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 typo3/init.php
 typo3/template.php

Définit 1 class

SC_wizard_colorpicker:: (12 méthodes):
  init()
  checkReference()
  changeBGcolor()
  setValue()
  getValue()
  main()
  printContent()
  frameSet()
  colorMatrix()
  colorList()
  colorImage()
  getIndex()


Classe: SC_wizard_colorpicker  - X-Ref

Script Class for colorpicker wizard

init()   X-Ref
Initialises the Class

return: void

checkReference()   X-Ref
Pas de description

changeBGcolor(color)   X-Ref
Pas de description

setValue(input)   X-Ref
Pas de description

getValue()   X-Ref
Pas de description

main()   X-Ref
Main Method, rendering either colorpicker or frameset depending on ->showPicker

return: void

printContent()   X-Ref
Returnes the sourcecode to the browser

return: void

frameSet()   X-Ref
Returnes a frameset so our JavaScript Reference isn't lost
Took some brains to figure this one out ;-)
If Peter wouldn't have been I would've gone insane...

return: void

colorMatrix()   X-Ref
Creates a color matrix table

return: void

colorList()   X-Ref
Creates a selector box with all HTML color names.

return: void

colorImage()   X-Ref
Creates a color image selector

return: void

getIndex($im,$x,$y)   X-Ref
Gets the HTML (Hex) Color Code for the selected pixel of an image
This method handles the correct imageResource no matter what format

param: pointer        Valid ImageResource returned by t3lib_stdgraphic::imageCreateFromFile
param: integer        X-Coordinate of the pixel that should be checked
param: integer        Y-Coordinate of the pixel that should be checked
return: string        HEX RGB value for color



Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics