diff options
author | DS <vorunbekannt75@web.de> | 2020-04-13 10:50:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 10:50:07 +0200 |
commit | 0ac999ded725f8efcd26db284161683e37efeecf (patch) | |
tree | 24dfe208152ffa5f28d912d1de8e65c13c3704d6 /src/network/networkprotocol.h | |
parent | 6cf15cf872cc9ce76990d83d380ca3c4b7485eb1 (diff) | |
download | minetest-0ac999ded725f8efcd26db284161683e37efeecf.tar.gz minetest-0ac999ded725f8efcd26db284161683e37efeecf.tar.bz2 minetest-0ac999ded725f8efcd26db284161683e37efeecf.zip |
Add scroll_container formspec element (redo) (#9101)
New formspec elements:
- `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]`
- `scroll_container_end[]`
Other elements can be embedded in this element. Scrollbar must be placed manually.
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r-- | src/network/networkprotocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 7223ce05c..4b7345b15 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -237,6 +237,7 @@ with this program; if not, write to the Free Software Foundation, Inc., Formspec elements are drawn in the order of definition bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor) box[] and image[] elements enable clipping by default + new element: scroll_container[] */ #define FORMSPEC_API_VERSION 3 |