mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-08 11:34:04 -04:00
Initial commit of release 1.0.
~ Tom git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@5 c3eb156b-1dc0-44e1-88ae-e38439141b53
This commit is contained in:
1 parent
cee6fce532
commit
b089d5b73f
220 files changed
+19029
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
include_once 'ofc_bar_base.php';
|
||||
|
||||
class bar_filled_value extends bar_value
|
||||
{
|
||||
function bar_filled_value( $top, $bottom=null )
|
||||
{
|
||||
parent::bar_value( $top, $bottom );
|
||||
}
|
||||
|
||||
function set_outline_colour( $outline_colour )
|
||||
{
|
||||
$tmp = 'outline-colour';
|
||||
$this->$tmp = $outline_colour;
|
||||
}
|
||||
}
|
||||
|
||||
class bar_filled extends bar_base
|
||||
{
|
||||
function bar_filled( $colour=null, $outline_colour=null )
|
||||
{
|
||||
$this->type = "bar_filled";
|
||||
parent::bar_base();
|
||||
|
||||
if( isset( $colour ) )
|
||||
$this->set_colour( $colour );
|
||||
|
||||
if( isset( $outline_colour ) )
|
||||
$this->set_outline_colour( $outline_colour );
|
||||
}
|
||||
|
||||
function set_outline_colour( $outline_colour )
|
||||
{
|
||||
$tmp = 'outline-colour';
|
||||
$this->$tmp = $outline_colour;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user