mirror of https://github.com/wayvr-org/wayvr.git
Updated Customize UI (markdown)
parent
b57e9e8b83
commit
964e9d6f2b
|
|
@ -75,6 +75,22 @@ Example:
|
||||||
bg_color: "#353535"
|
bg_color: "#353535"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Sprite
|
||||||
|
|
||||||
|
Displays an image / sprite from a sprite sheet.
|
||||||
|
|
||||||
|
Properties:
|
||||||
|
- `sprite`: The path to the DDS texture file. Absolute, or relative to `~/.config/wlxoverlay`.
|
||||||
|
- `sprite_st`: List of 4 floats. First 2 elements are UV scale, last 2 elements are UV offset.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```yaml
|
||||||
|
- type: Sprite
|
||||||
|
rect: [0, 0, 64, 64]
|
||||||
|
sprite: icons.dds # relative to ~/.config/wlxoverlay
|
||||||
|
sprite_st: [1, 1, 0, 0] # to display entire image
|
||||||
|
```
|
||||||
|
|
||||||
## Label
|
## Label
|
||||||
|
|
||||||
Displays some kind of text.
|
Displays some kind of text.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue