mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
23
pages/php-ofc-library/ofc_bar_sketch.php
Normal file
23
pages/php-ofc-library/ofc_bar_sketch.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
include_once 'ofc_bar_base.php';
|
||||
|
||||
class bar_sketch extends bar_base
|
||||
{
|
||||
function bar_sketch( $colour, $outline_colour, $fun_factor )
|
||||
{
|
||||
$this->type = "bar_sketch";
|
||||
parent::bar_base();
|
||||
|
||||
$this->set_colour( $colour );
|
||||
$this->set_outline_colour( $outline_colour );
|
||||
$this->offset = $fun_factor;
|
||||
}
|
||||
|
||||
function set_outline_colour( $outline_colour )
|
||||
{
|
||||
$tmp = 'outline-colour';
|
||||
$this->$tmp = $outline_colour;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user