mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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.
This commit is contained in:
parent
6cf15cf872
commit
0ac999ded7
11 changed files with 411 additions and 50 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue