@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use eXpansion\Framework\Gui\Components\uiDropdown; |
| 10 | 10 | use eXpansion\Framework\Gui\Components\uiInput; |
| 11 | 11 | use eXpansion\Framework\Gui\Components\uiLabel; |
| 12 | -use eXpansion\Framework\Gui\Components\uiLine; |
|
| 13 | 12 | use eXpansion\Framework\Gui\Components\uiTextbox; |
| 14 | 13 | use eXpansion\Framework\Gui\Components\uiTooltip; |
| 15 | 14 | use eXpansion\Framework\Gui\Layouts\layoutLine; |
@@ -84,11 +84,11 @@ |
||
| 84 | 84 | $manialink->addChild($quad); |
| 85 | 85 | |
| 86 | 86 | $input = new uiInput("input1", "test text", 30); |
| 87 | - $input->setPosition(90,-30); |
|
| 87 | + $input->setPosition(90, -30); |
|
| 88 | 88 | $manialink->addChild($input); |
| 89 | 89 | |
| 90 | 90 | $input = new uiTextbox("input2", "test\ntest2\ntest3\nest4\ntest5", 5, 30); |
| 91 | - $input->setPosition(130,-30); |
|
| 91 | + $input->setPosition(130, -30); |
|
| 92 | 92 | |
| 93 | 93 | $manialink->addChild($input); |
| 94 | 94 | |
@@ -38,8 +38,6 @@ |
||
| 38 | 38 | * uiLine constructor. |
| 39 | 39 | * @param float $x |
| 40 | 40 | * @param float $y |
| 41 | - * @param float $tx |
|
| 42 | - * @param float $ty |
|
| 43 | 41 | */ |
| 44 | 42 | public function __construct($x, $y) |
| 45 | 43 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | // $this->mlFactory->create($login); |
| 50 | 50 | } |
| 51 | 51 | } else { |
| 52 | - $this->mlFactory->destroy($this->playersGroup); |
|
| 52 | + $this->mlFactory->destroy($this->playersGroup); |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $this->name = $name; |
| 33 | 33 | $this->default = $default; |
| 34 | 34 | $this->lines = $lines; |
| 35 | - $this->setSize($width, ($lines * 5)+2); |
|
| 35 | + $this->setSize($width, ($lines * 5) + 2); |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | ->setBackgroundColor('FFFA'); |
| 58 | 58 | |
| 59 | 59 | $input = new TextEdit(); |
| 60 | - $input->setSize($this->width, $this->height-2) |
|
| 60 | + $input->setSize($this->width, $this->height - 2) |
|
| 61 | 61 | ->setPosition(1, -1) |
| 62 | 62 | ->setDefault($this->default) |
| 63 | 63 | ->setScriptEvents(true) |
@@ -45,14 +45,14 @@ |
||
| 45 | 45 | $quad = new Quad(); |
| 46 | 46 | $quad->setSize($this->width * 2, $this->height * 2) |
| 47 | 47 | ->setScale(0.5) |
| 48 | - ->setPosition($this->width / 2, -$this->height/2) |
|
| 48 | + ->setPosition($this->width / 2, -$this->height / 2) |
|
| 49 | 49 | ->setStyles('Bgs1', 'BgColorContour') |
| 50 | 50 | ->setAlign("center", "center") |
| 51 | 51 | ->setBackgroundColor('FFFA'); |
| 52 | 52 | |
| 53 | 53 | $input = new Entry(); |
| 54 | 54 | $input->setSize($this->width, $this->height) |
| 55 | - ->setPosition(0, -$this->height/2) |
|
| 55 | + ->setPosition(0, -$this->height / 2) |
|
| 56 | 56 | ->setDefault($this->default) |
| 57 | 57 | ->setSelectText(true) |
| 58 | 58 | ->setAlign("left", "center2") |