diff options
author | v-rob <robinsonvincent89@gmail.com> | 2020-03-01 06:39:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 14:39:57 +0000 |
commit | 7dffd08c1a068e5e0748a046fd8a1e884947b597 (patch) | |
tree | 867a61698d93c6b107d4432059b8245cabd5f3f3 /games/minimal/mods/test | |
parent | 0c08f948d7014e66d5a79d7584c03164af2edd93 (diff) | |
download | minetest-7dffd08c1a068e5e0748a046fd8a1e884947b597.tar.gz minetest-7dffd08c1a068e5e0748a046fd8a1e884947b597.tar.bz2 minetest-7dffd08c1a068e5e0748a046fd8a1e884947b597.zip |
Add multiple element selection to `style` and `style_type` (#9380)
Diffstat (limited to 'games/minimal/mods/test')
-rw-r--r-- | games/minimal/mods/test/formspec.lua | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/games/minimal/mods/test/formspec.lua b/games/minimal/mods/test/formspec.lua index 50c506899..a836a811d 100644 --- a/games/minimal/mods/test/formspec.lua +++ b/games/minimal/mods/test/formspec.lua @@ -1,18 +1,9 @@ local color = minetest.colorize
local clip_fs = [[
- style_type[label;noclip=%c]
- style_type[button;noclip=%c]
- style_type[image_button;noclip=%c]
- style_type[item_image_button;noclip=%c]
- style_type[tabheader;noclip=%c]
- style_type[field;noclip=%c]
- style_type[textarea;noclip=%c]
- style_type[checkbox;noclip=%c]
- style_type[dropdown;noclip=%c]
- style_type[scrollbar;noclip=%c]
- style_type[table;noclip=%c]
- style_type[animated_image;noclip=%c]
+ style_type[label,button,image_button,item_image_button,
+ tabheader,scrollbar,table,animated_image
+ ,field,textarea,checkbox,dropdown;noclip=%c]
label[0,0;A clipping test]
button[0,1;3,0.8;x;A clipping test]
|