TrackManiaControl/application/core/Libs/FML/Controls/Quads/Quad_UIConstruction_Buttons2.php

53 lines
1.5 KiB
PHP
Raw Normal View History

2014-04-13 18:21:40 +02:00
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad Class for 'UIConstruction_Buttons2' Style
*
2014-05-20 15:44:45 +02:00
* @author steeffeen <mail@steeffeen.com>
2014-04-13 18:21:40 +02:00
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
2014-05-18 19:45:50 +02:00
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
2014-04-13 18:21:40 +02:00
*/
class Quad_UIConstruction_Buttons2 extends Quad {
/*
* Constants
*/
2014-05-18 19:45:50 +02:00
const STYLE = 'UIConstruction_Buttons2';
const SUBSTYLE_AirMapping = 'AirMapping';
2014-04-13 18:21:40 +02:00
const SUBSTYLE_BlockEditor = 'BlockEditor';
2014-05-18 19:45:50 +02:00
const SUBSTYLE_Copy = 'Copy';
const SUBSTYLE_Cut = 'Cut';
2014-04-13 18:21:40 +02:00
const SUBSTYLE_GhostBlocks = 'GhostBlocks';
2014-05-18 19:45:50 +02:00
const SUBSTYLE_KeysAdd = 'KeysAdd';
const SUBSTYLE_KeysCopy = 'KeysCopy';
const SUBSTYLE_KeysDelete = 'KeysDelete';
const SUBSTYLE_KeysPaste = 'KeysPaste';
const SUBSTYLE_New = 'New';
const SUBSTYLE_Open = 'Open';
const SUBSTYLE_Symmetry = 'Symmetry';
2014-04-13 18:21:40 +02:00
/**
* Create a new Quad_UIConstruction_Buttons2 Control
*
* @param string $id (optional) Control Id
* @return \FML\Controls\Quads\Quad_UIConstruction_Buttons2
*/
public static function create($id = null) {
$quadUIConstructionButtons2 = new Quad_UIConstruction_Buttons2($id);
return $quadUIConstructionButtons2;
}
/**
* Construct a new Quad_UIConstruction_Buttons2 Control
*
* @param string $id (optional) Control Id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->setStyle(self::STYLE);
}
}