From b1ff04e06da531dc52f6ee91e2967b39743033e6 Mon Sep 17 00:00:00 2001 From: v-rob Date: Fri, 10 Jul 2020 03:11:26 -0700 Subject: Formspec: Make dropdowns optionally return event based on index, not value (#9496) --- src/network/networkprotocol.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network/networkprotocol.h') diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index fd683eac9..28abf02c0 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -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_.-" -- cgit v1.2.3