@@ -15,8 +15,6 @@ |
||
| 15 | 15 | use eXpansion\Framework\Gui\Layouts\layoutLine; |
| 16 | 16 | use eXpansion\Framework\Gui\Layouts\layoutRow; |
| 17 | 17 | use eXpansion\Framework\Gui\Layouts\layoutScrollable; |
| 18 | -use FML\Controls\Label; |
|
| 19 | -use FML\Controls\Quad; |
|
| 20 | 18 | |
| 21 | 19 | class WindowFactory extends BaseWindowFactory |
| 22 | 20 | { |
@@ -76,6 +76,10 @@ discard block |
||
| 76 | 76 | $this->setSize($sizeX, $sizeY); |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | + /** |
|
| 80 | + * @param double $x |
|
| 81 | + * @param double $y |
|
| 82 | + */ |
|
| 79 | 83 | public function setPosition($x, $y) |
| 80 | 84 | { |
| 81 | 85 | $this->startX = $x; |
@@ -191,7 +195,7 @@ discard block |
||
| 191 | 195 | } |
| 192 | 196 | |
| 193 | 197 | /** |
| 194 | - * @return float|int |
|
| 198 | + * @return double |
|
| 195 | 199 | */ |
| 196 | 200 | public function getWidth() |
| 197 | 201 | { |
@@ -213,6 +217,9 @@ discard block |
||
| 213 | 217 | } |
| 214 | 218 | |
| 215 | 219 | |
| 220 | + /** |
|
| 221 | + * @param string $class |
|
| 222 | + */ |
|
| 216 | 223 | public function addClass($class) |
| 217 | 224 | { |
| 218 | 225 | $this->frameClasses[] = $class; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use FML\Controls\Control; |
| 6 | 6 | use FML\Controls\Frame; |
| 7 | -use FML\Controls\Quad; |
|
| 8 | 7 | use FML\Elements\Format; |
| 9 | 8 | use FML\Script\Features\ScriptFeature; |
| 10 | 9 | use FML\Types\Container; |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | $nextCycleStart += $cycleTime; |
| 94 | 94 | } while ($nextCycleStart < $endCycleTime); |
| 95 | 95 | |
| 96 | - @time_sleep_until($nextCycleStart); |
|
| 96 | + @time_sleep_until($nextCycleStart); |
|
| 97 | 97 | |
| 98 | 98 | } while ($this->isRunning); |
| 99 | 99 | } |