Files
iTop/pages/php-ofc-library/ofc_tooltip.php
Denis Flaven fd8b3c835e - Upgraded to the latest version of Open Flash Charts (Version 2 Lug Wyrm Charmer)
- Localization of the menus 90% done.
- Removed the old types of Flash charts, (no longer used anyway, now we rely on open-flash-charts)

SVN:trunk[441]
2010-06-08 13:12:17 +00:00

68 lines
1.0 KiB
PHP

<?php
include_once 'ofc_bar_base.php';
class tooltip
{
function tooltip(){}
/**
* @param $shadow as boolean. Enable drop shadow.
*/
function set_shadow( $shadow )
{
$this->shadow = $shadow;
}
/**
* @param $stroke as integer, border width in pixels (e.g. 5 )
*/
function set_stroke( $stroke )
{
$this->stroke = $stroke;
}
/**
* @param $colour as string, HEX colour e.g. '#0000ff'
*/
function set_colour( $colour )
{
$this->colour = $colour;
}
/**
* @param $bg as string, HEX colour e.g. '#0000ff'
*/
function set_background_colour( $bg )
{
$this->background = $bg;
}
/**
* @param $style as string. A css style.
*/
function set_title_style( $style )
{
$this->title = $style;
}
/**
* @param $style as string. A css style.
*/
function set_body_style( $style )
{
$this->body = $style;
}
function set_proximity()
{
$this->mouse = 1;
}
function set_hover()
{
$this->mouse = 2;
}
}