FML Update

This commit is contained in:
Steffen Schröder 2013-12-09 13:05:05 +01:00
parent 690ef2b0bb
commit 666785de90
61 changed files with 408 additions and 200 deletions

View File

@ -28,5 +28,3 @@ class Audio extends Control implements Playable, Scriptable {
return $xml; return $xml;
} }
} }
?>

View File

@ -190,11 +190,11 @@ abstract class Control implements Renderable {
/** /**
* Set horizontal and vertical alignment * Set horizontal and vertical alignment
* *
* @param string $halign * @param string $hAlign
* @param string $vAlign * @param string $vAlign
* @return \FML\Controls\Control * @return \FML\Controls\Control
*/ */
public function setAlign($halign, $vAlign) { public function setAlign($hAlign, $vAlign) {
$this->setHAlign($hAlign); $this->setHAlign($hAlign);
$this->setVAlign($vAlign); $this->setVAlign($vAlign);
return $this; return $this;
@ -272,5 +272,3 @@ abstract class Control implements Renderable {
return $xml; return $xml;
} }
} }
?>

View File

@ -114,7 +114,7 @@ class Entry extends Control implements NewLineable, Scriptable, Styleable, TextF
* @return \FML\Controls\Entry * @return \FML\Controls\Entry
*/ */
public function setAreaColor($areaColor) { public function setAreaColor($areaColor) {
$this->areaColor = $areaFocusColor; $this->areaColor = $areaColor;
return $this; return $this;
} }
@ -164,5 +164,3 @@ class Entry extends Control implements NewLineable, Scriptable, Styleable, TextF
return $xml; return $xml;
} }
} }
?>

View File

@ -14,7 +14,7 @@ class FileEntry extends Entry {
protected $folder = ''; protected $folder = '';
/** /**
* Construct a new fileentry control * Construct a new FileEntry control
* *
* @param string $id * @param string $id
*/ */
@ -44,5 +44,3 @@ class FileEntry extends Entry {
return $xml; return $xml;
} }
} }
?>

View File

@ -68,5 +68,3 @@ class Frame extends Control implements Container {
return __CLASS__; return __CLASS__;
} }
} }
?>

View File

@ -62,5 +62,3 @@ class Frame3d extends Frame implements Scriptable {
return $xml; return $xml;
} }
} }
?>

View File

@ -158,5 +158,3 @@ class Gauge extends Control implements Styleable {
return $xml; return $xml;
} }
} }
?>

View File

@ -254,5 +254,3 @@ class Label extends Control implements Actionable, Linkable, NewLineable, Script
return $xml; return $xml;
} }
} }
?>

View File

@ -32,5 +32,3 @@ class Label_Button extends Label {
const STYLE_CardMain_Quit = 'CardMain_Quit'; const STYLE_CardMain_Quit = 'CardMain_Quit';
const STYLE_CardMain_Tool = 'CardMain_Tool'; const STYLE_CardMain_Tool = 'CardMain_Tool';
} }
?>

View File

@ -89,5 +89,3 @@ class Label_Text extends Label {
const STYLE_UiDriving_BgCard = 'UiDriving_BgCard'; const STYLE_UiDriving_BgCard = 'UiDriving_BgCard';
const STYLE_UiDriving_BgCenter = 'UiDriving_BgCenter'; const STYLE_UiDriving_BgCenter = 'UiDriving_BgCenter';
} }
?>

View File

@ -208,5 +208,3 @@ class Quad extends Control implements Actionable, BgColorable, Linkable, Scripta
return $xml; return $xml;
} }
} }
?>

View File

@ -27,5 +27,3 @@ class Quad_321Go extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -50,5 +50,3 @@ class Quad_BgRaceScore2 extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -14,6 +14,70 @@ class Quad_Bgs1 extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Bgs1'; const STYLE = 'Bgs1';
const SUBSTYLE_ArrowDown = 'ArrowDown';
const SUBSTYLE_ArrowLeft = 'ArrowLeft';
const SUBSTYLE_ArrowRight = 'ArrowRight';
const SUBSTYLE_ArrowUp = 'ArrowUp';
const SUBSTYLE_BgButton = 'BgButton';
const SUBSTYLE_BgButtonBig = 'BgButtonBig';
const SUBSTYLE_BgButtonGlow = 'BgButtonGlow';
const SUBSTYLE_BgButtonGrayed = 'BgButtonGrayed';
const SUBSTYLE_BgButtonOff = 'BgButtonOff';
const SUBSTYLE_BgButtonShadow = 'BgButtonShadow';
const SUBSTYLE_BgButtonSmall = 'BgButtonSmall';
const SUBSTYLE_BgCard = 'BgCard';
const SUBSTYLE_BgCard1 = 'BgCard1';
const SUBSTYLE_BgCard2 = 'BgCard2';
const SUBSTYLE_BgCard3 = 'BgCard3';
const SUBSTYLE_BgCardBuddy = 'BgCardBuddy';
const SUBSTYLE_BgCardChallenge = 'BgCardChallenge';
const SUBSTYLE_BgCardFolder = 'BgCardFolder';
const SUBSTYLE_BgCardInventoryItem = 'BgCardInventoryItem';
const SUBSTYLE_BgCardList = 'BgCardList';
const SUBSTYLE_BgCardOnline = 'BgCardOnline';
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
const SUBSTYLE_BgCardZone = 'BgCardZone';
const SUBSTYLE_BgColorContour = 'BgColorContour';
const SUBSTYLE_BgDialogBlur = 'BgDialogBlur';
const SUBSTYLE_BgEmpty = 'BgEmpty';
const SUBSTYLE_BgGradBottom = 'BgGradBottom';
const SUBSTYLE_BgGradLeft = 'BgGradLeft';
const SUBSTYLE_BgGradRight = 'BgGradRight';
const SUBSTYLE_BgGradTop = 'BgGradTop';
const SUBSTYLE_BgGradV = 'BgGradV';
const SUBSTYLE_BgHealthBar = 'BgHealthBar';
const SUBSTYLE_BgIconBorder = 'BgIconBorder';
const SUBSTYLE_BgList = 'BgList';
const SUBSTYLE_BgListLine = 'BgListLine';
const SUBSTYLE_BgPager = 'BgPager';
const SUBSTYLE_BgProgressBar = 'BgProgressBar';
const SUBSTYLE_BgShadow = 'BgShadow';
const SUBSTYLE_BgSlider = 'BgSlider';
const SUBSTYLE_BgSystemBar = 'BgSystemBar';
const SUBSTYLE_BgTitle2 = 'BgTitle2';
const SUBSTYLE_BgTitle3 = 'BgTitle3';
const SUBSTYLE_BgTitle3_1 = 'BgTitle3_1';
const SUBSTYLE_BgTitle3_2 = 'BgTitle3_2';
const SUBSTYLE_BgTitle3_3 = 'BgTitle3_3';
const SUBSTYLE_BgTitle3_4 = 'BgTitle3_4';
const SUBSTYLE_BgTitle3_5 = 'BgTitle3_5';
const SUBSTYLE_BgTitleGlow = 'BgTitleGlow';
const SUBSTYLE_BgTitlePage = 'BgTitlePage';
const SUBSTYLE_BgTitleShadow = 'BgTitleShadow';
const SUBSTYLE_BgWindow1 = 'BgWindow1';
const SUBSTYLE_BgWindow2 = 'BgWindow2';
const SUBSTYLE_BgWindow3 = 'BgWindow3';
const SUBSTYLE_EnergyBar = 'EnergyBar';
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
const SUBSTYLE_Glow = 'Glow';
const SUBSTYLE_HealthBar = 'HealthBar';
const SUBSTYLE_NavButton = 'NavButton';
const SUBSTYLE_NavButtonBlink = 'NavButtonBlink';
const SUBSTYLE_NavButtonQuit = 'NavButtonQuit';
const SUBSTYLE_ProgressBar = 'ProgressBar';
const SUBSTYLE_ProgressBarSmall = 'ProgressBarSmall';
const SUBSTYLE_Shadow = 'Shadow';
/** /**
* Construct Bgs1 quad * Construct Bgs1 quad
@ -21,15 +85,5 @@ class Quad_Bgs1 extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "BgButton", "BgButtonBig", "BgButtonGlow", "BgButtonGrayed",
"BgButtonOff", "BgButtonShadow", "BgButtonSmall", "BgCard", "BgCard1", "BgCard2", "BgCard3", "BgCardBuddy",
"BgCardChallenge", "BgCardFolder", "BgCardInventoryItem", "BgCardList", "BgCardOnline", "BgCardPlayer", "BgCardSystem",
"BgCardZone", "BgColorContour", "BgDialogBlur", "BgEmpty", "BgGradBottom", "BgGradLeft", "BgGradRight", "BgGradTop",
"BgGradV", "BgHealthBar", "BgIconBorder", "BgList", "BgListLine", "BgPager", "BgProgressBar", "BgShadow", "BgSlider",
"BgSystemBar", "BgTitle2", "BgTitle3", "BgTitle3_1", "BgTitle3_2", "BgTitle3_3", "BgTitle3_4", "BgTitle3_5", "BgTitleGlow",
"BgTitlePage", "BgTitleShadow", "BgWindow1", "BgWindow2", "BgWindow3", "EnergyBar", "EnergyTeam2", "Glow", "HealthBar",
"NavButton", "NavButtonBlink", "NavButtonQuit", "ProgressBar", "ProgressBarSmall", "Shadow");
} }
} }
?>

View File

@ -14,6 +14,70 @@ class Quad_Bgs1InRace extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Bgs1InRace'; const STYLE = 'Bgs1InRace';
const SUBSTYLE_ArrowDown = 'ArrowDown';
const SUBSTYLE_ArrowLeft = 'ArrowLeft';
const SUBSTYLE_ArrowRight = 'ArrowRight';
const SUBSTYLE_ArrowUp = 'ArrowUp';
const SUBSTYLE_BgButton = 'BgButton';
const SUBSTYLE_BgButtonBig = 'BgButtonBig';
const SUBSTYLE_BgButtonGlow = 'BgButtonGlow';
const SUBSTYLE_BgButtonGrayed = 'BgButtonGrayed';
const SUBSTYLE_BgButtonOff = 'BgButtonOff';
const SUBSTYLE_BgButtonShadow = 'BgButtonShadow';
const SUBSTYLE_BgButtonSmall = 'BgButtonSmall';
const SUBSTYLE_BgCard = 'BgCard';
const SUBSTYLE_BgCard1 = 'BgCard1';
const SUBSTYLE_BgCard2 = 'BgCard2';
const SUBSTYLE_BgCard3 = 'BgCard3';
const SUBSTYLE_BgCardBuddy = 'BgCardBuddy';
const SUBSTYLE_BgCardChallenge = 'BgCardChallenge';
const SUBSTYLE_BgCardFolder = 'BgCardFolder';
const SUBSTYLE_BgCardInventoryItem = 'BgCardInventoryItem';
const SUBSTYLE_BgCardList = 'BgCardList';
const SUBSTYLE_BgCardOnline = 'BgCardOnline';
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
const SUBSTYLE_BgCardZone = 'BgCardZone';
const SUBSTYLE_BgColorContour = 'BgColorContour';
const SUBSTYLE_BgDialogBlur = 'BgDialogBlur';
const SUBSTYLE_BgEmpty = 'BgEmpty';
const SUBSTYLE_BgGradBottom = 'BgGradBottom';
const SUBSTYLE_BgGradLeft = 'BgGradLeft';
const SUBSTYLE_BgGradRight = 'BgGradRight';
const SUBSTYLE_BgGradTop = 'BgGradTop';
const SUBSTYLE_BgGradV = 'BgGradV';
const SUBSTYLE_BgHealthBar = 'BgHealthBar';
const SUBSTYLE_BgIconBorder = 'BgIconBorder';
const SUBSTYLE_BgList = 'BgList';
const SUBSTYLE_BgListLine = 'BgListLine';
const SUBSTYLE_BgPager = 'BgPager';
const SUBSTYLE_BgProgressBar = 'BgProgressBar';
const SUBSTYLE_BgShadow = 'BgShadow';
const SUBSTYLE_BgSlider = 'BgSlider';
const SUBSTYLE_BgSystemBar = 'BgSystemBar';
const SUBSTYLE_BgTitle2 = 'BgTitle2';
const SUBSTYLE_BgTitle3 = 'BgTitle3';
const SUBSTYLE_BgTitle3_1 = 'BgTitle3_1';
const SUBSTYLE_BgTitle3_2 = 'BgTitle3_2';
const SUBSTYLE_BgTitle3_3 = 'BgTitle3_3';
const SUBSTYLE_BgTitle3_4 = 'BgTitle3_4';
const SUBSTYLE_BgTitle3_5 = 'BgTitle3_5';
const SUBSTYLE_BgTitleGlow = 'BgTitleGlow';
const SUBSTYLE_BgTitlePage = 'BgTitlePage';
const SUBSTYLE_BgTitleShadow = 'BgTitleShadow';
const SUBSTYLE_BgWindow1 = 'BgWindow1';
const SUBSTYLE_BgWindow2 = 'BgWindow2';
const SUBSTYLE_BgWindow3 = 'BgWindow3';
const SUBSTYLE_EnergyBar = 'EnergyBar';
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
const SUBSTYLE_Glow = 'Glow';
const SUBSTYLE_HealthBar = 'HealthBar';
const SUBSTYLE_NavButton = 'NavButton';
const SUBSTYLE_NavButtonBlink = 'NavButtonBlink';
const SUBSTYLE_NavButtonQuit = 'NavButtonQuit';
const SUBSTYLE_ProgressBar = 'ProgressBar';
const SUBSTYLE_ProgressBarSmall = 'ProgressBarSmall';
const SUBSTYLE_Shadow = 'Shadow';
/** /**
* Construct Bgs1InRace quad * Construct Bgs1InRace quad
@ -21,15 +85,5 @@ class Quad_Bgs1InRace extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "BgButton", "BgButtonBig", "BgButtonGlow", "BgButtonGrayed",
"BgButtonOff", "BgButtonShadow", "BgButtonSmall", "BgCard", "BgCard1", "BgCard2", "BgCard3", "BgCardBuddy",
"BgCardChallenge", "BgCardFolder", "BgCardInventoryItem", "BgCardList", "BgCardOnline", "BgCardPlayer", "BgCardSystem",
"BgCardZone", "BgColorContour", "BgDialogBlur", "BgEmpty", "BgGradBottom", "BgGradLeft", "BgGradRight", "BgGradTop",
"BgGradV", "BgHealthBar", "BgIconBorder", "BgList", "BgListLine", "BgPager", "BgProgressBar", "BgShadow", "BgSlider",
"BgSystemBar", "BgTitle2", "BgTitle3", "BgTitle3_1", "BgTitle3_2", "BgTitle3_3", "BgTitle3_4", "BgTitle3_5", "BgTitleGlow",
"BgTitlePage", "BgTitleShadow", "BgWindow1", "BgWindow2", "BgWindow3", "EnergyBar", "EnergyTeam2", "Glow", "HealthBar",
"NavButton", "NavButtonBlink", "NavButtonQuit", "ProgressBar", "ProgressBarSmall", "Shadow");
} }
} }
?>

View File

@ -14,6 +14,12 @@ class Quad_BgsChallengeMedals extends Quad {
* Constants * Constants
*/ */
const STYLE = 'BgsChallengeMedals'; const STYLE = 'BgsChallengeMedals';
const SUBSTYLE_BgBronze = 'BgBronze';
const SUBSTYLE_BgGold = 'BgGold';
const SUBSTYLE_BgNadeo = 'BgNadeo';
const SUBSTYLE_BgNotPlayed = 'BgNotPlayed';
const SUBSTYLE_BgPlayed = 'BgPlayed';
const SUBSTYLE_BgSilver = 'BgSilver';
/** /**
* Construct BgsChallengeMedals quad * Construct BgsChallengeMedals quad
@ -21,8 +27,5 @@ class Quad_BgsChallengeMedals extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("BgBronze", "BgGold", "BgNadeo", "BgNotPlayed", "BgPlayed", "BgSilver");
} }
} }
?>

View File

@ -37,5 +37,3 @@ class Quad_BgsPlayerCard extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -14,6 +14,18 @@ class Quad_Copilot extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Copilot'; const STYLE = 'Copilot';
const SUBSTYLE_Down = 'Down';
const SUBSTYLE_DownGood = 'DownGood';
const SUBSTYLE_DownWrong = 'DownWrong';
const SUBSTYLE_Left = 'Left';
const SUBSTYLE_LeftGood = 'LeftGood';
const SUBSTYLE_LeftWrong = 'LeftWrong';
const SUBSTYLE_Right = 'Right';
const SUBSTYLE_RightGood = 'RightGood';
const SUBSTYLE_RightWrong = 'RightWrong';
const SUBSTYLE_Up = 'Up';
const SUBSTYLE_UpGood = 'UpGood';
const SUBSTYLE_UpWrong = 'UpWrong';
/** /**
* Construct Copilot quad * Construct Copilot quad
@ -21,9 +33,5 @@ class Quad_Copilot extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("Down", "DownGood", "DownWrong", "Left", "LeftGood", "LeftWrong", "Right", "RightGood", "RightWrong", "Up", "UpGood",
"UpWrong");
} }
} }
?>

View File

@ -26,5 +26,3 @@ class Quad_Emblems extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -29,5 +29,3 @@ class Quad_EnergyBar extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -14,6 +14,15 @@ class Quad_Hud3dEchelons extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Hud3dEchelons'; const STYLE = 'Hud3dEchelons';
const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';
const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';
const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';
const SUBSTYLE_EchelonGold1 = 'EchelonGold1';
const SUBSTYLE_EchelonGold2 = 'EchelonGold2';
const SUBSTYLE_EchelonGold3 = 'EchelonGold3';
const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';
const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';
const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';
/** /**
* Construct Hud3dEchelons quad * Construct Hud3dEchelons quad
@ -21,9 +30,5 @@ class Quad_Hud3dEchelons extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("EchelonBronze1", "EchelonBronze2", "EchelonBronze3", "EchelonGold1", "EchelonGold2", "EchelonGold3", "EchelonSilver1",
"EchelonSilver2", "EchelonSilver3");
} }
} }
?>

View File

@ -14,6 +14,70 @@ class Quad_Icons128x128_1 extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Icons128x128_1'; const STYLE = 'Icons128x128_1';
const SUBSTYLE_Advanced = 'Advanced';
const SUBSTYLE_Back = 'Back';
const SUBSTYLE_BackFocusable = 'BackFocusable';
const SUBSTYLE_Beginner = 'Beginner';
const SUBSTYLE_Browse = 'Browse';
const SUBSTYLE_Buddies = 'Buddies';
const SUBSTYLE_Challenge = 'Challenge';
const SUBSTYLE_ChallengeAuthor = 'ChallengeAuthor';
const SUBSTYLE_Coppers = 'Coppers';
const SUBSTYLE_Create = 'Create';
const SUBSTYLE_Credits = 'Credits';
const SUBSTYLE_Custom = 'Custom';
const SUBSTYLE_CustomStars = 'CustomStars';
const SUBSTYLE_Default = 'Default';
const SUBSTYLE_Download = 'Download';
const SUBSTYLE_Easy = 'Easy';
const SUBSTYLE_Editor = 'Editor';
const SUBSTYLE_Event = 'Event';
const SUBSTYLE_Extreme = 'Extreme';
const SUBSTYLE_Forever = 'Forever';
const SUBSTYLE_GhostEditor = 'GhostEditor';
const SUBSTYLE_Hard = 'Hard';
const SUBSTYLE_Hotseat = 'Hotseat';
const SUBSTYLE_Inputs = 'Inputs';
const SUBSTYLE_Invite = 'Invite';
const SUBSTYLE_LadderPoints = 'LadderPoints';
const SUBSTYLE_Lan = 'Lan';
const SUBSTYLE_Launch = 'Launch';
const SUBSTYLE_Load = 'Load';
const SUBSTYLE_LoadTrack = 'LoadTrack';
const SUBSTYLE_Manialink = 'Manialink';
const SUBSTYLE_ManiaZones = 'ManiaZones';
const SUBSTYLE_MedalCount = 'MedalCount';
const SUBSTYLE_MediaTracker = 'MediaTracker';
const SUBSTYLE_Medium = 'Medium';
const SUBSTYLE_Multiplayer = 'Multiplayer';
const SUBSTYLE_Nations = 'Nations';
const SUBSTYLE_NewTrack = 'NewTrack';
const SUBSTYLE_Options = 'Options';
const SUBSTYLE_Padlock = 'Padlock';
const SUBSTYLE_Paint = 'Paint';
const SUBSTYLE_Platform = 'Platform';
const SUBSTYLE_PlayerPage = 'PlayerPage';
const SUBSTYLE_Profile = 'Profile';
const SUBSTYLE_ProfileAdvanced = 'ProfileAdvanced';
const SUBSTYLE_ProfileVehicle = 'ProfileVehicle';
const SUBSTYLE_Puzzle = 'Puzzle';
const SUBSTYLE_Quit = 'Quit';
const SUBSTYLE_Race = 'Race';
const SUBSTYLE_Rankings = 'Rankings';
const SUBSTYLE_Replay = 'Replay';
const SUBSTYLE_Save = 'Save';
const SUBSTYLE_ServersAll = 'ServersAll';
const SUBSTYLE_ServersFavorites = 'ServersFavorites';
const SUBSTYLE_ServersSuggested = 'ServersSuggested';
const SUBSTYLE_Share = 'Share';
const SUBSTYLE_ShareBlink = 'ShareBlink';
const SUBSTYLE_SkillPoints = 'SkillPoints';
const SUBSTYLE_Solo = 'Solo';
const SUBSTYLE_Statistics = 'Statistics';
const SUBSTYLE_Stunts = 'Stunts';
const SUBSTYLE_United = 'United';
const SUBSTYLE_Upload = 'Upload';
const SUBSTYLE_Vehicles = 'Vehicles';
/** /**
* Construct Icons128x128_1 quad * Construct Icons128x128_1 quad
@ -21,14 +85,5 @@ class Quad_Icons128x128_1 extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("Advanced", "Back", "BackFocusable", "Beginner", "Browse", "Buddies", "Challenge", "ChallengeAuthor", "Coppers",
"Create", "Credits", "Custom", "CustomStars", "Default", "Download", "Easy", "Editor", "Event", "Extreme", "Forever",
"GhostEditor", "Hard", "Hotseat", "Inputs", "Invite", "LadderPoints", "Lan", "Launch", "Load", "LoadTrack", "Manialink",
"ManiaZones", "MedalCount", "MediaTracker", "Medium", "Multiplayer", "Nations", "NewTrack", "Options", "Padlock", "Paint",
"Platform", "PlayerPage", "Profile", "ProfileAdvanced", "ProfileVehicle", "Puzzle", "Quit", "Race", "Rankings", "Replay",
"Save", "ServersAll", "ServersFavorites", "ServersSuggested", "Share", "ShareBlink", "SkillPoints", "Solo", "Statistics",
"Stunts", "United", "Upload", "Vehicles");
} }
} }
?>

View File

@ -14,6 +14,70 @@ class Quad_Icons128x128_Blink extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Icons128x128_Blink'; const STYLE = 'Icons128x128_Blink';
const SUBSTYLE_Advanced = 'Advanced';
const SUBSTYLE_Back = 'Back';
const SUBSTYLE_BackFocusable = 'BackFocusable';
const SUBSTYLE_Beginner = 'Beginner';
const SUBSTYLE_Browse = 'Browse';
const SUBSTYLE_Buddies = 'Buddies';
const SUBSTYLE_Challenge = 'Challenge';
const SUBSTYLE_ChallengeAuthor = 'ChallengeAuthor';
const SUBSTYLE_Coppers = 'Coppers';
const SUBSTYLE_Create = 'Create';
const SUBSTYLE_Credits = 'Credits';
const SUBSTYLE_Custom = 'Custom';
const SUBSTYLE_CustomStars = 'CustomStars';
const SUBSTYLE_Default = 'Default';
const SUBSTYLE_Download = 'Download';
const SUBSTYLE_Easy = 'Easy';
const SUBSTYLE_Editor = 'Editor';
const SUBSTYLE_Event = 'Event';
const SUBSTYLE_Extreme = 'Extreme';
const SUBSTYLE_Forever = 'Forever';
const SUBSTYLE_GhostEditor = 'GhostEditor';
const SUBSTYLE_Hard = 'Hard';
const SUBSTYLE_Hotseat = 'Hotseat';
const SUBSTYLE_Inputs = 'Inputs';
const SUBSTYLE_Invite = 'Invite';
const SUBSTYLE_LadderPoints = 'LadderPoints';
const SUBSTYLE_Lan = 'Lan';
const SUBSTYLE_Launch = 'Launch';
const SUBSTYLE_Load = 'Load';
const SUBSTYLE_LoadTrack = 'LoadTrack';
const SUBSTYLE_Manialink = 'Manialink';
const SUBSTYLE_ManiaZones = 'ManiaZones';
const SUBSTYLE_MedalCount = 'MedalCount';
const SUBSTYLE_MediaTracker = 'MediaTracker';
const SUBSTYLE_Medium = 'Medium';
const SUBSTYLE_Multiplayer = 'Multiplayer';
const SUBSTYLE_Nations = 'Nations';
const SUBSTYLE_NewTrack = 'NewTrack';
const SUBSTYLE_Options = 'Options';
const SUBSTYLE_Padlock = 'Padlock';
const SUBSTYLE_Paint = 'Paint';
const SUBSTYLE_Platform = 'Platform';
const SUBSTYLE_PlayerPage = 'PlayerPage';
const SUBSTYLE_Profile = 'Profile';
const SUBSTYLE_ProfileAdvanced = 'ProfileAdvanced';
const SUBSTYLE_ProfileVehicle = 'ProfileVehicle';
const SUBSTYLE_Puzzle = 'Puzzle';
const SUBSTYLE_Quit = 'Quit';
const SUBSTYLE_Race = 'Race';
const SUBSTYLE_Rankings = 'Rankings';
const SUBSTYLE_Replay = 'Replay';
const SUBSTYLE_Save = 'Save';
const SUBSTYLE_ServersAll = 'ServersAll';
const SUBSTYLE_ServersFavorites = 'ServersFavorites';
const SUBSTYLE_ServersSuggested = 'ServersSuggested';
const SUBSTYLE_Share = 'Share';
const SUBSTYLE_ShareBlink = 'ShareBlink';
const SUBSTYLE_SkillPoints = 'SkillPoints';
const SUBSTYLE_Solo = 'Solo';
const SUBSTYLE_Statistics = 'Statistics';
const SUBSTYLE_Stunts = 'Stunts';
const SUBSTYLE_United = 'United';
const SUBSTYLE_Upload = 'Upload';
const SUBSTYLE_Vehicles = 'Vehicles';
/** /**
* Construct Icons128x128_Blink quad * Construct Icons128x128_Blink quad
@ -21,14 +85,5 @@ class Quad_Icons128x128_Blink extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("Advanced", "Back", "BackFocusable", "Beginner", "Browse", "Buddies", "Challenge", "ChallengeAuthor", "Coppers",
"Create", "Credits", "Custom", "CustomStars", "Default", "Download", "Easy", "Editor", "Event", "Extreme", "Forever",
"GhostEditor", "Hard", "Hotseat", "Inputs", "Invite", "LadderPoints", "Lan", "Launch", "Load", "LoadTrack", "Manialink",
"ManiaZones", "MedalCount", "MediaTracker", "Medium", "Multiplayer", "Nations", "NewTrack", "Options", "Padlock", "Paint",
"Platform", "PlayerPage", "Profile", "ProfileAdvanced", "ProfileVehicle", "Puzzle", "Quit", "Race", "Rankings", "Replay",
"Save", "ServersAll", "ServersFavorites", "ServersSuggested", "Share", "ShareBlink", "SkillPoints", "Solo", "Statistics",
"Stunts", "United", "Upload", "Vehicles");
} }
} }
?>

View File

@ -14,6 +14,31 @@ class Quad_Icons128x32_1 extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Icons128x32_1'; const STYLE = 'Icons128x32_1';
const SUBSTYLE_Empty = 'Empty';
const SUBSTYLE_ManiaLinkHome = 'ManiaLinkHome';
const SUBSTYLE_ManiaLinkSwitch = 'ManiaLinkSwitch';
const SUBSTYLE_ManiaPlanet = 'ManiaPlanet';
const SUBSTYLE_Music = 'Music';
const SUBSTYLE_PainterBrush = 'PainterBrush';
const SUBSTYLE_PainterFill = 'PainterFill';
const SUBSTYLE_PainterLayer = 'PainterLayer';
const SUBSTYLE_PainterMirror = 'PainterMirror';
const SUBSTYLE_PainterSticker = 'PainterSticker';
const SUBSTYLE_PainterTeam = 'PainterTeam';
const SUBSTYLE_RT_Cup = 'RT_Cup';
const SUBSTYLE_RT_Laps = 'RT_Laps';
const SUBSTYLE_RT_Rounds = 'RT_Rounds';
const SUBSTYLE_RT_Script = 'RT_Script';
const SUBSTYLE_RT_Team = 'RT_Team';
const SUBSTYLE_RT_TimeAttack = 'RT_TimeAttack';
const SUBSTYLE_RT_Stunts = 'RT_Stunts';
const SUBSTYLE_Settings = 'Settings';
const SUBSTYLE_SliderBar = 'SliderBar';
const SUBSTYLE_SliderBar2 = 'SliderBar2';
const SUBSTYLE_SliderCursor = 'SliderCursor';
const SUBSTYLE_Sound = 'Sound';
const SUBSTYLE_UrlBg = 'UrlBg';
const SUBSTYLE_Windowed = 'Windowed';
/** /**
* Construct Icons128x32_1 quad * Construct Icons128x32_1 quad
@ -21,10 +46,5 @@ class Quad_Icons128x32_1 extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("Empty", "ManiaLinkHome", "ManiaLinkSwitch", "ManiaPlanet", "Music", "PainterBrush", "PainterFill", "PainterLayer",
"PainterMirror", "PainterSticker", "PainterTeam", "RT_Cup", "RT_Laps", "RT_Rounds", "RT_Script", "RT_Team", "RT_TimeAttack",
"RT_Stunts", "Settings", "SliderBar", "SliderBar2", "SliderCursor", "Sound", "UrlBg", "Windowed");
} }
} }
?>

View File

@ -108,5 +108,3 @@ class Quad_Icons64x64_1 extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -14,6 +14,19 @@ class Quad_Icons64x64_2 extends Quad {
* Constants * Constants
*/ */
const STYLE = 'Icons64x64_2'; const STYLE = 'Icons64x64_2';
const SUBSTYLE_ArrowElimination = 'ArrowElimination';
const SUBSTYLE_ArrowHit = 'ArrowHit';
const SUBSTYLE_Disconnected = 'Disconnected';
const SUBSTYLE_DisconnectedLight = 'DisconnectedLight';
const SUBSTYLE_LaserElimination = 'LaserElimination';
const SUBSTYLE_LaserHit = 'LaserHit';
const SUBSTYLE_NucleusElimination = 'NucleusElimination';
const SUBSTYLE_NucleusHit = 'NucleusHit';
const SUBSTYLE_RocketElimination = 'RocketElimination';
const SUBSTYLE_RocketHit = 'RocketHit';
const SUBSTYLE_ServerNotice = 'ServerNotice';
const SUBSTYLE_UnknownElimination = 'UnknownElimination';
const SUBSTYLE_UnknownHit = 'UnknownHit';
/** /**
* Construct Icons64x64_2 quad * Construct Icons64x64_2 quad
@ -21,9 +34,5 @@ class Quad_Icons64x64_2 extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("ArrowElimination", "ArrowHit", "Disconnected", "DisconnectedLight", "LaserElimination", "LaserHit",
"NucleusElimination", "NucleusHit", "RocketElimination", "RocketHit", "ServerNotice", "UnknownElimination", "UnknownHit");
} }
} }
?>

View File

@ -30,5 +30,3 @@ class Quad_ManiaPlanetLogos extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -29,5 +29,3 @@ class Quad_ManiaplanetSystem extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -14,6 +14,13 @@ class Quad_MedalsBig extends Quad {
* Constants * Constants
*/ */
const STYLE = 'MedalsBig'; const STYLE = 'MedalsBig';
const SUBSTYLE_MedalBronze = 'MedalBronze';
const SUBSTYLE_MedalGold = 'MedalGold';
const SUBSTYLE_MedalGoldPerspective = 'MedalGoldPerspective';
const SUBSTYLE_MedalNadeo = 'MedalNadeo';
const SUBSTYLE_MedalNadeoPerspective = 'MedalNadeoPerspective';
const SUBSTYLE_MedalSilver = 'MedalSilver';
const SUBSTYLE_MedalSlot = 'MedalSlot';
/** /**
* Construct MedalsBig quad * Construct MedalsBig quad
@ -21,8 +28,5 @@ class Quad_MedalsBig extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("MedalBronze", "MedalGold", "MedalGoldPerspective", "MedalNadeo", "MedalNadeoPerspective", "MedalSilver", "MedalSlot");
} }
} }
?>

View File

@ -14,6 +14,10 @@ class Quad_TitleLogos extends Quad {
* Constants * Constants
*/ */
const STYLE = 'TitleLogos'; const STYLE = 'TitleLogos';
const SUBSTYLE_Author = 'Author';
const SUBSTYLE_Collection = 'Collection';
const SUBSTYLE_Icon = 'Icon';
const SUBSTYLE_Title = 'Title';
/** /**
* Construct TitleLogos quad * Construct TitleLogos quad
@ -21,8 +25,5 @@ class Quad_TitleLogos extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("Author", "Collection", "Icon", "Title");
} }
} }
?>

View File

@ -14,6 +14,60 @@ class Quad_UIConstruction_Buttons extends Quad {
* Constants * Constants
*/ */
const STYLE = 'UIConstruction_Buttons'; const STYLE = 'UIConstruction_Buttons';
const SUBSTYLE_ActionMaker = 'ActionMaker';
const SUBSTYLE_Add = 'Add';
const SUBSTYLE_Author = 'Author';
const SUBSTYLE_AuthorTime = 'AuthorTime';
const SUBSTYLE_BgEditors = 'BgEditors';
const SUBSTYLE_BgIcons = 'BgIcons';
const SUBSTYLE_BgMain = 'BgMain';
const SUBSTYLE_BgTools = 'BgTools';
const SUBSTYLE_BlockEditor = 'BlockEditor';
const SUBSTYLE_Camera = 'Camera';
const SUBSTYLE_Challenge = 'Challenge';
const SUBSTYLE_CopyPaste = 'CopyPaste';
const SUBSTYLE_DecalEditor = 'DecalEditor';
const SUBSTYLE_Delete = 'Delete';
const SUBSTYLE_Directory = 'Directory';
const SUBSTYLE_Down = 'Down';
const SUBSTYLE_Drive = 'Drive';
const SUBSTYLE_Erase = 'Erase';
const SUBSTYLE_Help = 'Help';
const SUBSTYLE_Item = 'Item';
const SUBSTYLE_Left = 'Left';
const SUBSTYLE_MacroBlockEditor = 'MacroBlockEditor';
const SUBSTYLE_MediaTracker = 'MediaTracker';
const SUBSTYLE_ObjectEditor = 'ObjectEditor';
const SUBSTYLE_OffZone = 'OffZone';
const SUBSTYLE_Options = 'Options';
const SUBSTYLE_Paint = 'Paint';
const SUBSTYLE_Pick = 'Pick';
const SUBSTYLE_Plugins = 'Plugins';
const SUBSTYLE_Quit = 'Quit';
const SUBSTYLE_Redo = 'Redo';
const SUBSTYLE_Reload = 'Reload';
const SUBSTYLE_Right = 'Right';
const SUBSTYLE_Save = 'Save';
const SUBSTYLE_SaveAs = 'SaveAs';
const SUBSTYLE_ScriptEditor = 'ScriptEditor';
const SUBSTYLE_SpotModelClearUnused = 'SpotModelClearUnused';
const SUBSTYLE_SpotModelDuplicate = 'SpotModelDuplicate';
const SUBSTYLE_SpotModelNew = 'SpotModelNew';
const SUBSTYLE_SpotModelRename = 'SpotModelRename';
const SUBSTYLE_Square = 'Square';
const SUBSTYLE_Stats = 'Stats';
const SUBSTYLE_Sub = 'Sub';
const SUBSTYLE_TerrainEditor = 'TerrainEditor';
const SUBSTYLE_TestSm = 'TestSm';
const SUBSTYLE_Text = 'Text';
const SUBSTYLE_Tools = 'Tools';
const SUBSTYLE_Underground = 'Underground';
const SUBSTYLE_Undo = 'Undo';
const SUBSTYLE_Up = 'Up';
const SUBSTYLE_Validate = 'Validate';
const SUBSTYLE_Validate_Step1 = 'Validate_Step1';
const SUBSTYLE_Validate_Step2 = 'Validate_Step2';
const SUBSTYLE_Validate_Step3 = 'Validate_Step3';
/** /**
* Construct UIConstruction_Buttons quad * Construct UIConstruction_Buttons quad
@ -21,13 +75,5 @@ class Quad_UIConstruction_Buttons extends Quad {
public function __construct() { public function __construct() {
parent::__construct(); parent::__construct();
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
array("ActionMaker", "Add", "Author", "AuthorTime", "BgEditors", "BgIcons", "BgMain", "BgTools", "BlockEditor", "Camera",
"Challenge", "CopyPaste", "DecalEditor", "Delete", "Directory", "Down", "Drive", "Erase", "Help", "Item", "Left",
"MacroBlockEditor", "MediaTracker", "ObjectEditor", "OffZone", "Options", "Paint", "Pick", "Plugins", "Quit", "Redo",
"Reload", "Right", "Save", "SaveAs", "ScriptEditor", "SpotModelClearUnused", "SpotModelDuplicate", "SpotModelNew",
"SpotModelRename", "Square", "Stats", "Sub", "TerrainEditor", "TestSm", "Text", "Tools", "Underground", "Undo", "Up",
"Validate", "Validate_Step1", "Validate_Step2", "Validate_Step3");
} }
} }
?>

View File

@ -44,5 +44,3 @@ class Quad_UiSMSpectatorScoreBig extends Quad {
$this->setStyle(self::STYLE); $this->setStyle(self::STYLE);
} }
} }
?>

View File

@ -26,5 +26,3 @@ class Video extends Control implements Playable, Scriptable {
return $xml; return $xml;
} }
} }
?>

View File

@ -22,5 +22,3 @@ class Format implements BgColorable, Renderable, Styleable, TextFormatable {
return $xml; return $xml;
} }
} }
?>

View File

@ -33,5 +33,3 @@ class Including implements Renderable {
return $xml; return $xml;
} }
} }
?>

View File

@ -37,5 +37,3 @@ class Music implements Renderable {
return $xml; return $xml;
} }
} }
?>

View File

@ -38,5 +38,3 @@ class SimpleScript implements Renderable {
return $xml; return $xml;
} }
} }
?>

View File

@ -110,7 +110,7 @@ class ManiaLink implements Container {
} }
/** /**
* Set the script object of the manalink * Set the script object of the Manialink
* *
* @param Script $script * @param Script $script
* @return \FML\ManiaLink * @return \FML\ManiaLink
@ -125,6 +125,7 @@ class ManiaLink implements Container {
* *
* @param bool $echo * @param bool $echo
* If the xml should be echoed and the content-type header should be set * If the xml should be echoed and the content-type header should be set
* @param \DOMDocument $domDocument
* @return \DOMDocument * @return \DOMDocument
*/ */
public function render($echo = false, $domDocument = null) { public function render($echo = false, $domDocument = null) {
@ -160,7 +161,7 @@ class ManiaLink implements Container {
$manialink->appendChild($childXml); $manialink->appendChild($childXml);
} }
if ($this->script) { if ($this->script) {
$scriptXml = $this->script->render($domDocument); $scriptXml = $this->script->render($domDocument);
$manialink->appendChild($scriptXml); $manialink->appendChild($scriptXml);
} }
if ($isChild) { if ($isChild) {
@ -173,5 +174,3 @@ class ManiaLink implements Container {
return $domDocument; return $domDocument;
} }
} }
?>

View File

@ -3,7 +3,7 @@
namespace FML; namespace FML;
/** /**
* Class holding several manialinks at once * Class holding several Manialinks at once
* *
* @author steeffeen * @author steeffeen
*/ */
@ -69,5 +69,3 @@ class ManiaLinks {
return $domDocument; return $domDocument;
} }
} }
?>

View File

@ -30,9 +30,8 @@ class Menus implements Constants, Labels, ScriptFeature {
* @return \FML\Script\Menus * @return \FML\Script\Menus
*/ */
public function add(array $menuRelationships) { public function add(array $menuRelationships) {
$menuIndex = count($this->menus);
$menus = array(); $menus = array();
$submenus = array(); $subMenus = array();
foreach ($menuRelationships as $relationship) { foreach ($menuRelationships as $relationship) {
$menuItemControl = $relationship[0]; $menuItemControl = $relationship[0];
$subMenuControl = $relationship[1]; $subMenuControl = $relationship[1];
@ -41,7 +40,7 @@ class Menus implements Constants, Labels, ScriptFeature {
trigger_error('No Scriptable instance given as menu item.', E_USER_ERROR); trigger_error('No Scriptable instance given as menu item.', E_USER_ERROR);
} }
if (!($subMenuControl instanceof Control)) { if (!($subMenuControl instanceof Control)) {
trigger_error('No Control instance given as submenu.', E_USER_ERROR); trigger_error('No Control instance given as sub menu.', E_USER_ERROR);
} }
$menuItemControl->assignId(); $menuItemControl->assignId();
@ -49,9 +48,9 @@ class Menus implements Constants, Labels, ScriptFeature {
$subMenuControl->assignId(); $subMenuControl->assignId();
array_push($menus, array($menuItemControl->getId(), $subMenuControl->getId())); array_push($menus, array($menuItemControl->getId(), $subMenuControl->getId()));
array_push($submenus, $subMenuControl->getId()); array_push($subMenus, $subMenuControl->getId());
} }
array_push($this->menus, array($menus, $submenus)); array_push($this->menus, array($menus, $subMenus));
return $this; return $this;
} }
@ -99,5 +98,3 @@ class Menus implements Constants, Labels, ScriptFeature {
return $labels; return $labels;
} }
} }
?>

View File

@ -140,5 +140,3 @@ class Pages implements Constants, Globals, Includes, Labels, ScriptFeature {
return $labels; return $labels;
} }
} }
?>

View File

@ -2,7 +2,6 @@
namespace FML\Script; namespace FML\Script;
use FML\Controls\Control;
use FML\Script\Sections\Constants; use FML\Script\Sections\Constants;
use FML\Script\Sections\Functions; use FML\Script\Sections\Functions;
use FML\Script\Sections\Globals; use FML\Script\Sections\Globals;
@ -10,7 +9,7 @@ use FML\Script\Sections\Includes;
use FML\Script\Sections\Labels; use FML\Script\Sections\Labels;
/** /**
* Class reprenting the manialink script * Class representing the Manialink Script
* *
* @author steeffeen * @author steeffeen
*/ */
@ -45,7 +44,7 @@ class Script {
* Create the script xml tag * Create the script xml tag
* *
* @param \DOMDocument $domDocument * @param \DOMDocument $domDocument
* @return DOMElement * @return \DOMElement
*/ */
public function render(\DOMDocument $domDocument) { public function render(\DOMDocument $domDocument) {
$scriptXml = $domDocument->createElement('script'); $scriptXml = $domDocument->createElement('script');
@ -75,7 +74,7 @@ class Script {
/** /**
* Add the header comment to the script * Add the header comment to the script
* *
* @param script $scriptText * @param string $scriptText
* @return string * @return string
*/ */
private function addHeaderPart($scriptText) { private function addHeaderPart($scriptText) {
@ -215,5 +214,3 @@ class Script {
return $scriptText . $mainPart; return $scriptText . $mainPart;
} }
} }
?>

View File

@ -9,5 +9,3 @@ namespace FML\Script;
*/ */
interface ScriptFeature { interface ScriptFeature {
} }
?>

View File

@ -14,5 +14,3 @@ interface Constants {
*/ */
public function getConstants(); public function getConstants();
} }
?>

View File

@ -16,5 +16,3 @@ interface Functions {
*/ */
public function getFunctions(); public function getFunctions();
} }
?>

View File

@ -16,5 +16,3 @@ interface Globals {
*/ */
public function getGlobals(); public function getGlobals();
} }
?>

View File

@ -16,5 +16,3 @@ interface Includes {
*/ */
public function getIncludes(); public function getIncludes();
} }
?>

View File

@ -26,5 +26,3 @@ interface Labels {
*/ */
public function getLabels(); public function getLabels();
} }
?>

View File

@ -74,5 +74,3 @@ class Tooltips implements Constants, Labels, ScriptFeature {
return $labels; return $labels;
} }
} }
?>

View File

@ -16,4 +16,3 @@ interface Actionable {
*/ */
public function setAction($action); public function setAction($action);
} }
?>

View File

@ -16,5 +16,3 @@ interface BgColorable {
*/ */
public function setBgColor($bgColor); public function setBgColor($bgColor);
} }
?>

View File

@ -21,5 +21,3 @@ interface Container {
*/ */
public function removeChildren(); public function removeChildren();
} }
?>

View File

@ -23,5 +23,3 @@ interface Linkable {
*/ */
public function setManialink($manialink); public function setManialink($manialink);
} }
?>

View File

@ -3,7 +3,7 @@
namespace FML\Types; namespace FML\Types;
/** /**
* Interface for elements with autonewline attribute * Interface for elements with AutoNewLine attribute
* *
* @author steeffeen * @author steeffeen
*/ */
@ -16,5 +16,3 @@ interface NewLineable {
*/ */
public function setAutoNewLine($autoNewLine); public function setAutoNewLine($autoNewLine);
} }
?>

View File

@ -8,14 +8,6 @@ namespace FML\Types;
* @author steeffeen * @author steeffeen
*/ */
interface Playable { interface Playable {
/**
* Protected properties
*/
protected $data = '';
protected $play = 0;
protected $looping = 0;
protected $music = 1;
protected $volume = 1.;
/** /**
* Set data * Set data
@ -52,5 +44,3 @@ interface Playable {
*/ */
public function setVolume($volume); public function setVolume($volume);
} }
?>

View File

@ -17,5 +17,3 @@ interface Renderable {
*/ */
public function render(\DOMDocument $domDocument); public function render(\DOMDocument $domDocument);
} }
?>

View File

@ -3,7 +3,7 @@
namespace FML\Types; namespace FML\Types;
/** /**
* Interface for elements with scriptevents attribute * Interface for elements with ScriptEvents attribute
* *
* @author steeffeen * @author steeffeen
*/ */
@ -12,9 +12,7 @@ interface Scriptable {
/** /**
* Set scriptevents * Set scriptevents
* *
* @param bool $style * @param bool $scriptEvents
*/ */
public function setScriptEvents($scriptEvents); public function setScriptEvents($scriptEvents);
} }
?>

View File

@ -16,5 +16,3 @@ interface Styleable {
*/ */
public function setStyle($style); public function setStyle($style);
} }
?>

View File

@ -3,26 +3,24 @@
namespace FML\Types; namespace FML\Types;
/** /**
* Interface for elements with substyle attribute * Interface for elements with SubStyle attribute
* *
* @author steeffeen * @author steeffeen
*/ */
interface SubStyleable { interface SubStyleable {
/** /**
* Set substyle * Set SubStyle
* *
* @param string $subStyle * @param string $subStyle
*/ */
public function setSubStyle($subStyle); public function setSubStyle($subStyle);
/** /**
* Set style and substyle * Set Style and SubStyle
* *
* @param string $style * @param string $style
* @param string $subStyle * @param string $subStyle
*/ */
public function setStyles($style, $subStyle); public function setStyles($style, $subStyle);
} }
?>

View File

@ -3,7 +3,7 @@
namespace FML\Types; namespace FML\Types;
/** /**
* Interface for elements with formatable text * Interface for elements with Formatable text
* *
* @author steeffeen * @author steeffeen
*/ */
@ -37,5 +37,3 @@ interface TextFormatable {
*/ */
public function setAreaFocusColor($areaFocusColor); public function setAreaFocusColor($areaFocusColor);
} }
?>

View File

@ -18,5 +18,3 @@ spl_autoload_register(
require_once $filePath; require_once $filePath;
} }
}); });
?>