commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / packages / OpenFlashChart / php-ofc-library / ofc_tooltip.php
1 <?php
2
3 include_once 'ofc_bar_base.php';
4
5 class tooltip
6 {
7 function tooltip(){}
8
9 /**
10 * @param $shadow as boolean. Enable drop shadow.
11 */
12 function set_shadow( $shadow )
13 {
14 $this->shadow = $shadow;
15 }
16
17 /**
18 * @param $stroke as integer, border width in pixels (e.g. 5 )
19 */
20 function set_stroke( $stroke )
21 {
22 $this->stroke = $stroke;
23 }
24
25 /**
26 * @param $clash as bolean
27 */
28 function set_clash( $clash )
29 {
30 $this->clash = $clash;
31 }
32
33 /**
34 * @param $colour as string, HEX colour e.g. '#0000ff'
35 */
36 function set_colour( $colour )
37 {
38 $this->colour = $colour;
39 }
40
41 /**
42 * @param $bg as string, HEX colour e.g. '#0000ff'
43 */
44 function set_background_colour( $bg )
45 {
46 $this->background = $bg;
47 }
48
49 /**
50 * @param $style as string. A css style.
51 */
52 function set_title_style( $style )
53 {
54 $this->title = $style;
55 }
56
57 /**
58 * @param $style as string. A css style.
59 */
60 function set_body_style( $style )
61 {
62 $this->body = $style;
63 }
64
65 function set_proximity()
66 {
67 $this->mouse = 1;
68 }
69
70 function set_hover()
71 {
72 $this->mouse = 2;
73 }
74 }
75