@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use eXpansion\Framework\Gui\Layouts\layoutLine; |
| 14 | 14 | use eXpansion\Framework\Gui\Layouts\layoutRow; |
| 15 | 15 | use FML\Controls\Quad; |
| 16 | -use FML\Script\Features\Tooltip; |
|
| 17 | 16 | |
| 18 | 17 | class WindowFactory extends BaseWindowFactory |
| 19 | 18 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param $control |
| 26 | - * @param $text |
|
| 26 | + * @param string $text |
|
| 27 | 27 | */ |
| 28 | 28 | public function addTooltip($control, $text) |
| 29 | 29 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use FML\Controls\Quad; |
| 9 | 9 | use FML\Script\Features\ScriptFeature; |
| 10 | 10 | use FML\Script\Script; |
| 11 | -use FML\Types\Container; |
|
| 12 | 11 | use FML\Types\ScriptFeatureable; |
| 13 | 12 | |
| 14 | 13 | class uiTooltip extends abstractUiElement implements ScriptFeatureable |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | // Frame to handle the content of the window. |
| 69 | 69 | $this->contentFrame = new Frame(); |
| 70 | 70 | $this->contentFrame->setPosition(0, 0); |
| 71 | - // $this->contentFrame->setSize($sizeX, $sizeY); |
|
| 71 | + // $this->contentFrame->setSize($sizeX, $sizeY); |
|
| 72 | 72 | $windowFrame->addChild($this->contentFrame); |
| 73 | 73 | |
| 74 | 74 | $this->windowFrame = $windowFrame; |