FML Update

This commit is contained in:
Steffen Schröder 2014-04-13 18:21:40 +02:00
parent 8ee564d4b7
commit 5ad45d3b6f
80 changed files with 341 additions and 11 deletions

View File

@ -10,6 +10,8 @@ use FML\Types\Scriptable;
* (CMlMediaPlayer) * (CMlMediaPlayer)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Audio extends Control implements Playable, Scriptable { class Audio extends Control implements Playable, Scriptable {
/* /*

View File

@ -9,6 +9,8 @@ use FML\Types\Renderable;
* (CMlControl) * (CMlControl)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
abstract class Control implements Renderable { abstract class Control implements Renderable {
/* /*
@ -21,6 +23,11 @@ abstract class Control implements Renderable {
const BOTTOM = 'bottom'; const BOTTOM = 'bottom';
const LEFT = 'left'; const LEFT = 'left';
/*
* Static Properties
*/
protected static $currentIndex = 0;
/* /*
* Protected Properties * Protected Properties
*/ */
@ -69,13 +76,14 @@ abstract class Control implements Renderable {
} }
/** /**
* Check Id for dangerous Characters and assign an unique Id if necessary * Check Id for dangerous Characters and assign a unique Id if necessary
* *
* @return \FML\Controls\Control * @return \FML\Controls\Control
*/ */
public function checkId() { public function checkId() {
if (!$this->getId()) { if (!$this->getId()) {
$this->setId(uniqid()); $this->setId('FML_ID_' . self::$currentIndex);
self::$currentIndex++;
return $this; return $this;
} }
$dangerousCharacters = array(' ', ' ', '.', '|', '-', PHP_EOL); $dangerousCharacters = array(' ', ' ', '.', '|', '-', PHP_EOL);

View File

@ -12,6 +12,8 @@ use FML\Types\TextFormatable;
* (CMlEntry) * (CMlEntry)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Entry extends Control implements NewLineable, Scriptable, Styleable, TextFormatable { class Entry extends Control implements NewLineable, Scriptable, Styleable, TextFormatable {
/* /*

View File

@ -7,6 +7,8 @@ namespace FML\Controls;
* (CMlFileEntry) * (CMlFileEntry)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class FileEntry extends Entry { class FileEntry extends Entry {
/* /*

View File

@ -12,6 +12,8 @@ use FML\Elements\FrameModel;
* (CMlFrame) * (CMlFrame)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Frame extends Control implements Container { class Frame extends Control implements Container {
/* /*
@ -79,7 +81,7 @@ class Frame extends Control implements Container {
*/ */
public function getFormat($createIfEmpty = true) { public function getFormat($createIfEmpty = true) {
if (!$this->format && $createIfEmpty) { if (!$this->format && $createIfEmpty) {
$this->format = new Format(); $this->setFormat(new Format());
} }
return $this->format; return $this->format;
} }

View File

@ -10,6 +10,8 @@ use FML\Stylesheet\Style3d;
* (CMlFrame) * (CMlFrame)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Frame3d extends Frame implements Scriptable { class Frame3d extends Frame implements Scriptable {
/* /*

View File

@ -10,6 +10,8 @@ use FML\Types\Renderable;
* (CMlFrame) * (CMlFrame)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class FrameInstance extends Control { class FrameInstance extends Control {
/* /*

View File

@ -9,6 +9,8 @@ use FML\Types\Styleable;
* (CMlGauge) * (CMlGauge)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Gauge extends Control implements Styleable { class Gauge extends Control implements Styleable {
/* /*

View File

@ -14,6 +14,8 @@ use FML\Types\TextFormatable;
* (CMlLabel) * (CMlLabel)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Label extends Control implements Actionable, Linkable, NewLineable, Scriptable, Styleable, TextFormatable { class Label extends Control implements Actionable, Linkable, NewLineable, Scriptable, Styleable, TextFormatable {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Label;
* Label Class for Button Styles * Label Class for Button Styles
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Label_Button extends Label { class Label_Button extends Label {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Label;
* Label Class for Text Styles * Label Class for Text Styles
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Label_Text extends Label { class Label_Text extends Label {
/* /*
@ -35,6 +37,7 @@ class Label_Text extends Label {
const STYLE_TextCardInfoSmall = 'TextCardInfoSmall'; const STYLE_TextCardInfoSmall = 'TextCardInfoSmall';
const STYLE_TextCardInfoVerySmall = 'TextCardInfoVerySmall'; const STYLE_TextCardInfoVerySmall = 'TextCardInfoVerySmall';
const STYLE_TextCardMedium = 'TextCardMedium'; const STYLE_TextCardMedium = 'TextCardMedium';
const STYLE_TextCardMediumWhite = 'TextCardMediumWhite';
const STYLE_TextCardRaceRank = 'TextCardRaceRank'; const STYLE_TextCardRaceRank = 'TextCardRaceRank';
const STYLE_TextCardScores2 = 'TextCardScores2'; const STYLE_TextCardScores2 = 'TextCardScores2';
const STYLE_TextCardSmall = 'TextCardSmall'; const STYLE_TextCardSmall = 'TextCardSmall';
@ -77,8 +80,11 @@ class Label_Text extends Label {
const STYLE_TextTitle3 = 'TextTitle3'; const STYLE_TextTitle3 = 'TextTitle3';
const STYLE_TextTitle3Header = 'TextTitle3Header'; const STYLE_TextTitle3Header = 'TextTitle3Header';
const STYLE_TextTitleError = 'TextTitleError'; const STYLE_TextTitleError = 'TextTitleError';
const STYLE_TextToolTipAM = 'TextToolTipAM';
const STYLE_TextToolTipAMBig = 'TextToolTipAMBig';
const STYLE_TextValueBig = 'TextValueBig'; const STYLE_TextValueBig = 'TextValueBig';
const STYLE_TextValueMedium = 'TextValueMedium'; const STYLE_TextValueMedium = 'TextValueMedium';
const STYLE_TextValueMediumSm = 'TextValueMediumSm';
const STYLE_TextValueSmall = 'TextValueSmall'; const STYLE_TextValueSmall = 'TextValueSmall';
const STYLE_TextValueSmallSm = 'TextValueSmallSm'; const STYLE_TextValueSmallSm = 'TextValueSmallSm';
const STYLE_TrackerText = 'TrackerText'; const STYLE_TrackerText = 'TrackerText';

View File

@ -14,6 +14,8 @@ use FML\Types\SubStyleable;
* (CMlQuad) * (CMlQuad)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad extends Control implements Actionable, BgColorable, Linkable, Scriptable, Styleable, SubStyleable { class Quad extends Control implements Actionable, BgColorable, Linkable, Scriptable, Styleable, SubStyleable {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for '321Go' Style * Quad Class for '321Go' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_321Go extends Quad { class Quad_321Go extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'BgRaceScore2' Style * Quad Class for 'BgRaceScore2' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_BgRaceScore2 extends Quad { class Quad_BgRaceScore2 extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Bgs1' Style * Quad Class for 'Bgs1' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Bgs1 extends Quad { class Quad_Bgs1 extends Quad {
/* /*
@ -36,6 +38,7 @@ class Quad_Bgs1 extends Quad {
const SUBSTYLE_BgCardList = 'BgCardList'; const SUBSTYLE_BgCardList = 'BgCardList';
const SUBSTYLE_BgCardOnline = 'BgCardOnline'; const SUBSTYLE_BgCardOnline = 'BgCardOnline';
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer'; const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
const SUBSTYLE_BgCardProperty = 'BgCardProperty';
const SUBSTYLE_BgCardSystem = 'BgCardSystem'; const SUBSTYLE_BgCardSystem = 'BgCardSystem';
const SUBSTYLE_BgCardZone = 'BgCardZone'; const SUBSTYLE_BgCardZone = 'BgCardZone';
const SUBSTYLE_BgColorContour = 'BgColorContour'; const SUBSTYLE_BgColorContour = 'BgColorContour';
@ -68,6 +71,7 @@ class Quad_Bgs1 extends Quad {
const SUBSTYLE_BgWindow1 = 'BgWindow1'; const SUBSTYLE_BgWindow1 = 'BgWindow1';
const SUBSTYLE_BgWindow2 = 'BgWindow2'; const SUBSTYLE_BgWindow2 = 'BgWindow2';
const SUBSTYLE_BgWindow3 = 'BgWindow3'; const SUBSTYLE_BgWindow3 = 'BgWindow3';
const SUBSTYLE_BgWindow4 = 'BgWindow4';
const SUBSTYLE_EnergyBar = 'EnergyBar'; const SUBSTYLE_EnergyBar = 'EnergyBar';
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2'; const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
const SUBSTYLE_Glow = 'Glow'; const SUBSTYLE_Glow = 'Glow';

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Bgs1InRace' Style * Quad Class for 'Bgs1InRace' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Bgs1InRace extends Quad { class Quad_Bgs1InRace extends Quad {
/* /*
@ -36,6 +38,7 @@ class Quad_Bgs1InRace extends Quad {
const SUBSTYLE_BgCardList = 'BgCardList'; const SUBSTYLE_BgCardList = 'BgCardList';
const SUBSTYLE_BgCardOnline = 'BgCardOnline'; const SUBSTYLE_BgCardOnline = 'BgCardOnline';
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer'; const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
const SUBSTYLE_BgCardProperty = 'BgCardProperty';
const SUBSTYLE_BgCardSystem = 'BgCardSystem'; const SUBSTYLE_BgCardSystem = 'BgCardSystem';
const SUBSTYLE_BgCardZone = 'BgCardZone'; const SUBSTYLE_BgCardZone = 'BgCardZone';
const SUBSTYLE_BgColorContour = 'BgColorContour'; const SUBSTYLE_BgColorContour = 'BgColorContour';
@ -68,6 +71,7 @@ class Quad_Bgs1InRace extends Quad {
const SUBSTYLE_BgWindow1 = 'BgWindow1'; const SUBSTYLE_BgWindow1 = 'BgWindow1';
const SUBSTYLE_BgWindow2 = 'BgWindow2'; const SUBSTYLE_BgWindow2 = 'BgWindow2';
const SUBSTYLE_BgWindow3 = 'BgWindow3'; const SUBSTYLE_BgWindow3 = 'BgWindow3';
const SUBSTYLE_BgWindow4 = 'BgWindow4';
const SUBSTYLE_EnergyBar = 'EnergyBar'; const SUBSTYLE_EnergyBar = 'EnergyBar';
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2'; const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
const SUBSTYLE_Glow = 'Glow'; const SUBSTYLE_Glow = 'Glow';

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'BgsChallengeMedals' Style * Quad Class for 'BgsChallengeMedals' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_BgsChallengeMedals extends Quad { class Quad_BgsChallengeMedals extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'BgsPlayerCard' Style * Quad Class for 'BgsPlayerCard' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_BgsPlayerCard extends Quad { class Quad_BgsPlayerCard extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Copilot' Style * Quad Class for 'Copilot' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Copilot extends Quad { class Quad_Copilot extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Emblems' Style * Quad Class for 'Emblems' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Emblems extends Quad { class Quad_Emblems extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'EnergyBar' Style * Quad Class for 'EnergyBar' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_EnergyBar extends Quad { class Quad_EnergyBar extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Hud3dEchelons' Style * Quad Class for 'Hud3dEchelons' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Hud3dEchelons extends Quad { class Quad_Hud3dEchelons extends Quad {
/* /*

View File

@ -0,0 +1,48 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad Class for 'Hud3dIcons' Style
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Quad_Hud3dIcons extends Quad {
/*
* Constants
*/
const STYLE = 'Hud3dIcons';
const SUBSTYLE_Cross = 'Cross';
const SUBSTYLE_CrossTargeted = 'CrossTargeted';
const SUBSTYLE_Player1 = 'Player1';
const SUBSTYLE_Player2 = 'Player2';
const SUBSTYLE_Player3 = 'Player3';
const SUBSTYLE_PointA = 'PointA';
const SUBSTYLE_PointB = 'PointB';
const SUBSTYLE_PointC = 'PointC';
/**
* Create a new Quad_Hud3dIcons Control
*
* @param string $id (optional) Control Id
* @return \FML\Controls\Quads\Quad_Hud3dIcons
*/
public static function create($id = null) {
$quadHud3dIcons = new Quad_Hud3dIcons($id);
return $quadHud3dIcons;
}
/**
* Construct a new Quad_Hud3dIcons Control
*
* @param string $id (optional) Control Id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->setStyle(self::STYLE);
}
}

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Icons128x128_1' Style * Quad Class for 'Icons128x128_1' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Icons128x128_1 extends Quad { class Quad_Icons128x128_1 extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Icons128x128_Blink' Style * Quad Class for 'Icons128x128_Blink' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Icons128x128_Blink extends Quad { class Quad_Icons128x128_Blink extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Icons128x32_1' Style * Quad Class for 'Icons128x32_1' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Icons128x32_1 extends Quad { class Quad_Icons128x32_1 extends Quad {
/* /*
@ -18,6 +20,7 @@ class Quad_Icons128x32_1 extends Quad {
const SUBSTYLE_ManiaLinkHome = 'ManiaLinkHome'; const SUBSTYLE_ManiaLinkHome = 'ManiaLinkHome';
const SUBSTYLE_ManiaLinkSwitch = 'ManiaLinkSwitch'; const SUBSTYLE_ManiaLinkSwitch = 'ManiaLinkSwitch';
const SUBSTYLE_ManiaPlanet = 'ManiaPlanet'; const SUBSTYLE_ManiaPlanet = 'ManiaPlanet';
const SUBSTYLE_Minimize = 'Minimize';
const SUBSTYLE_Music = 'Music'; const SUBSTYLE_Music = 'Music';
const SUBSTYLE_PainterBrush = 'PainterBrush'; const SUBSTYLE_PainterBrush = 'PainterBrush';
const SUBSTYLE_PainterFill = 'PainterFill'; const SUBSTYLE_PainterFill = 'PainterFill';

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Icons64x64_1' Style * Quad Class for 'Icons64x64_1' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Icons64x64_1 extends Quad { class Quad_Icons64x64_1 extends Quad {
/* /*
@ -79,6 +81,7 @@ class Quad_Icons64x64_1 extends Quad {
const SUBSTYLE_ShowRight2 = 'ShowRight2'; const SUBSTYLE_ShowRight2 = 'ShowRight2';
const SUBSTYLE_ShowUp = 'ShowUp'; const SUBSTYLE_ShowUp = 'ShowUp';
const SUBSTYLE_ShowUp2 = 'ShowUp2'; const SUBSTYLE_ShowUp2 = 'ShowUp2';
const SUBSTYLE_ShowUpChanging = 'ShowUpChanging';
const SUBSTYLE_SliderCursor = 'SliderCursor'; const SUBSTYLE_SliderCursor = 'SliderCursor';
const SUBSTYLE_SliderCursor2 = 'SliderCursor2'; const SUBSTYLE_SliderCursor2 = 'SliderCursor2';
const SUBSTYLE_StateFavourite = 'StateFavourite'; const SUBSTYLE_StateFavourite = 'StateFavourite';

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'Icons64x64_2' Style * Quad Class for 'Icons64x64_2' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_Icons64x64_2 extends Quad { class Quad_Icons64x64_2 extends Quad {
/* /*
@ -25,6 +27,7 @@ class Quad_Icons64x64_2 extends Quad {
const SUBSTYLE_RocketElimination = 'RocketElimination'; const SUBSTYLE_RocketElimination = 'RocketElimination';
const SUBSTYLE_RocketHit = 'RocketHit'; const SUBSTYLE_RocketHit = 'RocketHit';
const SUBSTYLE_ServerNotice = 'ServerNotice'; const SUBSTYLE_ServerNotice = 'ServerNotice';
const SUBSTYLE_SortBy = 'SortBy';
const SUBSTYLE_UnknownElimination = 'UnknownElimination'; const SUBSTYLE_UnknownElimination = 'UnknownElimination';
const SUBSTYLE_UnknownHit = 'UnknownHit'; const SUBSTYLE_UnknownHit = 'UnknownHit';

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'ManiaPlanetLogos' Style * Quad Class for 'ManiaPlanetLogos' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_ManiaPlanetLogos extends Quad { class Quad_ManiaPlanetLogos extends Quad {
/* /*

View File

@ -0,0 +1,51 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad Class for 'ManiaPlanetMainMenu' Style
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Quad_ManiaPlanetMainMenu extends Quad {
/*
* Constants
*/
const STYLE = 'ManiaPlanetMainMenu';
const SUBSTYLE_BottomBar = 'BottomBar';
const SUBSTYLE_Highlight = 'Highlight';
const SUBSTYLE_IconAdd = 'IconAdd';
const SUBSTYLE_IconHome = 'IconHome';
const SUBSTYLE_IconPlay = 'IconPlay';
const SUBSTYLE_IconQuit = 'IconQuit';
const SUBSTYLE_IconSettings = 'IconSettings';
const SUBSTYLE_IconStore = 'IconStore';
const SUBSTYLE_MainBg = 'MainBg';
const SUBSTYLE_TitleBg = 'TitleBg';
const SUBSTYLE_TopBar = 'TopBar';
/**
* Create a new Quad_ManiaPlanetMainMenu Control
*
* @param string $id (optional) Control Id
* @return \FML\Controls\Quads\Quad_ManiaPlanetMainMenu
*/
public static function create($id = null) {
$quadManiaPlanetMainMenu = new Quad_ManiaPlanetMainMenu($id);
return $quadManiaPlanetMainMenu;
}
/**
* Construct a new Quad_ManiaPlanetMainMenu Control
*
* @param string $id (optional) Control Id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->setStyle(self::STYLE);
}
}

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'ManiaplanetSystem' Style * Quad Class for 'ManiaplanetSystem' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_ManiaplanetSystem extends Quad { class Quad_ManiaplanetSystem extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'MedalsBig' Style * Quad Class for 'MedalsBig' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_MedalsBig extends Quad { class Quad_MedalsBig extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'TitleLogos' Style * Quad Class for 'TitleLogos' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_TitleLogos extends Quad { class Quad_TitleLogos extends Quad {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'UIConstruction_Buttons' Style * Quad Class for 'UIConstruction_Buttons' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_UIConstruction_Buttons extends Quad { class Quad_UIConstruction_Buttons extends Quad {
/* /*
@ -16,6 +18,7 @@ class Quad_UIConstruction_Buttons extends Quad {
const STYLE = 'UIConstruction_Buttons'; const STYLE = 'UIConstruction_Buttons';
const SUBSTYLE_ActionMaker = 'ActionMaker'; const SUBSTYLE_ActionMaker = 'ActionMaker';
const SUBSTYLE_Add = 'Add'; const SUBSTYLE_Add = 'Add';
const SUBSTYLE_AirMapping = 'AirMapping';
const SUBSTYLE_Author = 'Author'; const SUBSTYLE_Author = 'Author';
const SUBSTYLE_AuthorTime = 'AuthorTime'; const SUBSTYLE_AuthorTime = 'AuthorTime';
const SUBSTYLE_BgEditors = 'BgEditors'; const SUBSTYLE_BgEditors = 'BgEditors';
@ -32,6 +35,7 @@ class Quad_UIConstruction_Buttons extends Quad {
const SUBSTYLE_Down = 'Down'; const SUBSTYLE_Down = 'Down';
const SUBSTYLE_Drive = 'Drive'; const SUBSTYLE_Drive = 'Drive';
const SUBSTYLE_Erase = 'Erase'; const SUBSTYLE_Erase = 'Erase';
const SUBSTYLE_GhostBlocks = 'GhostBlocks';
const SUBSTYLE_Help = 'Help'; const SUBSTYLE_Help = 'Help';
const SUBSTYLE_Item = 'Item'; const SUBSTYLE_Item = 'Item';
const SUBSTYLE_Left = 'Left'; const SUBSTYLE_Left = 'Left';

View File

@ -0,0 +1,52 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad Class for 'UIConstruction_Buttons2' Style
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Quad_UIConstruction_Buttons2 extends Quad {
/*
* Constants
*/
const STYLE = 'UIConstruction_Buttons2';
const SUBSTYLE_AirMapping = 'AirMapping';
const SUBSTYLE_BlockEditor = 'BlockEditor';
const SUBSTYLE_Copy = 'Copy';
const SUBSTYLE_Cut = 'Cut';
const SUBSTYLE_GhostBlocks = 'GhostBlocks';
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';
/**
* 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);
}
}

View File

@ -8,6 +8,8 @@ use FML\Controls\Quad;
* Quad Class for 'UiSMSpectatorScoreBig' Style * Quad Class for 'UiSMSpectatorScoreBig' Style
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Quad_UiSMSpectatorScoreBig extends Quad { class Quad_UiSMSpectatorScoreBig extends Quad {
/* /*

View File

@ -10,6 +10,8 @@ use FML\Types\Scriptable;
* (CMlMediaPlayer) * (CMlMediaPlayer)
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Video extends Control implements Playable, Scriptable { class Video extends Control implements Playable, Scriptable {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML;
* Class representing a Custom_UI * Class representing a Custom_UI
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class CustomUI { class CustomUI {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\Elements;
* Dictionary Element * Dictionary Element
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Dico { class Dico {
/** /**

View File

@ -11,6 +11,8 @@ use FML\Types\TextFormatable;
* Format Element * Format Element
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Format implements BgColorable, Renderable, Styleable, TextFormatable { class Format implements BgColorable, Renderable, Styleable, TextFormatable {
/* /*

View File

@ -10,6 +10,8 @@ use FML\Types\Renderable;
* Class representing a Frame Model * Class representing a Frame Model
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class FrameModel implements Container, Renderable { class FrameModel implements Container, Renderable {
/* /*
@ -90,7 +92,7 @@ class FrameModel implements Container, Renderable {
*/ */
public function getFormat($createIfEmpty = true) { public function getFormat($createIfEmpty = true) {
if (!$this->format && $createIfEmpty) { if (!$this->format && $createIfEmpty) {
$this->format = new Format(); $this->setFormat(new Format());
} }
return $this->format; return $this->format;
} }

View File

@ -8,6 +8,8 @@ use FML\Types\Renderable;
* Include Element * Include Element
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Including implements Renderable { class Including implements Renderable {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Types\Renderable;
* Music Element * Music Element
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Music implements Renderable { class Music implements Renderable {
/* /*

View File

@ -8,6 +8,8 @@ use FML\Types\Renderable;
* Class representing a ManiaLink Script Tag with a simple Script Text * Class representing a ManiaLink Script Tag with a simple Script Text
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class SimpleScript implements Renderable { class SimpleScript implements Renderable {
/* /*

View File

@ -23,6 +23,8 @@ use FML\ManiaCode\ViewReplay;
* Class representing a ManiaCode * Class representing a ManiaCode
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class ManiaCode { class ManiaCode {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element adding a Buddy * ManiaCode Element adding a Buddy
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class AddBuddy implements Element { class AddBuddy implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element adding a Server as Favorite * ManiaCode Element adding a Server as Favorite
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class AddFavorite implements Element { class AddFavorite implements Element {
/* /*

View File

@ -2,6 +2,13 @@
namespace FML\ManiaCode; namespace FML\ManiaCode;
/**
* Base ManiaCode Element
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
interface Element { interface Element {
/** /**

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element downloading a Skin * ManiaCode Element downloading a Skin
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class GetSkin implements Element { class GetSkin implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element going to a Link * ManiaCode Element going to a Link
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Go_To implements Element { class Go_To implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element installing a Map * ManiaCode Element installing a Map
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class InstallMap implements Element { class InstallMap implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element installing a Title Pack * ManiaCode Element installing a Title Pack
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class InstallPack implements Element { class InstallPack implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element installing a Replay * ManiaCode Element installing a Replay
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class InstallReplay implements Element { class InstallReplay implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element installing a Script * ManiaCode Element installing a Script
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class InstallScript implements Element { class InstallScript implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element installing a Skin * ManiaCode Element installing a Skin
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class InstallSkin implements Element { class InstallSkin implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element joining a Server * ManiaCode Element joining a Server
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class JoinServer implements Element { class JoinServer implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element playing a Map * ManiaCode Element playing a Map
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class PlayMap implements Element { class PlayMap implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element playing a Replay * ManiaCode Element playing a Replay
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class PlayReplay implements Element { class PlayReplay implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element showing a Message * ManiaCode Element showing a Message
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class ShowMessage implements Element { class ShowMessage implements Element {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\ManiaCode;
* ManiaCode Element viewing a Replay * ManiaCode Element viewing a Replay
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class ViewReplay implements Element { class ViewReplay implements Element {
/* /*

View File

@ -11,12 +11,15 @@ use FML\Types\Renderable;
* Class representing a ManiaLink * Class representing a ManiaLink
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class ManiaLink { class ManiaLink {
/* /*
* Constants * Constants
*/ */
const BACKGROUND_0 = '0'; const BACKGROUND_0 = '0';
const BACKGROUND_1 = '1';
const BACKGROUND_STARS = 'stars'; const BACKGROUND_STARS = 'stars';
const BACKGROUND_STATIONS = 'stations'; const BACKGROUND_STATIONS = 'stations';
const BACKGROUND_TITLE = 'title'; const BACKGROUND_TITLE = 'title';
@ -163,7 +166,7 @@ class ManiaLink {
*/ */
public function getDico($createIfEmpty = true) { public function getDico($createIfEmpty = true) {
if (!$this->dico && $createIfEmpty) { if (!$this->dico && $createIfEmpty) {
$this->dico = new Dico(); $this->setDico(new Dico());
} }
return $this->dico; return $this->dico;
} }
@ -187,7 +190,7 @@ class ManiaLink {
*/ */
public function getStylesheet($createIfEmpty = true) { public function getStylesheet($createIfEmpty = true) {
if (!$this->stylesheet && $createIfEmpty) { if (!$this->stylesheet && $createIfEmpty) {
$this->stylesheet = new Stylesheet(); $this->setStylesheet(new Stylesheet());
} }
return $this->stylesheet; return $this->stylesheet;
} }
@ -211,7 +214,7 @@ class ManiaLink {
*/ */
public function getScript($createIfEmpty = true) { public function getScript($createIfEmpty = true) {
if (!$this->script && $createIfEmpty) { if (!$this->script && $createIfEmpty) {
$this->script = new Script(); $this->setScript(new Script());
} }
return $this->script; return $this->script;
} }

View File

@ -6,6 +6,8 @@ namespace FML;
* Class holding several ManiaLinks at once * Class holding several ManiaLinks at once
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class ManiaLinks { class ManiaLinks {
/* /*
@ -85,7 +87,7 @@ class ManiaLinks {
*/ */
public function getCustomUI($createIfEmpty = true) { public function getCustomUI($createIfEmpty = true) {
if (!$this->customUI && $createIfEmpty) { if (!$this->customUI && $createIfEmpty) {
$this->customUI = new CustomUI(); $this->setCustomUI(new CustomUI());
} }
return $this->customUI; return $this->customUI;
} }

View File

@ -6,6 +6,8 @@ namespace FML\Script;
* Builder Class offering Methods to build ManiaScript * Builder Class offering Methods to build ManiaScript
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
abstract class Builder { abstract class Builder {
@ -29,8 +31,8 @@ abstract class Builder {
*/ */
public static function escapeText($text) { public static function escapeText($text) {
$escapedText = $text; $escapedText = $text;
$dangers = array('\\', '"'); $dangers = array('\\', '"', "\n");
$replacements = array('\\\\', '\\"'); $replacements = array('\\\\', '\\"', '\n');
$escapedText = str_ireplace($dangers, $replacements, $escapedText); $escapedText = str_ireplace($dangers, $replacements, $escapedText);
return $escapedText; return $escapedText;
} }

View File

@ -6,6 +6,8 @@ namespace FML\Script;
* Class for EUISound Variants * Class for EUISound Variants
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
abstract class EUISound { abstract class EUISound {
/* /*

View File

@ -11,6 +11,8 @@ use FML\Types\Actionable;
* Class representing the ManiaLink Script * Class representing the ManiaLink Script
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Script { class Script {
/* /*

View File

@ -9,6 +9,8 @@ namespace FML\Stylesheet;
* Class representing a Stylesheets Mood * Class representing a Stylesheets Mood
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Mood { class Mood {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\Stylesheet;
* Class representing a specific Style3d * Class representing a specific Style3d
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Style3d { class Style3d {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\Stylesheet;
* Class representing the ManiaLinks Stylesheet * Class representing the ManiaLinks Stylesheet
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
class Stylesheet { class Stylesheet {
/* /*
@ -73,7 +75,7 @@ class Stylesheet {
*/ */
public function getMood($createIfEmpty = true) { public function getMood($createIfEmpty = true) {
if (!$this->mood && $createIfEmpty) { if (!$this->mood && $createIfEmpty) {
$this->mood = new Mood(); $this->setMood(new Mood());
} }
return $this->mood; return $this->mood;
} }

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements that support the Action Attribute * Interface for Elements that support the Action Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Actionable { interface Actionable {
/* /*

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with Background Color Attribute * Interface for Elements with Background Color Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface BgColorable { interface BgColorable {

View File

@ -9,6 +9,8 @@ use FML\Elements\Format;
* Interface for Element being able to contain other Controls * Interface for Element being able to contain other Controls
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Container { interface Container {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with Url Attributes * Interface for Elements with Url Attributes
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Linkable { interface Linkable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with AutoNewLine Attribute * Interface for Elements with AutoNewLine Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface NewLineable { interface NewLineable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with Media Attributes * Interface for Elements with Media Attributes
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Playable { interface Playable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for renderable Elements * Interface for renderable Elements
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Renderable { interface Renderable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with ScriptEvents Attribute * Interface for Elements with ScriptEvents Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Scriptable { interface Scriptable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with Style Attribute * Interface for Elements with Style Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface Styleable { interface Styleable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with SubStyle Attribute * Interface for Elements with SubStyle Attribute
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface SubStyleable { interface SubStyleable {

View File

@ -6,6 +6,8 @@ namespace FML\Types;
* Interface for Elements with Formatable Text * Interface for Elements with Formatable Text
* *
* @author steeffeen * @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
interface TextFormatable { interface TextFormatable {

View File

@ -5,6 +5,8 @@
* *
* @author steeffeen * @author steeffeen
* @version 1.0 * @version 1.0
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/ */
if (!defined('FML_PATH')) { if (!defined('FML_PATH')) {
define('FML_PATH', __DIR__ . '/../'); define('FML_PATH', __DIR__ . '/../');