2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Controls\Quads;
|
|
|
|
|
|
|
|
use FML\Controls\Quad;
|
|
|
|
|
|
|
|
/**
|
2014-06-21 03:18:21 +02:00
|
|
|
* Quad class for 'EnergyBar' styles
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-06-21 03:18:21 +02:00
|
|
|
* @author steeffeen
|
2014-04-13 18:21:40 +02:00
|
|
|
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
2014-06-21 03:18:21 +02:00
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
class Quad_EnergyBar extends Quad {
|
2014-01-21 20:30:40 +01:00
|
|
|
/*
|
2013-11-25 00:02:07 +01:00
|
|
|
* Constants
|
|
|
|
*/
|
2014-06-21 03:18:21 +02:00
|
|
|
const STYLE = 'EnergyBar';
|
|
|
|
const SUBSTYLE_BgText = 'BgText';
|
|
|
|
const SUBSTYLE_EnergyBar = 'EnergyBar';
|
|
|
|
const SUBSTYLE_EnergyBar_0_25 = 'EnergyBar_0.25';
|
|
|
|
const SUBSTYLE_EnergyBar_Thin = 'EnergyBar_Thin';
|
|
|
|
const SUBSTYLE_HeaderGaugeLeft = 'HeaderGaugeLeft';
|
2013-11-28 04:48:04 +01:00
|
|
|
const SUBSTYLE_HeaderGaugeRight = 'HeaderGaugeRight';
|
2013-11-25 00:02:07 +01:00
|
|
|
|
2014-06-21 03:18:21 +02:00
|
|
|
/*
|
|
|
|
* Protected properties
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
2014-06-21 03:18:21 +02:00
|
|
|
protected $style = self::STYLE;
|
2013-11-25 00:02:07 +01:00
|
|
|
}
|