Documentation TYPO3 par Ameos |
Public Member Functions | |
| init () | |
| main () | |
| printContent () | |
| frameSet () | |
| colorMatrix () | |
| colorList () | |
| colorImage () | |
| getIndex ($im, $x, $y) | |
Public Attributes | |
| $P | |
| $colorValue | |
| $fieldChangeFunc | |
| $fieldName | |
| $formName | |
| $md5ID | |
| $showPicker | |
| $HTMLcolorList = "aqua,black,blue,fuchsia,gray,green,lime,maroon,navy,olive,purple,red,silver,teal,yellow,white" | |
| $pickerImage = '' | |
| $imageError = '' | |
| $doc | |
| $content | |
Definition at line 75 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::init | ( | ) |
Initialises the Class
Definition at line 103 of file wizard_colorpicker.php.
References t3lib_div::_GP(), t3lib_div::getFileAbsFileName(), and t3lib_div::makeInstance().
| SC_wizard_colorpicker::main | ( | ) |
Main Method, rendering either colorpicker or frameset depending on ->showPicker
Definition at line 182 of file wizard_colorpicker.php.
References t3lib_div::_GP().
| SC_wizard_colorpicker::printContent | ( | ) |
Returnes the sourcecode to the browser
Definition at line 233 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::frameSet | ( | ) |
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...
Definition at line 246 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::colorMatrix | ( | ) |
| SC_wizard_colorpicker::colorList | ( | ) |
Creates a selector box with all HTML color names.
Definition at line 354 of file wizard_colorpicker.php.
| SC_wizard_colorpicker::colorImage | ( | ) |
Creates a color image selector
Definition at line 384 of file wizard_colorpicker.php.
References t3lib_div::_POST().
| SC_wizard_colorpicker::getIndex | ( | $ | im, | |
| $ | x, | |||
| $ | y | |||
| ) |
Gets the HTML (Hex) Color Code for the selected pixel of an image This method handles the correct imageResource no matter what format
| pointer | Valid ImageResource returned by t3lib_stdgraphic::imageCreateFromFile | |
| integer | X-Coordinate of the pixel that should be checked | |
| integer | Y-Coordinate of the pixel that should be checked |
Definition at line 417 of file wizard_colorpicker.php.
1.4.6