/// <summary>
        /// Displays a toggleable toolbar with icons from
        /// the file system
        /// </summary>
        public void Toolbar()
        {
            EditorGUILayout.Space();

            //Set toolbar images
            if (_toolbarImages == null)
            {
                _toolbarImages = new Texture[] {
                    (Texture)Resources.Load("terra_gui_wrench"),
                    (Texture)Resources.Load("terra_gui_map"),
                    (Texture)Resources.Load("terra_gui_biome"),
                    (Texture)Resources.Load("terra_gui_detail")
                };
            }

            _config.EditorState.ToolbarSelection = (ToolbarOptions)EditorGUIExtension.EnumToolbar(_config.EditorState.ToolbarSelection, _toolbarImages);
        }
        private void ShowTreeDetails()
        {
            EditorGUILayout.Space();
            EditorGUILayout.LabelField("Trees & Detail Objects", EditorGUIExtension.TerraStyle.TextBold);

            _config.Generator.DetailDistance =
                EditorGUIExtension.MinMaxIntField("Detail Distance", _config.Generator.DetailDistance, 0, 250);
            _config.Generator.DetailDensity =
                EditorGUIExtension.MinMaxFloatField("Detail Density", _config.Generator.DetailDensity, 0, 1);
            _config.Generator.TreeDistance =
                EditorGUIExtension.MinMaxIntField("Tree Distance", _config.Generator.TreeDistance, 0, 2000);
            _config.Generator.BillboardStart =
                EditorGUIExtension.MinMaxIntField("Billboard Start", _config.Generator.BillboardStart, 5, 2000);
            _config.Generator.FadeLength =
                EditorGUIExtension.MinMaxIntField("Fade Length", _config.Generator.FadeLength, 0, 200);
            _config.Generator.MaxMeshTrees =
                EditorGUIExtension.MinMaxIntField("Max Mesh Trees", _config.Generator.MaxMeshTrees, 0, 10000);
        }