mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
51
pages/php-ofc-library/ofc_tooltip.php
Normal file
51
pages/php-ofc-library/ofc_tooltip.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
include_once 'ofc_bar_base.php';
|
||||
|
||||
class tooltip
|
||||
{
|
||||
function tooltip(){}
|
||||
|
||||
function set_shadow( $shadow )
|
||||
{
|
||||
$this->shadow = $shadow;
|
||||
}
|
||||
|
||||
// stroke in pixels (e.g. 5 )
|
||||
function set_stroke( $stroke )
|
||||
{
|
||||
$this->stroke = $stroke;
|
||||
}
|
||||
|
||||
function set_colour( $colour )
|
||||
{
|
||||
$this->colour = $colour;
|
||||
}
|
||||
|
||||
function set_background_colour( $bg )
|
||||
{
|
||||
$this->background = $bg;
|
||||
}
|
||||
|
||||
// a css style
|
||||
function set_title_style( $style )
|
||||
{
|
||||
$this->title = $style;
|
||||
}
|
||||
|
||||
function set_body_style( $style )
|
||||
{
|
||||
$this->body = $style;
|
||||
}
|
||||
|
||||
function set_proximity()
|
||||
{
|
||||
$this->mouse = 1;
|
||||
}
|
||||
|
||||
function set_hover()
|
||||
{
|
||||
$this->mouse = 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user