blob: 21f8aa2ecd1428d15bb38dbdfb7b68b8d47a7bb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<?php
include_once dirname(__FILE__) . '/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;
}
}
|