aboutsummaryrefslogtreecommitdiff
path: root/minetest.conf.example
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-29 19:25:16 +0200
committerGitHub <noreply@github.com>2017-08-29 19:25:16 +0200
commit1b3e4e173624bb2523d4386aeef6987709d9b022 (patch)
tree5524dc581ac1ccc313a73d4626cea2efe5550507 /minetest.conf.example
parent72c09f524b1616dd75bb6e35008196b5ca6351a2 (diff)
downloadminetest-1b3e4e173624bb2523d4386aeef6987709d9b022.tar.gz
minetest-1b3e4e173624bb2523d4386aeef6987709d9b022.tar.bz2
minetest-1b3e4e173624bb2523d4386aeef6987709d9b022.zip
Formspec: Add options to set background color and opacity (fullscreen mode + default mode) (#5493)
* Formspec: Add options to set background color and opacity (fullscreen mode) * Enhance previous comment: Set formspec background when regenerate UI. * This permit to do the calcul only at regen and override it with bgcolor tag * Add a setting for default background color into formspec, separated from fullscreen * Add a little performance gain on formspecs using a const ref instead of copying formspec string
Diffstat (limited to 'minetest.conf.example')
-rw-r--r--minetest.conf.example16
1 files changed, 16 insertions, 0 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index 6413d136a..9ce5bbd49 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -762,6 +762,22 @@
# type: int min: 0 max: 255
# console_alpha = 200
+# Formspec full-screen background opacity (between 0 and 255).
+# type: int
+# formspec_fullscreen_bg_opacity = 140
+
+# Formspec full-screen background color (R,G,B).
+# type: string
+# formspec_fullscreen_bg_color = (0,0,0)
+
+# Formspec default background opacity (between 0 and 255).
+# type: int
+# formspec_default_bg_opacity = 140
+
+# Formspec default background color (R,G,B).
+# type: string
+# formspec_default_bg_color = (0,0,0)
+
# Selection box border color (R,G,B).
# type: string
# selectionbox_color = (0,0,0)