summaryrefslogtreecommitdiff
path: root/modules/gdnative/include/nativescript
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-17 03:50:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-20 13:48:05 +0200
commit661c9ece7cf167fd654a255ed80de0023ba171d9 (patch)
tree41504fefbce620c58149185332764520e14cbfa6 /modules/gdnative/include/nativescript
parent1eb1606f34f0696eb5f1694a3fc563125ad914b8 (diff)
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
Diffstat (limited to 'modules/gdnative/include/nativescript')
-rw-r--r--modules/gdnative/include/nativescript/godot_nativescript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h
index f28ba352ab..1c5422d723 100644
--- a/modules/gdnative/include/nativescript/godot_nativescript.h
+++ b/modules/gdnative/include/nativescript/godot_nativescript.h
@@ -68,6 +68,7 @@ typedef enum {
GODOT_PROPERTY_HINT_GLOBAL_DIR, ///< a directort path must be passed
GODOT_PROPERTY_HINT_RESOURCE_TYPE, ///< a resource object type
GODOT_PROPERTY_HINT_MULTILINE_TEXT, ///< used for string properties that can contain multiple lines
+ GODOT_PROPERTY_HINT_PLACEHOLDER_TEXT, ///< used to set a placeholder text for string properties
GODOT_PROPERTY_HINT_COLOR_NO_ALPHA, ///< used for ignoring alpha component when editing a color
GODOT_PROPERTY_HINT_IMAGE_COMPRESS_LOSSY,
GODOT_PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS,