diff --git a/gui/dialogs/rendering.xml b/gui/dialogs/rendering.xml index a8a773821..3b90ab927 100644 --- a/gui/dialogs/rendering.xml +++ b/gui/dialogs/rendering.xml @@ -113,86 +113,6 @@ dialog-apply - - - left - - /sim/rendering/random-vegetation - - dialog-apply - - - - - - - - 8 - vbox - - -6 - left - - - 0.5 - 0.5 - 0.5 - - - - - 8 - left - - /sim/rendering/clouds3d-enable - - dialog-apply - - - - - - hbox - right - - - 0 - 1.0 - - /sim/rendering/clouds3d-density - - dialog-apply - - - - - %.2f - true - /sim/rendering/clouds3d-density - - - - - hbox - right - - - 100.0 - 20000.0 - - /sim/rendering/clouds3d-vis-range - - dialog-apply - - - - - %.fm - true - /sim/rendering/clouds3d-vis-range - - - @@ -241,48 +161,7 @@ - - 8 - hbox - - vbox - top - left - - -6 - - - 0.5 - 0.5 - 0.5 - - - - - vbox - - hbox - - left - - /sim/rendering/shader-effects - - dialog-apply - - - - left - - /sim/rendering/shader-experimental - - dialog-apply - - - - - - - + hbox true diff --git a/gui/dialogs/shader-options.xml b/gui/dialogs/shader-options.xml new file mode 100644 index 000000000..044ffc9f6 --- /dev/null +++ b/gui/dialogs/shader-options.xml @@ -0,0 +1,205 @@ + + + + shader-options + false + vbox + + + left + + /sim/rendering/shader-effects + + dialog-apply + + + + + + + + + + vbox + center + + + left + + /sim/rendering/random-vegetation + + dialog-apply + + + + + left + + /sim/rendering/crop-shader + + dialog-apply + + + + + left + + /sim/rendering/landmass-shader + + dialog-apply + + + + + + + + + + + 8 + vbox + + 8 + left + + /sim/rendering/clouds3d-enable + + dialog-apply + + + + + + hbox + right + + + 0 + 1.0 + + /sim/rendering/clouds3d-density + + dialog-apply + + + + + %.2f + true + /sim/rendering/clouds3d-density + + + + + hbox + right + + + 100.0 + 20000.0 + + /sim/rendering/clouds3d-vis-range + + dialog-apply + + + + + %.fm + true + /sim/rendering/clouds3d-vis-range + + + + + + + + + + + + vbox + center + + + left + + /sim/rendering/water-shader + + dialog-apply + + + + + + + + + + + + + + + + diff --git a/gui/dialogs/view.xml b/gui/dialogs/view.xml index 345eca677..e6823ae19 100644 --- a/gui/dialogs/view.xml +++ b/gui/dialogs/view.xml @@ -11,6 +11,17 @@ + + left + + /sim/view-name-popup + + dialog-apply + + + + + var group = cmdarg().getNode("group"); diff --git a/gui/menubar.xml b/gui/menubar.xml index 120dae0f9..569a4f224 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -116,6 +116,14 @@ + + + + dialog-show + shader-options + + +