mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Formspec: Make dropdowns optionally return event based on index, not value (#9496)
This commit is contained in:
parent
2384c10e10
commit
b1ff04e06d
4 changed files with 39 additions and 20 deletions
|
@ -238,8 +238,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor)
|
||||
box[] and image[] elements enable clipping by default
|
||||
new element: scroll_container[]
|
||||
FORMSPEC VERSION 4:
|
||||
Allow dropdown indexing events
|
||||
*/
|
||||
#define FORMSPEC_API_VERSION 3
|
||||
#define FORMSPEC_API_VERSION 4
|
||||
|
||||
#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue