Module flower.widget.Panel
It is the only class to display the panel.
Extends:
Info:
- Release: V3.0.0
- Author: Makoto
Functions
Panel:_initInternal () | Initializes the internal variables. |
Panel:_createChildren () | Create a children object. |
Panel:_createBackgroundImage () | Create an image of the background |
Panel:_updateBackgroundImage () | Update the backgroundImage. |
Panel:updateDisplay () | Update the display objects. |
Panel:setBackgroundTexture (texture) | Sets the background texture path. |
Panel:getBackgroundTexture (texture) | Returns the background texture path. |
Panel:setBackgroundVisible (visible) | Set the visible of the background. |
Panel:getBackgroundVisible () | Returns the visible of the background. |
Panel:getContentRect () | Returns the content rect from backgroundImage. |
Fields
STYLE_BACKGROUND_TEXTURE | Style: backgroundTexture |
STYLE_BACKGROUND_VISIBLE | Style: backgroundVisible |
Functions
- Panel:_initInternal ()
- Initializes the internal variables.
- Panel:_createChildren ()
- Create a children object.
- Panel:_createBackgroundImage ()
- Create an image of the background
- Panel:_updateBackgroundImage ()
- Update the backgroundImage.
- Panel:updateDisplay ()
- Update the display objects.
- Panel:setBackgroundTexture (texture)
-
Sets the background texture path.
Parameters:
- texture background texture path
- Panel:getBackgroundTexture (texture)
-
Returns the background texture path.
Parameters:
- texture background texture path
- Panel:setBackgroundVisible (visible)
-
Set the visible of the background.
Parameters:
- visible visible
- Panel:getBackgroundVisible ()
-
Returns the visible of the background.
Returns:
-
visible
- Panel:getContentRect ()
-
Returns the content rect from backgroundImage.
Returns:
- xMin
- yMin
- xMax
- yMax