You are here

function imagecache_brightness_form in ImageCache Actions 5.2

Same name and namespace in other branches
  1. 5.3 imagecache_coloractions.module \imagecache_brightness_form()
  2. 6.2 coloractions/imagecache_coloractions.module \imagecache_brightness_form()
  3. 6 imagecache_coloractions.module \imagecache_brightness_form()

Implementation of imagecache_hook_form()

Settings for colorshift actions.

Parameters

$action array of settings for this action:

Return value

a form definition

File

./imagecache_coloractions.module, line 106

Code

function imagecache_brightness_form($action) {
  $form = array();
  $form['filter_arg1'] = array(
    '#type' => 'textfield',
    '#title' => t('Brightness'),
    '#description' => t('-255 - +255'),
    '#default_value' => $action['filter_arg1'],
    '#size' => 3,
  );
  return $form;
}