mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
mygui bindings for color and alpha
This commit is contained in:
parent
eb46bde75e
commit
26c7e308ed
4 changed files with 15 additions and 0 deletions
|
@ -20,3 +20,6 @@ Properties
|
|||
* - tileV
|
||||
- boolean (false)
|
||||
- Tile the texture vertically
|
||||
* - color
|
||||
- util.color (1, 1, 1)
|
||||
- Modulate constant color with the color of the image texture.
|
||||
|
|
|
@ -35,6 +35,14 @@ Properties
|
|||
* - propagateEvents
|
||||
- boolean (true)
|
||||
- Allows base widget events to propagate to the widget's parent.
|
||||
* - alpha
|
||||
- number (1.0)
|
||||
- | Set the opacity of the widget and its contents.
|
||||
| If `inheritAlpha` is set to `true`, this becomes the maximum alpha value the widget can take.
|
||||
* - inheritAlpha
|
||||
- boolean (true)
|
||||
- | Modulate `alpha` with parents `alpha`.
|
||||
| If the parent has `inheritAlpha` set to `true`, the value after modulating is passed to the child.
|
||||
|
||||
.. TODO: document the mouse pointer property, when API for reading / adding pointer types is available
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue