FML Update 1.4

This commit is contained in:
Steffen Schröder
2014-08-11 23:15:53 +02:00
parent 44cc71c328
commit 300d817409
50 changed files with 123 additions and 112 deletions

View File

@ -28,7 +28,6 @@ class Gauge extends Control implements Styleable {
protected $ratio = 0.;
protected $grading = 1.;
protected $color = null;
protected $rotation = 0.;
protected $centered = null;
protected $clan = null;
protected $drawBg = 1;
@ -75,17 +74,6 @@ class Gauge extends Control implements Styleable {
return $this;
}
/**
* Set rotation
*
* @param float $rotation Gauge rotation
* @return static
*/
public function setRotation($rotation) {
$this->rotation = (float)$rotation;
return $this;
}
/**
* Set centered
*
@ -152,9 +140,6 @@ class Gauge extends Control implements Styleable {
if ($this->color) {
$xmlElement->setAttribute('color', $this->color);
}
if ($this->rotation) {
$xmlElement->setAttribute('rotation', $this->rotation);
}
if ($this->centered) {
$xmlElement->setAttribute('centered', $this->centered);
}