From d54efc73f10a1b4684652c94b69f78f496d8d07f Mon Sep 17 00:00:00 2001
From: W2Wizard <63303990+W2Wizard@users.noreply.github.com>
Date: Thu, 13 May 2021 15:16:45 +0200
Subject: [PATCH] Adapt to new spritehandle names
Lots of files! However only change was renaming the icons overall.
---
.../Editor/Content/Items/CSharpScriptItem.cs | 2 +-
Source/Editor/Content/Items/ContentFolder.cs | 2 +-
Source/Editor/Content/Items/ContentItem.cs | 2 +-
Source/Editor/Content/Items/CppScriptItem.cs | 2 +-
Source/Editor/Content/Items/FileItem.cs | 2 +-
Source/Editor/Content/Items/JsonAssetItem.cs | 2 +-
Source/Editor/Content/Items/NewItem.cs | 2 +-
Source/Editor/Content/Items/SceneItem.cs | 2 +-
.../AndroidPlatformSettingsItem.cs | 2 +-
.../Items/SettingsItem/AudioSettingsItem.cs | 2 +-
.../Items/SettingsItem/BuildSettingsItem.cs | 2 +-
.../Items/SettingsItem/GameSettingsItem.cs | 2 +-
.../SettingsItem/GraphicsSettingsItem.cs | 2 +-
.../Items/SettingsItem/InputSettingsItem.cs | 2 +-
.../SettingsItem/LayersAndTagsSettingsItem.cs | 2 +-
.../SettingsItem/LinuxPlatformSettingsItem.cs | 2 +-
.../SettingsItem/NavigationSettingsItem.cs | 2 +-
.../Items/SettingsItem/PhysicsSettingsItem.cs | 2 +-
.../Items/SettingsItem/TimeSettingsItem.cs | 2 +-
.../SettingsItem/UWPPlatformSettingsItem.cs | 2 +-
.../WindowsPlatformSettingsItem.cs | 2 +-
.../Editor/Content/Items/ShaderSourceItem.cs | 2 +-
.../Editor/Content/Items/VisualScriptItem.cs | 2 +-
Source/Editor/Content/Tree/ContentTreeNode.cs | 2 +-
Source/Editor/EditorAssets.cs | 2 +-
Source/Editor/EditorIcons.cs | 203 +++++++++---------
Source/Editor/GUI/Dialogs/ColorSelector.cs | 2 +-
Source/Editor/GUI/PlatformSelector.cs | 14 +-
.../Editor/GUI/Timeline/GUI/GradientEditor.cs | 2 +-
.../Editor/GUI/Timeline/GUI/PositionHandle.cs | 2 +-
Source/Editor/GUI/Timeline/Timeline.cs | 22 +-
.../Editor/GUI/Timeline/Tracks/AudioTrack.cs | 6 +-
.../GUI/Timeline/Tracks/CameraCutTrack.cs | 2 +-
.../Editor/GUI/Timeline/Tracks/MemberTrack.cs | 10 +-
Source/Editor/Modules/UIModule.cs | 20 +-
Source/Editor/Options/OptionsModule.cs | 10 +-
Source/Editor/Surface/Archetypes/Function.cs | 2 +-
Source/Editor/Surface/Archetypes/Tools.cs | 2 +-
Source/Editor/Surface/SurfaceStyle.cs | 8 +-
Source/Editor/Surface/VisjectSurfaceWindow.cs | 8 +-
Source/Editor/Viewport/EditorViewport.cs | 4 +-
.../Viewport/MainEditorGizmoViewport.cs | 14 +-
.../Editor/Viewport/PrefabWindowViewport.cs | 14 +-
Source/Editor/Windows/AboutDialog.cs | 2 +-
.../Assets/AnimationGraphFunctionWindow.cs | 2 +-
.../Windows/Assets/AnimationGraphWindow.cs | 4 +-
.../Editor/Windows/Assets/AnimationWindow.cs | 8 +-
.../Windows/Assets/AssetEditorWindow.cs | 2 +-
.../Editor/Windows/Assets/AudioClipWindow.cs | 10 +-
.../Windows/Assets/CollisionDataWindow.cs | 2 +-
.../Windows/Assets/CubeTextureWindow.cs | 4 +-
Source/Editor/Windows/Assets/FontWindow.cs | 2 +-
.../Windows/Assets/GameplayGlobalsWindow.cs | 6 +-
.../Editor/Windows/Assets/IESProfileWindow.cs | 4 +-
.../Editor/Windows/Assets/JsonAssetWindow.cs | 2 +-
.../Windows/Assets/MaterialFunctionWindow.cs | 2 +-
.../Windows/Assets/MaterialInstanceWindow.cs | 10 +-
.../Editor/Windows/Assets/MaterialWindow.cs | 4 +-
.../Editor/Windows/Assets/ModelBaseWindow.cs | 2 +-
Source/Editor/Windows/Assets/ModelWindow.cs | 2 +-
.../Assets/ParticleEmitterFunctionWindow.cs | 2 +-
.../Windows/Assets/ParticleEmitterWindow.cs | 4 +-
.../Windows/Assets/ParticleSystemWindow.cs | 8 +-
Source/Editor/Windows/Assets/PrefabWindow.cs | 8 +-
.../Windows/Assets/PreviewsCacheWindow.cs | 2 +-
.../Windows/Assets/SceneAnimationWindow.cs | 10 +-
.../Windows/Assets/SkeletonMaskWindow.cs | 4 +-
.../Windows/Assets/SkinnedModelWindow.cs | 4 +-
.../Windows/Assets/SpriteAtlasWindow.cs | 8 +-
Source/Editor/Windows/Assets/TextureWindow.cs | 6 +-
.../Assets/VisjectFunctionSurfaceWindow.cs | 8 +-
.../Windows/Assets/VisualScriptWindow.cs | 26 +--
Source/Editor/Windows/ContentWindow.cs | 8 +-
Source/Editor/Windows/DebugLogWindow.cs | 12 +-
Source/Editor/Windows/EditorOptionsWindow.cs | 2 +-
Source/Editor/Windows/PluginsWindow.cs | 2 +-
.../Editor/Windows/Profiler/ProfilerWindow.cs | 10 +-
Source/Editor/Windows/ToolboxWindow.cs | 8 +-
.../Windows/VisualScriptDebuggerWindow.cs | 8 +-
79 files changed, 302 insertions(+), 301 deletions(-)
diff --git a/Source/Editor/Content/Items/CSharpScriptItem.cs b/Source/Editor/Content/Items/CSharpScriptItem.cs
index 6160de2bb..332b48558 100644
--- a/Source/Editor/Content/Items/CSharpScriptItem.cs
+++ b/Source/Editor/Content/Items/CSharpScriptItem.cs
@@ -20,6 +20,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CSharpScript64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CSharpScript128;
}
}
diff --git a/Source/Editor/Content/Items/ContentFolder.cs b/Source/Editor/Content/Items/ContentFolder.cs
index 8ae934b78..8c7e52b2c 100644
--- a/Source/Editor/Content/Items/ContentFolder.cs
+++ b/Source/Editor/Content/Items/ContentFolder.cs
@@ -121,7 +121,7 @@ namespace FlaxEditor.Content
public override bool Exists => Directory.Exists(Path);
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Folder64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Folder128;
///
internal override void UpdatePath(string value)
diff --git a/Source/Editor/Content/Items/ContentItem.cs b/Source/Editor/Content/Items/ContentItem.cs
index 2e75de940..9813cd44e 100644
--- a/Source/Editor/Content/Items/ContentItem.cs
+++ b/Source/Editor/Content/Items/ContentItem.cs
@@ -455,7 +455,7 @@ namespace FlaxEditor.Content
const float thumbnailInShadowSize = 50.0f;
var shadowRect = rectangle.MakeExpanded((DefaultThumbnailSize - thumbnailInShadowSize) * rectangle.Width / DefaultThumbnailSize * 1.3f);
if (!_shadowIcon.IsValid)
- _shadowIcon = Editor.Instance.Icons.AssetShadow;
+ _shadowIcon = Editor.Instance.Icons.AssetShadow128;
Render2D.DrawSprite(_shadowIcon, shadowRect);
}
diff --git a/Source/Editor/Content/Items/CppScriptItem.cs b/Source/Editor/Content/Items/CppScriptItem.cs
index 1f7bc9f19..1ffead58c 100644
--- a/Source/Editor/Content/Items/CppScriptItem.cs
+++ b/Source/Editor/Content/Items/CppScriptItem.cs
@@ -20,6 +20,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CppScript64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CPPScript128;
}
}
diff --git a/Source/Editor/Content/Items/FileItem.cs b/Source/Editor/Content/Items/FileItem.cs
index 7a3d0fa65..a078178d8 100644
--- a/Source/Editor/Content/Items/FileItem.cs
+++ b/Source/Editor/Content/Items/FileItem.cs
@@ -26,6 +26,6 @@ namespace FlaxEditor.Content
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Other;
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128;
}
}
diff --git a/Source/Editor/Content/Items/JsonAssetItem.cs b/Source/Editor/Content/Items/JsonAssetItem.cs
index 6e32ad49a..1fcada72a 100644
--- a/Source/Editor/Content/Items/JsonAssetItem.cs
+++ b/Source/Editor/Content/Items/JsonAssetItem.cs
@@ -26,7 +26,7 @@ namespace FlaxEditor.Content
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Json;
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128;
///
protected override bool DrawShadow => false;
diff --git a/Source/Editor/Content/Items/NewItem.cs b/Source/Editor/Content/Items/NewItem.cs
index da06c6bfd..366e07df8 100644
--- a/Source/Editor/Content/Items/NewItem.cs
+++ b/Source/Editor/Content/Items/NewItem.cs
@@ -40,7 +40,7 @@ namespace FlaxEditor.Content
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Other;
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128;
///
protected override bool DrawShadow => true;
diff --git a/Source/Editor/Content/Items/SceneItem.cs b/Source/Editor/Content/Items/SceneItem.cs
index 190fe9807..15b79e96b 100644
--- a/Source/Editor/Content/Items/SceneItem.cs
+++ b/Source/Editor/Content/Items/SceneItem.cs
@@ -28,7 +28,7 @@ namespace FlaxEditor.Content
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Scene;
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Scene64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Scene128;
///
public override bool IsOfType(Type type)
diff --git a/Source/Editor/Content/Items/SettingsItem/AndroidPlatformSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/AndroidPlatformSettingsItem.cs
index 98ecb97fe..9a487ac2c 100644
--- a/Source/Editor/Content/Items/SettingsItem/AndroidPlatformSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/AndroidPlatformSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.AndroidSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.AndroidSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/AudioSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/AudioSettingsItem.cs
index 0a4b1818e..464f8a870 100644
--- a/Source/Editor/Content/Items/SettingsItem/AudioSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/AudioSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.AudioSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.AudioSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/BuildSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/BuildSettingsItem.cs
index 1cc976560..4e3264226 100644
--- a/Source/Editor/Content/Items/SettingsItem/BuildSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/BuildSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.BuildSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.BuildSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/GameSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/GameSettingsItem.cs
index c0282d171..f3933a55a 100644
--- a/Source/Editor/Content/Items/SettingsItem/GameSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/GameSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.GameSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.GameSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/GraphicsSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/GraphicsSettingsItem.cs
index 82d1bba96..19c74be3b 100644
--- a/Source/Editor/Content/Items/SettingsItem/GraphicsSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/GraphicsSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.GraphicsSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.GraphicsSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/InputSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/InputSettingsItem.cs
index f759e5c6a..5626a0401 100644
--- a/Source/Editor/Content/Items/SettingsItem/InputSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/InputSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.InputSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.InputSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/LayersAndTagsSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/LayersAndTagsSettingsItem.cs
index 29caa028d..904d563c2 100644
--- a/Source/Editor/Content/Items/SettingsItem/LayersAndTagsSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/LayersAndTagsSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.LayersAndTagsSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.LayersTagsSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/LinuxPlatformSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/LinuxPlatformSettingsItem.cs
index c6e78bf66..36d323c29 100644
--- a/Source/Editor/Content/Items/SettingsItem/LinuxPlatformSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/LinuxPlatformSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.LinuxSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.LinuxSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/NavigationSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/NavigationSettingsItem.cs
index 22d43b94b..8f6c778a0 100644
--- a/Source/Editor/Content/Items/SettingsItem/NavigationSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/NavigationSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.NavigationSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.NavigationSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/PhysicsSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/PhysicsSettingsItem.cs
index 78fdd9e92..675df7104 100644
--- a/Source/Editor/Content/Items/SettingsItem/PhysicsSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/PhysicsSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.PhysicsSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.PhysicsSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/TimeSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/TimeSettingsItem.cs
index 1f54f53f0..5ce4de057 100644
--- a/Source/Editor/Content/Items/SettingsItem/TimeSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/TimeSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.TimeSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.TimeSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/UWPPlatformSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/UWPPlatformSettingsItem.cs
index d83262340..55e125089 100644
--- a/Source/Editor/Content/Items/SettingsItem/UWPPlatformSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/UWPPlatformSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.UWPSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.UWPSettings128;
}
}
diff --git a/Source/Editor/Content/Items/SettingsItem/WindowsPlatformSettingsItem.cs b/Source/Editor/Content/Items/SettingsItem/WindowsPlatformSettingsItem.cs
index caf4b3012..045269688 100644
--- a/Source/Editor/Content/Items/SettingsItem/WindowsPlatformSettingsItem.cs
+++ b/Source/Editor/Content/Items/SettingsItem/WindowsPlatformSettingsItem.cs
@@ -23,6 +23,6 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.WindowsSettings;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.WindowsSettings128;
}
}
diff --git a/Source/Editor/Content/Items/ShaderSourceItem.cs b/Source/Editor/Content/Items/ShaderSourceItem.cs
index 77cd6d6ee..7ae04257b 100644
--- a/Source/Editor/Content/Items/ShaderSourceItem.cs
+++ b/Source/Editor/Content/Items/ShaderSourceItem.cs
@@ -27,6 +27,6 @@ namespace FlaxEditor.Content
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Shader;
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128;
}
}
diff --git a/Source/Editor/Content/Items/VisualScriptItem.cs b/Source/Editor/Content/Items/VisualScriptItem.cs
index 22f1d75cc..aab0cb19f 100644
--- a/Source/Editor/Content/Items/VisualScriptItem.cs
+++ b/Source/Editor/Content/Items/VisualScriptItem.cs
@@ -538,7 +538,7 @@ namespace FlaxEditor.Content
}
///
- public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CodeScript64;
+ public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.VisualScript128;
///
protected override bool DrawShadow => false;
diff --git a/Source/Editor/Content/Tree/ContentTreeNode.cs b/Source/Editor/Content/Tree/ContentTreeNode.cs
index 78cc7f2b5..9179c3c07 100644
--- a/Source/Editor/Content/Tree/ContentTreeNode.cs
+++ b/Source/Editor/Content/Tree/ContentTreeNode.cs
@@ -77,7 +77,7 @@ namespace FlaxEditor.Content
/// The folder type.
/// The folder path.
protected ContentTreeNode(ContentTreeNode parent, ContentFolderType type, string path)
- : base(false, Editor.Instance.Icons.FolderClosed12, Editor.Instance.Icons.FolderOpened12)
+ : base(false, Editor.Instance.Icons.FolderClosed32, Editor.Instance.Icons.FolderOpen32)
{
_folder = new ContentFolder(type, path, this);
Text = _folder.ShortName;
diff --git a/Source/Editor/EditorAssets.cs b/Source/Editor/EditorAssets.cs
index 1a10f35ce..cf66107d6 100644
--- a/Source/Editor/EditorAssets.cs
+++ b/Source/Editor/EditorAssets.cs
@@ -45,7 +45,7 @@ namespace FlaxEditor
///
/// The icons atlas.
///
- public static string IconsAtlas = "Editor/IconsAtlas";
+ public static string IconsAtlas = "Editor/IconAtlasNew";
///
/// The primary font.
diff --git a/Source/Editor/EditorIcons.cs b/Source/Editor/EditorIcons.cs
index 8f66aaab9..d4b89b8d3 100644
--- a/Source/Editor/EditorIcons.cs
+++ b/Source/Editor/EditorIcons.cs
@@ -17,122 +17,123 @@ namespace FlaxEditor
public sealed class EditorIcons
{
// 12px
- public SpriteHandle ArrowDown12;
- public SpriteHandle ArrowRight12;
- public SpriteHandle CheckBoxIntermediate12;
- public SpriteHandle CheckBoxTick12;
- public SpriteHandle Cross12;
public SpriteHandle DragBar12;
- public SpriteHandle FolderClosed12;
- public SpriteHandle FolderOpened12;
public SpriteHandle Search12;
+ public SpriteHandle WindowDrag12;
+ public SpriteHandle CheckBoxIntermediate12;
+ public SpriteHandle ArrowRight12;
public SpriteHandle Settings12;
- public SpriteHandle StatusBarSizeGrip12;
-
- // 16px
- public SpriteHandle ArrowRightBorder16;
- public SpriteHandle Docs16;
- public SpriteHandle Grid16;
- public SpriteHandle Link16;
- public SpriteHandle Rotate16;
- public SpriteHandle RotateStep16;
- public SpriteHandle Scale16;
- public SpriteHandle ScaleStep16;
- public SpriteHandle Translate16;
- public SpriteHandle World16;
- public SpriteHandle Scalar16;
+ public SpriteHandle Cross12;
+ public SpriteHandle CheckBoxTick12;
+ public SpriteHandle ArrowDown12;
// 32px
- public SpriteHandle AddDoc32;
- public SpriteHandle ArrowDown32;
- public SpriteHandle ArrowLeft32;
- public SpriteHandle ArrowRight32;
- public SpriteHandle ArrowUp32;
- public SpriteHandle Bone32;
- public SpriteHandle BracketsSlash32;
- public SpriteHandle Build32;
- public SpriteHandle Camera32;
- public SpriteHandle Docs32;
- public SpriteHandle Error32;
- public SpriteHandle Find32;
- public SpriteHandle Image32;
- public SpriteHandle Import32;
- public SpriteHandle Info32;
- public SpriteHandle Link32;
- public SpriteHandle Next32;
- public SpriteHandle PageScale32;
- public SpriteHandle Pause32;
- public SpriteHandle Play32;
- public SpriteHandle Redo32;
- public SpriteHandle Reload32;
- public SpriteHandle RemoveDoc32;
- public SpriteHandle Rotate32;
- public SpriteHandle Save32;
- public SpriteHandle Scale32;
- public SpriteHandle Step32;
- public SpriteHandle Stop32;
+ public SpriteHandle Scalar32;
public SpriteHandle Translate32;
- public SpriteHandle Undo32;
- public SpriteHandle UV32;
- public SpriteHandle Warning32;
-
- // 48px
- public SpriteHandle Add48;
- public SpriteHandle Foliage48;
- public SpriteHandle Mountain48;
- public SpriteHandle Paint48;
-
- // 64px
- public SpriteHandle CodeScript64;
- public SpriteHandle CppScript64;
- public SpriteHandle CSharpScript64;
- public SpriteHandle Document64;
- public SpriteHandle Folder64;
- public SpriteHandle Plugin64;
- public SpriteHandle Scene64;
-
- // 128px
- public SpriteHandle ColorWheel;
- public SpriteHandle Logo128;
+ public SpriteHandle Rotate32;
+ public SpriteHandle Scale32;
+ public SpriteHandle Grid32;
+ public SpriteHandle Flax32;
+ public SpriteHandle RotateSnap32;
+ public SpriteHandle ScaleSnap32;
+ public SpriteHandle Globe32;
+ public SpriteHandle CamSpeed32;
+ public SpriteHandle Link32;
+ public SpriteHandle Add32;
+ public SpriteHandle Left32;
+ public SpriteHandle Right32;
+ public SpriteHandle Up32;
+ public SpriteHandle Down32;
+ public SpriteHandle FolderClosed32;
+ public SpriteHandle FolderOpen32;
// Visject
- public SpriteHandle VisjectArrowOpen;
- public SpriteHandle VisjectArrowClose;
- public SpriteHandle VisjectBoxOpen;
- public SpriteHandle VisjectBoxClose;
+ public SpriteHandle VisjectBoxOpen32;
+ public SpriteHandle VisjectBoxClosed32;
+ public SpriteHandle VisjectArrowOpen32;
+ public SpriteHandle VisjectArrowClosed32;
- // Platforms
- public SpriteHandle Android;
- public SpriteHandle AssetShadow;
- public SpriteHandle Linux;
- public SpriteHandle PS4;
- public SpriteHandle WindowsStore;
- public SpriteHandle Windows;
- public SpriteHandle XboxOne;
- public SpriteHandle XboxSeriesX;
+ // 64px
+ public SpriteHandle Flax64;
+ public SpriteHandle Save64;
+ public SpriteHandle Play64;
+ public SpriteHandle Stop64;
+ public SpriteHandle Pause64;
+ public SpriteHandle Skip64;
+ public SpriteHandle Info64;
+ public SpriteHandle Error64;
+ public SpriteHandle Warning64;
+ public SpriteHandle AddFile64;
+ public SpriteHandle DeleteFile64;
+ public SpriteHandle Import64;
+ public SpriteHandle Left64;
+ public SpriteHandle Right64;
+ public SpriteHandle Up64;
+ public SpriteHandle Down64;
+ public SpriteHandle Undo64;
+ public SpriteHandle Redo64;
+ public SpriteHandle Translate64;
+ public SpriteHandle Rotate64;
+ public SpriteHandle Scale64;
+ public SpriteHandle Refresh64;
+ public SpriteHandle Shift64;
+ public SpriteHandle Code64;
+ public SpriteHandle Folder64;
+ public SpriteHandle CenterView64;
+ public SpriteHandle Image64;
+ public SpriteHandle Camera64;
+ public SpriteHandle Docs64;
+ public SpriteHandle Search64;
+ public SpriteHandle Bone64;
+ public SpriteHandle Link64;
+ public SpriteHandle Build64;
+ public SpriteHandle Add64;
- // Settings
- public SpriteHandle AndroidSettings;
- public SpriteHandle AudioSettings;
- public SpriteHandle BuildSettings;
- public SpriteHandle GameSettings;
- public SpriteHandle PhysicsSettings;
- public SpriteHandle GraphicsSettings;
- public SpriteHandle InputSettings;
- public SpriteHandle LayersAndTagsSettings;
- public SpriteHandle LinuxSettings;
- public SpriteHandle NavigationSettings;
- public SpriteHandle TimeSettings;
- public SpriteHandle UWPSettings;
- public SpriteHandle WindowsSettings;
- public SpriteHandle PlaystationSettings;
- public SpriteHandle XboxSettings;
+ // 96px
+ public SpriteHandle Toolbox96;
+ public SpriteHandle Paint96;
+ public SpriteHandle Foliage96;
+ public SpriteHandle Terrain96;
+
+ // 128px
+ public SpriteHandle AndroidSettings128;
+ public SpriteHandle PlaystationSettings128;
+ public SpriteHandle InputSettings128;
+ public SpriteHandle PhysicsSettings128;
+ public SpriteHandle CSharpScript128;
+ public SpriteHandle Folder128;
+ public SpriteHandle WindowsIcon128;
+ public SpriteHandle LinuxIcon128;
+ public SpriteHandle UWPSettings128;
+ public SpriteHandle XBOXSettings128;
+ public SpriteHandle LayersTagsSettings128;
+ public SpriteHandle GraphicsSettings128;
+ public SpriteHandle CPPScript128;
+ public SpriteHandle Plugin128;
+ public SpriteHandle XBoxScarletIcon128;
+ public SpriteHandle AssetShadow128;
+ public SpriteHandle WindowsSettings128;
+ public SpriteHandle TimeSettings128;
+ public SpriteHandle GameSettings128;
+ public SpriteHandle VisualScript128;
+ public SpriteHandle Document128;
+ public SpriteHandle XBoxOne128;
+ public SpriteHandle UWPStore128;
+ public SpriteHandle ColorWheel128;
+ public SpriteHandle LinuxSettings128;
+ public SpriteHandle NavigationSettings128;
+ public SpriteHandle AudioSettings128;
+ public SpriteHandle BuildSettings128;
+ public SpriteHandle Scene128;
+ public SpriteHandle AndroidIcon128;
+ public SpriteHandle PS4Icon128;
+ public SpriteHandle FlaxLogo128;
internal void LoadIcons()
{
// Load & validate
var iconsAtlas = FlaxEngine.Content.LoadAsyncInternal(EditorAssets.IconsAtlas);
- if (iconsAtlas == null || iconsAtlas.WaitForLoaded())
+ if (iconsAtlas is null || iconsAtlas.WaitForLoaded())
{
Editor.LogError("Failed to load editor icons atlas.");
return;
diff --git a/Source/Editor/GUI/Dialogs/ColorSelector.cs b/Source/Editor/GUI/Dialogs/ColorSelector.cs
index da1b913a5..0cfc452fe 100644
--- a/Source/Editor/GUI/Dialogs/ColorSelector.cs
+++ b/Source/Editor/GUI/Dialogs/ColorSelector.cs
@@ -61,7 +61,7 @@ namespace FlaxEditor.GUI.Dialogs
public ColorSelector(float wheelSize = 64)
: base(0, 0, wheelSize, wheelSize)
{
- _colorWheelSprite = Editor.Instance.Icons.ColorWheel;
+ _colorWheelSprite = Editor.Instance.Icons.ColorWheel128;
_wheelRect = new Rectangle(0, 0, wheelSize, wheelSize);
}
diff --git a/Source/Editor/GUI/PlatformSelector.cs b/Source/Editor/GUI/PlatformSelector.cs
index d2e8bf682..64448dfdc 100644
--- a/Source/Editor/GUI/PlatformSelector.cs
+++ b/Source/Editor/GUI/PlatformSelector.cs
@@ -82,13 +82,13 @@ namespace FlaxEditor.GUI
var icons = Editor.Instance.Icons;
var platforms = new[]
{
- new PlatformData(PlatformType.Windows, icons.Windows, "Windows"),
- new PlatformData(PlatformType.XboxOne, icons.XboxOne, "Xbox One"),
- new PlatformData(PlatformType.UWP, icons.WindowsStore, "Windows Store"),
- new PlatformData(PlatformType.Linux, icons.Linux, "Linux"),
- new PlatformData(PlatformType.PS4, icons.PS4, "PlayStation 4"),
- new PlatformData(PlatformType.XboxScarlett, icons.XboxSeriesX, "Xbox Scarlett"),
- new PlatformData(PlatformType.Android, icons.Android, "Android"),
+ new PlatformData(PlatformType.Windows, icons.WindowsIcon128, "Windows"),
+ new PlatformData(PlatformType.XboxOne, icons.XBoxOne128, "Xbox One"),
+ new PlatformData(PlatformType.UWP, icons.UWPStore128, "Windows Store"),
+ new PlatformData(PlatformType.Linux, icons.LinuxIcon128, "Linux"),
+ new PlatformData(PlatformType.PS4, icons.PS4Icon128, "PlayStation 4"),
+ new PlatformData(PlatformType.XboxScarlett, icons.XBoxScarletIcon128, "Xbox Scarlett"),
+ new PlatformData(PlatformType.Android, icons.AndroidIcon128, "Android"),
};
const float IconSize = 48.0f;
diff --git a/Source/Editor/GUI/Timeline/GUI/GradientEditor.cs b/Source/Editor/GUI/Timeline/GUI/GradientEditor.cs
index 1fc3578cb..916568571 100644
--- a/Source/Editor/GUI/Timeline/GUI/GradientEditor.cs
+++ b/Source/Editor/GUI/Timeline/GUI/GradientEditor.cs
@@ -63,7 +63,7 @@ namespace FlaxEditor.GUI.Timeline.GUI
var isMouseOver = IsMouseOver;
var color = Gradient._data[Index].Value;
var icons = Editor.Instance.Icons;
- var icon = icons.VisjectBoxClose;
+ var icon = icons.VisjectBoxClosed32;
Render2D.DrawSprite(icon, new Rectangle(0.0f, 0.0f, 10.0f, 10.0f), isMouseOver ? Color.Gray : Color.Black);
Render2D.DrawSprite(icon, new Rectangle(1.0f, 1.0f, 8.0f, 8.0f), color);
diff --git a/Source/Editor/GUI/Timeline/GUI/PositionHandle.cs b/Source/Editor/GUI/Timeline/GUI/PositionHandle.cs
index 079ef9957..93d9261e5 100644
--- a/Source/Editor/GUI/Timeline/GUI/PositionHandle.cs
+++ b/Source/Editor/GUI/Timeline/GUI/PositionHandle.cs
@@ -26,7 +26,7 @@ namespace FlaxEditor.GUI.Timeline.GUI
public override void Draw()
{
var style = Style.Current;
- var icon = Editor.Instance.Icons.VisjectArrowClose;
+ var icon = Editor.Instance.Icons.VisjectArrowClosed32;
var timeAxisHeaderOffset = -_timeline.MediaBackground.ViewOffset.Y;
Matrix3x3.RotationZ(Mathf.PiOverTwo, out var m1);
diff --git a/Source/Editor/GUI/Timeline/Timeline.cs b/Source/Editor/GUI/Timeline/Timeline.cs
index 56f8620c6..58e6a0f32 100644
--- a/Source/Editor/GUI/Timeline/Timeline.cs
+++ b/Source/Editor/GUI/Timeline/Timeline.cs
@@ -738,7 +738,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[0] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Rewind to timeline start (Home)",
- Brush = new SpriteBrush(icons.Step32),
+ Brush = new SpriteBrush(icons.Skip64),
Enabled = false,
Visible = false,
Rotation = 180.0f,
@@ -750,7 +750,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[1] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Seek back to the previous keyframe (Page Down)",
- Brush = new SpriteBrush(icons.Next32),
+ Brush = new SpriteBrush(icons.Shift64),
Enabled = false,
Visible = false,
Rotation = 180.0f,
@@ -766,7 +766,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[2] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Move one frame back (Left Arrow)",
- Brush = new SpriteBrush(icons.ArrowLeft32),
+ Brush = new SpriteBrush(icons.Left32),
Enabled = false,
Visible = false,
Parent = playbackButtonsPanel
@@ -779,7 +779,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackStop = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Stop playback",
- Brush = new SpriteBrush(icons.Stop32),
+ Brush = new SpriteBrush(icons.Stop64),
Visible = false,
Enabled = false,
Parent = playbackButtonsPanel
@@ -792,7 +792,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackPlay = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Play/pause playback (Space)",
- Brush = new SpriteBrush(icons.Play32),
+ Brush = new SpriteBrush(icons.Play64),
Visible = false,
Tag = false, // Set to true if image is set to Pause, false if Play
Parent = playbackButtonsPanel
@@ -805,7 +805,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[3] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Move one frame forward (Right Arrow)",
- Brush = new SpriteBrush(icons.ArrowRight32),
+ Brush = new SpriteBrush(icons.Right32),
Enabled = false,
Visible = false,
Parent = playbackButtonsPanel
@@ -816,7 +816,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[4] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Seek to the next keyframe (Page Up)",
- Brush = new SpriteBrush(icons.Next32),
+ Brush = new SpriteBrush(icons.Shift64),
Enabled = false,
Visible = false,
Parent = playbackButtonsPanel
@@ -831,7 +831,7 @@ namespace FlaxEditor.GUI.Timeline
_playbackNavigation[5] = new Image(playbackButtonsPanel.Width, 0, playbackButtonsSize, playbackButtonsSize)
{
TooltipText = "Rewind to timeline end (End)",
- Brush = new SpriteBrush(icons.Step32),
+ Brush = new SpriteBrush(icons.Skip64),
Enabled = false,
Visible = false,
Parent = playbackButtonsPanel
@@ -1189,7 +1189,7 @@ namespace FlaxEditor.GUI.Timeline
{
_playbackPlay.Visible = true;
_playbackPlay.Enabled = _canPlayPauseStop;
- _playbackPlay.Brush = new SpriteBrush(icons.Play32);
+ _playbackPlay.Brush = new SpriteBrush(icons.Play64);
_playbackPlay.Tag = false;
}
if (_positionHandle != null)
@@ -1215,7 +1215,7 @@ namespace FlaxEditor.GUI.Timeline
{
_playbackPlay.Visible = true;
_playbackPlay.Enabled = _canPlayPauseStop;
- _playbackPlay.Brush = new SpriteBrush(icons.Pause32);
+ _playbackPlay.Brush = new SpriteBrush(icons.Pause64);
_playbackPlay.Tag = true;
}
if (_positionHandle != null)
@@ -1241,7 +1241,7 @@ namespace FlaxEditor.GUI.Timeline
{
_playbackPlay.Visible = true;
_playbackPlay.Enabled = _canPlayPauseStop;
- _playbackPlay.Brush = new SpriteBrush(icons.Play32);
+ _playbackPlay.Brush = new SpriteBrush(icons.Play64);
_playbackPlay.Tag = false;
}
if (_positionHandle != null)
diff --git a/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs b/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs
index 031226a02..98cb3979f 100644
--- a/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs
+++ b/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs
@@ -322,7 +322,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
IsScrollable = false,
Color = Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(icons.ArrowRight32),
+ Brush = new SpriteBrush(icons.Right32),
Offsets = new Margin(-buttonSize - 2 + _muteCheckbox.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
@@ -335,7 +335,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
IsScrollable = false,
Color = Style.Current.ForegroundGrey,
Margin = new Margin(3),
- Brush = new SpriteBrush(icons.Add48),
+ Brush = new SpriteBrush(icons.Add32),
Offsets = new Margin(-buttonSize - 2 + rightKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
@@ -348,7 +348,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
IsScrollable = false,
Color = Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(icons.ArrowLeft32),
+ Brush = new SpriteBrush(icons.Left32),
Offsets = new Margin(-buttonSize - 2 + addKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
diff --git a/Source/Editor/GUI/Timeline/Tracks/CameraCutTrack.cs b/Source/Editor/GUI/Timeline/Tracks/CameraCutTrack.cs
index 0c3ab7851..fc9b17601 100644
--- a/Source/Editor/GUI/Timeline/Tracks/CameraCutTrack.cs
+++ b/Source/Editor/GUI/Timeline/Tracks/CameraCutTrack.cs
@@ -695,7 +695,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
IsScrollable = false,
Color = Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(icons.Camera32),
+ Brush = new SpriteBrush(icons.Camera64),
Offsets = new Margin(-buttonSize - 2 + _selectActor.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
diff --git a/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs b/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs
index 250fb73c3..302570fae 100644
--- a/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs
+++ b/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs
@@ -128,7 +128,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
IsScrollable = false,
Color = Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(icons.ArrowRight32),
+ Brush = new SpriteBrush(icons.Right64),
Offsets = new Margin(-buttonSize - 2 + uiLeft, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
@@ -138,9 +138,9 @@ namespace FlaxEditor.GUI.Timeline.Tracks
AutoFocus = true,
AnchorPreset = AnchorPresets.MiddleRight,
IsScrollable = false,
- Color = Style.Current.ForegroundGrey,
+ Color = Style.Current.Foreground,
Margin = new Margin(3),
- Brush = new SpriteBrush(icons.Add48),
+ Brush = new SpriteBrush(icons.Add64),
Offsets = new Margin(-buttonSize - 2 + _rightKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
@@ -150,9 +150,9 @@ namespace FlaxEditor.GUI.Timeline.Tracks
AutoFocus = true,
AnchorPreset = AnchorPresets.MiddleRight,
IsScrollable = false,
- Color = Style.Current.ForegroundGrey,
+ Color = Style.Current.Foreground,
Margin = new Margin(1),
- Brush = new SpriteBrush(icons.ArrowLeft32),
+ Brush = new SpriteBrush(icons.Left64),
Offsets = new Margin(-buttonSize - 2 + _addKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
Parent = this,
};
diff --git a/Source/Editor/Modules/UIModule.cs b/Source/Editor/Modules/UIModule.cs
index c64ceaa11..c5145a7aa 100644
--- a/Source/Editor/Modules/UIModule.cs
+++ b/Source/Editor/Modules/UIModule.cs
@@ -190,7 +190,7 @@ namespace FlaxEditor.Modules
if (isDuringBreakpointHang)
{
play.Checked = false;
- play.Icon = Editor.Icons.Stop32;
+ play.Icon = Editor.Icons.Stop64;
pause.Enabled = false;
pause.Checked = true;
pause.AutoCheck = false;
@@ -199,7 +199,7 @@ namespace FlaxEditor.Modules
else if (isPlayMode)
{
play.Checked = false;
- play.Icon = Editor.Icons.Stop32;
+ play.Icon = Editor.Icons.Stop64;
pause.Enabled = true;
pause.Checked = Editor.StateMachine.PlayingState.IsPaused;
pause.AutoCheck = false;
@@ -208,7 +208,7 @@ namespace FlaxEditor.Modules
else
{
play.Checked = Editor.Simulation.IsPlayModeRequested;
- play.Icon = Editor.Icons.Play32;
+ play.Icon = Editor.Icons.Play64;
pause.Enabled = canEnterPlayMode;
pause.AutoCheck = true;
step.Enabled = false;
@@ -501,20 +501,20 @@ namespace FlaxEditor.Modules
Parent = mainWindow,
};
- _toolStripSaveAll = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Save32, Editor.SaveAll).LinkTooltip("Save all (Ctrl+S)");
+ _toolStripSaveAll = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Save64, Editor.SaveAll).LinkTooltip("Save all (Ctrl+S)");
ToolStrip.AddSeparator();
- _toolStripUndo = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Undo32, Editor.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _toolStripRedo = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Redo32, Editor.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _toolStripUndo = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Undo64, Editor.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _toolStripRedo = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Redo64, Editor.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
ToolStrip.AddSeparator();
_toolStripTranslate = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Translate32, () => Editor.MainTransformGizmo.ActiveMode = TransformGizmoBase.Mode.Translate).LinkTooltip("Change Gizmo tool mode to Translate (1)");
_toolStripRotate = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Rotate32, () => Editor.MainTransformGizmo.ActiveMode = TransformGizmoBase.Mode.Rotate).LinkTooltip("Change Gizmo tool mode to Rotate (2)");
_toolStripScale = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Scale32, () => Editor.MainTransformGizmo.ActiveMode = TransformGizmoBase.Mode.Scale).LinkTooltip("Change Gizmo tool mode to Scale (3)");
ToolStrip.AddSeparator();
- _toolStripBuildScenes = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Build32, Editor.BuildScenesOrCancel).LinkTooltip("Build scenes data - CSG, navmesh, static lighting, env probes - configurable via Build Actions in editor options (Ctrl+F10)");
+ _toolStripBuildScenes = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Build64, Editor.BuildScenesOrCancel).LinkTooltip("Build scenes data - CSG, navmesh, static lighting, env probes - configurable via Build Actions in editor options (Ctrl+F10)");
ToolStrip.AddSeparator();
- _toolStripPlay = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Play32, Editor.Simulation.RequestPlayOrStopPlay).LinkTooltip("Start/Stop game (F5)");
- _toolStripPause = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Pause32, Editor.Simulation.RequestResumeOrPause).LinkTooltip("Pause/Resume game(F6)");
- _toolStripStep = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Step32, Editor.Simulation.RequestPlayOneFrame).LinkTooltip("Step one frame in game");
+ _toolStripPlay = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Play64, Editor.Simulation.RequestPlayOrStopPlay).LinkTooltip("Start/Stop game (F5)");
+ _toolStripPause = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Pause64, Editor.Simulation.RequestResumeOrPause).LinkTooltip("Pause/Resume game(F6)");
+ _toolStripStep = (ToolStripButton)ToolStrip.AddButton(Editor.Icons.Skip64, Editor.Simulation.RequestPlayOneFrame).LinkTooltip("Step one frame in game");
UpdateToolstrip();
}
diff --git a/Source/Editor/Options/OptionsModule.cs b/Source/Editor/Options/OptionsModule.cs
index fb6fc4438..a8eb0101d 100644
--- a/Source/Editor/Options/OptionsModule.cs
+++ b/Source/Editor/Options/OptionsModule.cs
@@ -245,11 +245,11 @@ namespace FlaxEditor.Options
Cross = Editor.Icons.Cross12,
CheckBoxIntermediate = Editor.Icons.CheckBoxIntermediate12,
CheckBoxTick = Editor.Icons.CheckBoxTick12,
- StatusBarSizeGrip = Editor.Icons.StatusBarSizeGrip12,
- Translate = Editor.Icons.Translate16,
- Rotate = Editor.Icons.Rotate16,
- Scale = Editor.Icons.Scale16,
- Scalar = Editor.Icons.Scalar16,
+ StatusBarSizeGrip = Editor.Icons.WindowDrag12,
+ Translate = Editor.Icons.Translate32,
+ Rotate = Editor.Icons.Rotate32,
+ Scale = Editor.Icons.Scale32,
+ Scalar = Editor.Icons.Scalar32,
SharedTooltip = new Tooltip()
};
diff --git a/Source/Editor/Surface/Archetypes/Function.cs b/Source/Editor/Surface/Archetypes/Function.cs
index a47b41a82..ae8bb2d21 100644
--- a/Source/Editor/Surface/Archetypes/Function.cs
+++ b/Source/Editor/Surface/Archetypes/Function.cs
@@ -1993,7 +1993,7 @@ namespace FlaxEditor.Surface.Archetypes
}
else if (_isBind)
{
- _helperButton.Brush = new SpriteBrush(Editor.Instance.Icons.Add48);
+ _helperButton.Brush = new SpriteBrush(Editor.Instance.Icons.Add64);
_helperButton.Color = Color.Red;
_helperButton.TooltipText = "Add new handler function and bind it to this event";
_helperButton.Enabled = _signature != null;
diff --git a/Source/Editor/Surface/Archetypes/Tools.cs b/Source/Editor/Surface/Archetypes/Tools.cs
index e5513b598..81c1e5bf4 100644
--- a/Source/Editor/Surface/Archetypes/Tools.cs
+++ b/Source/Editor/Surface/Archetypes/Tools.cs
@@ -104,7 +104,7 @@ namespace FlaxEditor.Surface.Archetypes
color *= 1.3f;
color.A = 1.0f;
var icons = Editor.Instance.Icons;
- var icon = isSelected ? icons.VisjectArrowClose : icons.VisjectArrowOpen;
+ var icon = isSelected ? icons.VisjectArrowClosed32 : icons.VisjectArrowOpen32;
Render2D.PushTransform(ref arrowTransform);
Render2D.DrawSprite(icon, arrowRect, color);
diff --git a/Source/Editor/Surface/SurfaceStyle.cs b/Source/Editor/Surface/SurfaceStyle.cs
index 18de19118..db25b9f09 100644
--- a/Source/Editor/Surface/SurfaceStyle.cs
+++ b/Source/Editor/Surface/SurfaceStyle.cs
@@ -224,10 +224,10 @@ namespace FlaxEditor.Surface
},
Icons =
{
- BoxOpen = editor.Icons.VisjectBoxOpen,
- BoxClose = editor.Icons.VisjectBoxClose,
- ArrowOpen = editor.Icons.VisjectArrowOpen,
- ArrowClose = editor.Icons.VisjectArrowClose,
+ BoxOpen = editor.Icons.VisjectBoxOpen32,
+ BoxClose = editor.Icons.VisjectBoxClosed32,
+ ArrowOpen = editor.Icons.VisjectArrowOpen32,
+ ArrowClose = editor.Icons.VisjectArrowClosed32,
},
Background = editor.UI.VisjectSurfaceBackground,
};
diff --git a/Source/Editor/Surface/VisjectSurfaceWindow.cs b/Source/Editor/Surface/VisjectSurfaceWindow.cs
index b5c502ba5..810f125ae 100644
--- a/Source/Editor/Surface/VisjectSurfaceWindow.cs
+++ b/Source/Editor/Surface/VisjectSurfaceWindow.cs
@@ -759,12 +759,12 @@ namespace FlaxEditor.Surface
_propertiesEditor.Modified += OnPropertyEdited;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.PageScale32, ShowWholeGraph).LinkTooltip("Show whole graph");
+ _toolstrip.AddButton(editor.Icons.CenterView64, ShowWholeGraph).LinkTooltip("Show whole graph");
// Setup input actions
InputActions.Add(options => options.Undo, _undo.PerformUndo);
diff --git a/Source/Editor/Viewport/EditorViewport.cs b/Source/Editor/Viewport/EditorViewport.cs
index a1e2df86c..884dcbefb 100644
--- a/Source/Editor/Viewport/EditorViewport.cs
+++ b/Source/Editor/Viewport/EditorViewport.cs
@@ -443,7 +443,7 @@ namespace FlaxEditor.Viewport
// Camera speed widget
var camSpeed = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
var camSpeedCM = new ContextMenu();
- var camSpeedButton = new ViewportWidgetButton(_movementSpeed.ToString(), Editor.Instance.Icons.ArrowRightBorder16, camSpeedCM)
+ var camSpeedButton = new ViewportWidgetButton(_movementSpeed.ToString(), Editor.Instance.Icons.CamSpeed32, camSpeedCM)
{
Tag = this,
TooltipText = "Camera speed scale"
@@ -484,7 +484,7 @@ namespace FlaxEditor.Viewport
// View Flags
{
var viewFlags = ViewWidgetButtonMenu.AddChildMenu("View Flags").ContextMenu;
- viewFlags.AddButton("Reset flags", () => Task.ViewFlags = ViewFlags.DefaultEditor).Icon = Editor.Instance.Icons.Rotate16;
+ viewFlags.AddButton("Reset flags", () => Task.ViewFlags = ViewFlags.DefaultEditor).Icon = Editor.Instance.Icons.Rotate32;
viewFlags.AddSeparator();
for (int i = 0; i < EditorViewportViewFlagsValues.Length; i++)
{
diff --git a/Source/Editor/Viewport/MainEditorGizmoViewport.cs b/Source/Editor/Viewport/MainEditorGizmoViewport.cs
index 64ee739df..d0cc53059 100644
--- a/Source/Editor/Viewport/MainEditorGizmoViewport.cs
+++ b/Source/Editor/Viewport/MainEditorGizmoViewport.cs
@@ -219,7 +219,7 @@ namespace FlaxEditor.Viewport
// Transform space widget
var transformSpaceWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var transformSpaceToggle = new ViewportWidgetButton(string.Empty, editor.Icons.World16, null, true)
+ var transformSpaceToggle = new ViewportWidgetButton(string.Empty, editor.Icons.Globe32, null, true)
{
Checked = TransformGizmo.ActiveTransformSpace == TransformGizmoBase.TransformSpace.World,
TooltipText = "Gizmo transform space (world or local)",
@@ -230,7 +230,7 @@ namespace FlaxEditor.Viewport
// Scale snapping widget
var scaleSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableScaleSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.ScaleStep16, null, true)
+ var enableScaleSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.ScaleSnap32, null, true)
{
Checked = TransformGizmo.ScaleSnapEnabled,
TooltipText = "Enable scale snapping",
@@ -257,7 +257,7 @@ namespace FlaxEditor.Viewport
// Rotation snapping widget
var rotateSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableRotateSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.RotateStep16, null, true)
+ var enableRotateSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.RotateSnap32, null, true)
{
Checked = TransformGizmo.RotationSnapEnabled,
TooltipText = "Enable rotation snapping",
@@ -284,7 +284,7 @@ namespace FlaxEditor.Viewport
// Translation snapping widget
var translateSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableTranslateSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.Grid16, null, true)
+ var enableTranslateSnapping = new ViewportWidgetButton(string.Empty, editor.Icons.Grid32, null, true)
{
Checked = TransformGizmo.TranslationSnapEnable,
TooltipText = "Enable position snapping",
@@ -311,7 +311,7 @@ namespace FlaxEditor.Viewport
// Gizmo mode widget
var gizmoMode = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- _gizmoModeTranslate = new ViewportWidgetButton(string.Empty, editor.Icons.Translate16, null, true)
+ _gizmoModeTranslate = new ViewportWidgetButton(string.Empty, editor.Icons.Translate32, null, true)
{
Tag = TransformGizmoBase.Mode.Translate,
TooltipText = "Translate gizmo mode",
@@ -319,14 +319,14 @@ namespace FlaxEditor.Viewport
Parent = gizmoMode
};
_gizmoModeTranslate.Toggled += OnGizmoModeToggle;
- _gizmoModeRotate = new ViewportWidgetButton(string.Empty, editor.Icons.Rotate16, null, true)
+ _gizmoModeRotate = new ViewportWidgetButton(string.Empty, editor.Icons.Rotate32, null, true)
{
Tag = TransformGizmoBase.Mode.Rotate,
TooltipText = "Rotate gizmo mode",
Parent = gizmoMode
};
_gizmoModeRotate.Toggled += OnGizmoModeToggle;
- _gizmoModeScale = new ViewportWidgetButton(string.Empty, editor.Icons.Scale16, null, true)
+ _gizmoModeScale = new ViewportWidgetButton(string.Empty, editor.Icons.Scale32, null, true)
{
Tag = TransformGizmoBase.Mode.Scale,
TooltipText = "Scale gizmo mode",
diff --git a/Source/Editor/Viewport/PrefabWindowViewport.cs b/Source/Editor/Viewport/PrefabWindowViewport.cs
index 1b66b8c95..34361c7c7 100644
--- a/Source/Editor/Viewport/PrefabWindowViewport.cs
+++ b/Source/Editor/Viewport/PrefabWindowViewport.cs
@@ -117,7 +117,7 @@ namespace FlaxEditor.Viewport
// Transform space widget
var transformSpaceWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var transformSpaceToggle = new ViewportWidgetButton(string.Empty, window.Editor.Icons.World16, null, true)
+ var transformSpaceToggle = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Globe32, null, true)
{
Checked = TransformGizmo.ActiveTransformSpace == TransformGizmoBase.TransformSpace.World,
TooltipText = "Gizmo transform space (world or local)",
@@ -128,7 +128,7 @@ namespace FlaxEditor.Viewport
// Scale snapping widget
var scaleSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableScaleSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.ScaleStep16, null, true)
+ var enableScaleSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.ScaleSnap32, null, true)
{
Checked = TransformGizmo.ScaleSnapEnabled,
TooltipText = "Enable scale snapping",
@@ -155,7 +155,7 @@ namespace FlaxEditor.Viewport
// Rotation snapping widget
var rotateSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableRotateSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.RotateStep16, null, true)
+ var enableRotateSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.RotateSnap32, null, true)
{
Checked = TransformGizmo.RotationSnapEnabled,
TooltipText = "Enable rotation snapping",
@@ -182,7 +182,7 @@ namespace FlaxEditor.Viewport
// Translation snapping widget
var translateSnappingWidget = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- var enableTranslateSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Grid16, null, true)
+ var enableTranslateSnapping = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Grid32, null, true)
{
Checked = TransformGizmo.TranslationSnapEnable,
TooltipText = "Enable position snapping",
@@ -209,7 +209,7 @@ namespace FlaxEditor.Viewport
// Gizmo mode widget
var gizmoMode = new ViewportWidgetsContainer(ViewportWidgetLocation.UpperRight);
- _gizmoModeTranslate = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Translate16, null, true)
+ _gizmoModeTranslate = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Translate32, null, true)
{
Tag = TransformGizmoBase.Mode.Translate,
TooltipText = "Translate gizmo mode",
@@ -217,14 +217,14 @@ namespace FlaxEditor.Viewport
Parent = gizmoMode
};
_gizmoModeTranslate.Toggled += OnGizmoModeToggle;
- _gizmoModeRotate = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Rotate16, null, true)
+ _gizmoModeRotate = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Rotate32, null, true)
{
Tag = TransformGizmoBase.Mode.Rotate,
TooltipText = "Rotate gizmo mode",
Parent = gizmoMode
};
_gizmoModeRotate.Toggled += OnGizmoModeToggle;
- _gizmoModeScale = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Scale16, null, true)
+ _gizmoModeScale = new ViewportWidgetButton(string.Empty, window.Editor.Icons.Scale32, null, true)
{
Tag = TransformGizmoBase.Mode.Scale,
TooltipText = "Scale gizmo mode",
diff --git a/Source/Editor/Windows/AboutDialog.cs b/Source/Editor/Windows/AboutDialog.cs
index bb320fb87..227bdb5c6 100644
--- a/Source/Editor/Windows/AboutDialog.cs
+++ b/Source/Editor/Windows/AboutDialog.cs
@@ -34,7 +34,7 @@ namespace FlaxEditor.Windows
{
Image icon = new Image(4, 4, 80, 80)
{
- Brush = new SpriteBrush(Editor.Instance.Icons.Logo128),
+ Brush = new SpriteBrush(Editor.Instance.Icons.FlaxLogo128),
Parent = this
};
var nameLabel = new Label(icon.Right + 10, icon.Top, 200, 34)
diff --git a/Source/Editor/Windows/Assets/AnimationGraphFunctionWindow.cs b/Source/Editor/Windows/Assets/AnimationGraphFunctionWindow.cs
index 439f61c9f..4be79d36d 100644
--- a/Source/Editor/Windows/Assets/AnimationGraphFunctionWindow.cs
+++ b/Source/Editor/Windows/Assets/AnimationGraphFunctionWindow.cs
@@ -33,7 +33,7 @@ namespace FlaxEditor.Windows.Assets
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/anim-graph/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/anim-graph/index.html")).LinkTooltip("See documentation to learn more");
// Navigation bar
_navigationBar = new NavigationBar
diff --git a/Source/Editor/Windows/Assets/AnimationGraphWindow.cs b/Source/Editor/Windows/Assets/AnimationGraphWindow.cs
index f25b51612..634202061 100644
--- a/Source/Editor/Windows/Assets/AnimationGraphWindow.cs
+++ b/Source/Editor/Windows/Assets/AnimationGraphWindow.cs
@@ -251,9 +251,9 @@ namespace FlaxEditor.Windows.Assets
_surface.ContextChanged += OnSurfaceContextChanged;
// Toolstrip
- _toolstrip.AddButton(editor.Icons.Bone32, () => _preview.ShowNodes = !_preview.ShowNodes).SetAutoCheck(true).LinkTooltip("Show animated model nodes debug view");
+ _toolstrip.AddButton(editor.Icons.Bone64, () => _preview.ShowNodes = !_preview.ShowNodes).SetAutoCheck(true).LinkTooltip("Show animated model nodes debug view");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/anim-graph/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/anim-graph/index.html")).LinkTooltip("See documentation to learn more");
// Debug picker
var debugPickerContainer = new ContainerControl();
diff --git a/Source/Editor/Windows/Assets/AnimationWindow.cs b/Source/Editor/Windows/Assets/AnimationWindow.cs
index fde6ec3cb..5665a87ce 100644
--- a/Source/Editor/Windows/Assets/AnimationWindow.cs
+++ b/Source/Editor/Windows/Assets/AnimationWindow.cs
@@ -150,12 +150,12 @@ namespace FlaxEditor.Windows.Assets
_propertiesPresenter.Modified += MarkAsEdited;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/animation/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/animation/index.html")).LinkTooltip("See documentation to learn more");
// Setup input actions
InputActions.Add(options => options.Undo, _undo.PerformUndo);
diff --git a/Source/Editor/Windows/Assets/AssetEditorWindow.cs b/Source/Editor/Windows/Assets/AssetEditorWindow.cs
index 8ad655d01..94b78db7e 100644
--- a/Source/Editor/Windows/Assets/AssetEditorWindow.cs
+++ b/Source/Editor/Windows/Assets/AssetEditorWindow.cs
@@ -53,7 +53,7 @@ namespace FlaxEditor.Windows.Assets
{
Parent = this
};
- _toolstrip.AddButton(editor.Icons.Find32, () => Editor.Windows.ContentWin.Select(_item)).LinkTooltip("Show and select in Content Window");
+ _toolstrip.AddButton(editor.Icons.Search64, () => Editor.Windows.ContentWin.Select(_item)).LinkTooltip("Show and select in Content Window");
InputActions.Add(options => options.Save, Save);
diff --git a/Source/Editor/Windows/Assets/AudioClipWindow.cs b/Source/Editor/Windows/Assets/AudioClipWindow.cs
index 1d6850200..cce6985dc 100644
--- a/Source/Editor/Windows/Assets/AudioClipWindow.cs
+++ b/Source/Editor/Windows/Assets/AudioClipWindow.cs
@@ -152,12 +152,12 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Select(_properties);
// Toolstrip
- _toolstrip.AddButton(Editor.Icons.Import32, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
+ _toolstrip.AddButton(Editor.Icons.Import64, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
_toolstrip.AddSeparator();
- _playButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Play32, OnPlay).LinkTooltip("Play/stop audio");
- _pauseButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Pause32, OnPause).LinkTooltip("Pause audio");
+ _playButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Play64, OnPlay).LinkTooltip("Play/stop audio");
+ _pauseButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Pause64, OnPause).LinkTooltip("Pause audio");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/audio/audio-clip.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/audio/audio-clip.html")).LinkTooltip("See documentation to learn more");
}
private void OnPlay()
@@ -244,7 +244,7 @@ namespace FlaxEditor.Windows.Assets
{
base.UpdateToolstrip();
- _playButton.Icon = _previewSource && _previewSource.State == AudioSource.States.Playing ? Editor.Icons.Stop32 : Editor.Icons.Play32;
+ _playButton.Icon = _previewSource && _previewSource.State == AudioSource.States.Playing ? Editor.Icons.Stop64 : Editor.Icons.Play64;
_pauseButton.Enabled = _previewSource && _previewSource.State == AudioSource.States.Playing;
}
diff --git a/Source/Editor/Windows/Assets/CollisionDataWindow.cs b/Source/Editor/Windows/Assets/CollisionDataWindow.cs
index 23f9ae5ed..e048e8dbe 100644
--- a/Source/Editor/Windows/Assets/CollisionDataWindow.cs
+++ b/Source/Editor/Windows/Assets/CollisionDataWindow.cs
@@ -164,7 +164,7 @@ namespace FlaxEditor.Windows.Assets
{
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/physics/colliders/collision-data.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/physics/colliders/collision-data.html")).LinkTooltip("See documentation to learn more");
// Split Panel
_split = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.Vertical)
diff --git a/Source/Editor/Windows/Assets/CubeTextureWindow.cs b/Source/Editor/Windows/Assets/CubeTextureWindow.cs
index 641441de7..7850f8960 100644
--- a/Source/Editor/Windows/Assets/CubeTextureWindow.cs
+++ b/Source/Editor/Windows/Assets/CubeTextureWindow.cs
@@ -140,9 +140,9 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Select(_properties);
// Toolstrip
- _toolstrip.AddButton(Editor.Icons.Import32, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
+ _toolstrip.AddButton(Editor.Icons.Import64, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/textures/cube-textures.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/textures/cube-textures.html")).LinkTooltip("See documentation to learn more");
}
///
diff --git a/Source/Editor/Windows/Assets/FontWindow.cs b/Source/Editor/Windows/Assets/FontWindow.cs
index e33076606..63201ea9e 100644
--- a/Source/Editor/Windows/Assets/FontWindow.cs
+++ b/Source/Editor/Windows/Assets/FontWindow.cs
@@ -111,7 +111,7 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Select(_proxy);
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");
}
private void OnTextChanged()
diff --git a/Source/Editor/Windows/Assets/GameplayGlobalsWindow.cs b/Source/Editor/Windows/Assets/GameplayGlobalsWindow.cs
index f185e3eec..cca17e825 100644
--- a/Source/Editor/Windows/Assets/GameplayGlobalsWindow.cs
+++ b/Source/Editor/Windows/Assets/GameplayGlobalsWindow.cs
@@ -407,10 +407,10 @@ namespace FlaxEditor.Windows.Assets
_proxy = new PropertiesProxy();
_propertiesEditor.Select(_proxy);
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save asset");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save asset");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
_resetButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Rotate32, Reset).LinkTooltip("Resets the variables values to the default values");
diff --git a/Source/Editor/Windows/Assets/IESProfileWindow.cs b/Source/Editor/Windows/Assets/IESProfileWindow.cs
index 81ea9b496..c501a673d 100644
--- a/Source/Editor/Windows/Assets/IESProfileWindow.cs
+++ b/Source/Editor/Windows/Assets/IESProfileWindow.cs
@@ -27,9 +27,9 @@ namespace FlaxEditor.Windows.Assets
};
// Toolstrip
- _toolstrip.AddButton(editor.Icons.Import32, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
+ _toolstrip.AddButton(editor.Icons.Import64, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.PageScale32, _preview.CenterView).LinkTooltip("Center view");
+ _toolstrip.AddButton(editor.Icons.CenterView64, _preview.CenterView).LinkTooltip("Center view");
}
///
diff --git a/Source/Editor/Windows/Assets/JsonAssetWindow.cs b/Source/Editor/Windows/Assets/JsonAssetWindow.cs
index 779c8cc4e..b647423d0 100644
--- a/Source/Editor/Windows/Assets/JsonAssetWindow.cs
+++ b/Source/Editor/Windows/Assets/JsonAssetWindow.cs
@@ -25,7 +25,7 @@ namespace FlaxEditor.Windows.Assets
: base(editor, item)
{
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");
// Panel
var panel = new Panel(ScrollBars.Vertical)
diff --git a/Source/Editor/Windows/Assets/MaterialFunctionWindow.cs b/Source/Editor/Windows/Assets/MaterialFunctionWindow.cs
index 20b091a04..6b62d1689 100644
--- a/Source/Editor/Windows/Assets/MaterialFunctionWindow.cs
+++ b/Source/Editor/Windows/Assets/MaterialFunctionWindow.cs
@@ -29,7 +29,7 @@ namespace FlaxEditor.Windows.Assets
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/index.html")).LinkTooltip("See documentation to learn more");
}
///
diff --git a/Source/Editor/Windows/Assets/MaterialInstanceWindow.cs b/Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
index 4f67e4f72..c5becfe7d 100644
--- a/Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
+++ b/Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
@@ -327,14 +327,14 @@ namespace FlaxEditor.Windows.Assets
_undo.ActionDone += OnAction;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(Editor.Icons.Rotate32, OnRevertAllParameters).LinkTooltip("Revert all the parameters to the default values");
+ _toolstrip.AddButton(Editor.Icons.Rotate64, OnRevertAllParameters).LinkTooltip("Revert all the parameters to the default values");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/instanced-materials/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/instanced-materials/index.html")).LinkTooltip("See documentation to learn more");
// Split Panel
_split = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.Vertical)
diff --git a/Source/Editor/Windows/Assets/MaterialWindow.cs b/Source/Editor/Windows/Assets/MaterialWindow.cs
index 3e0ac8fb1..37dcc40ce 100644
--- a/Source/Editor/Windows/Assets/MaterialWindow.cs
+++ b/Source/Editor/Windows/Assets/MaterialWindow.cs
@@ -233,8 +233,8 @@ namespace FlaxEditor.Windows.Assets
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.BracketsSlash32, ShowSourceCode).LinkTooltip("Show generated shader source code");
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Code64, ShowSourceCode).LinkTooltip("Show generated shader source code");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/materials/index.html")).LinkTooltip("See documentation to learn more");
}
private void ShowSourceCode()
diff --git a/Source/Editor/Windows/Assets/ModelBaseWindow.cs b/Source/Editor/Windows/Assets/ModelBaseWindow.cs
index 74b690f98..7382d727c 100644
--- a/Source/Editor/Windows/Assets/ModelBaseWindow.cs
+++ b/Source/Editor/Windows/Assets/ModelBaseWindow.cs
@@ -102,7 +102,7 @@ namespace FlaxEditor.Windows.Assets
: base(editor, item)
{
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");
// Split Panel
_split = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.None)
diff --git a/Source/Editor/Windows/Assets/ModelWindow.cs b/Source/Editor/Windows/Assets/ModelWindow.cs
index b16a01a73..eda402b7b 100644
--- a/Source/Editor/Windows/Assets/ModelWindow.cs
+++ b/Source/Editor/Windows/Assets/ModelWindow.cs
@@ -825,7 +825,7 @@ namespace FlaxEditor.Windows.Assets
{
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/models/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/models/index.html")).LinkTooltip("See documentation to learn more");
// Model preview
_preview = new Preview(this)
diff --git a/Source/Editor/Windows/Assets/ParticleEmitterFunctionWindow.cs b/Source/Editor/Windows/Assets/ParticleEmitterFunctionWindow.cs
index a449aec82..abad899f4 100644
--- a/Source/Editor/Windows/Assets/ParticleEmitterFunctionWindow.cs
+++ b/Source/Editor/Windows/Assets/ParticleEmitterFunctionWindow.cs
@@ -29,7 +29,7 @@ namespace FlaxEditor.Windows.Assets
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
}
///
diff --git a/Source/Editor/Windows/Assets/ParticleEmitterWindow.cs b/Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
index 21107452f..1968c5735 100644
--- a/Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
+++ b/Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
@@ -139,8 +139,8 @@ namespace FlaxEditor.Windows.Assets
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.BracketsSlash32, ShowSourceCode).LinkTooltip("Show generated shader source code");
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Code64, ShowSourceCode).LinkTooltip("Show generated shader source code");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
}
private void ShowSourceCode()
diff --git a/Source/Editor/Windows/Assets/ParticleSystemWindow.cs b/Source/Editor/Windows/Assets/ParticleSystemWindow.cs
index b601f3786..acc3c658a 100644
--- a/Source/Editor/Windows/Assets/ParticleSystemWindow.cs
+++ b/Source/Editor/Windows/Assets/ParticleSystemWindow.cs
@@ -356,12 +356,12 @@ namespace FlaxEditor.Windows.Assets
propertiesEditor.Select(new GeneralProxy(this));
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/particles/index.html")).LinkTooltip("See documentation to learn more");
// Setup input actions
InputActions.Add(options => options.Undo, _undo.PerformUndo);
diff --git a/Source/Editor/Windows/Assets/PrefabWindow.cs b/Source/Editor/Windows/Assets/PrefabWindow.cs
index 8dd4a6ebe..bec9bf7fe 100644
--- a/Source/Editor/Windows/Assets/PrefabWindow.cs
+++ b/Source/Editor/Windows/Assets/PrefabWindow.cs
@@ -154,16 +154,16 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Modified += MarkAsEdited;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _toolStripUndo = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _toolStripRedo = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _toolStripUndo = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _toolStripRedo = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
_toolStripTranslate = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Translate32, () => _viewport.TransformGizmo.ActiveMode = TransformGizmoBase.Mode.Translate).LinkTooltip("Change Gizmo tool mode to Translate (1)");
_toolStripRotate = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Rotate32, () => _viewport.TransformGizmo.ActiveMode = TransformGizmoBase.Mode.Rotate).LinkTooltip("Change Gizmo tool mode to Rotate (2)");
_toolStripScale = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Scale32, () => _viewport.TransformGizmo.ActiveMode = TransformGizmoBase.Mode.Scale).LinkTooltip("Change Gizmo tool mode to Scale (3)");
_toolstrip.AddSeparator();
- _toolStripLiveReload = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Reload32, () => LiveReload = !LiveReload).SetChecked(true).SetAutoCheck(true).LinkTooltip("Live changes preview (applies prefab changes on modification by auto)");
+ _toolStripLiveReload = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Refresh64, () => LiveReload = !LiveReload).SetChecked(true).SetAutoCheck(true).LinkTooltip("Live changes preview (applies prefab changes on modification by auto)");
Editor.Prefabs.PrefabApplied += OnPrefabApplied;
ScriptsBuilder.ScriptsReloadBegin += OnScriptsReloadBegin;
diff --git a/Source/Editor/Windows/Assets/PreviewsCacheWindow.cs b/Source/Editor/Windows/Assets/PreviewsCacheWindow.cs
index d1fe73976..a857246da 100644
--- a/Source/Editor/Windows/Assets/PreviewsCacheWindow.cs
+++ b/Source/Editor/Windows/Assets/PreviewsCacheWindow.cs
@@ -28,7 +28,7 @@ namespace FlaxEditor.Windows.Assets
};
// Toolstrip
- _toolstrip.AddButton(editor.Icons.PageScale32, _preview.CenterView).LinkTooltip("Center view");
+ _toolstrip.AddButton(editor.Icons.CenterView64, _preview.CenterView).LinkTooltip("Center view");
}
///
diff --git a/Source/Editor/Windows/Assets/SceneAnimationWindow.cs b/Source/Editor/Windows/Assets/SceneAnimationWindow.cs
index c162eac3a..821b5ccc5 100644
--- a/Source/Editor/Windows/Assets/SceneAnimationWindow.cs
+++ b/Source/Editor/Windows/Assets/SceneAnimationWindow.cs
@@ -634,14 +634,14 @@ namespace FlaxEditor.Windows.Assets
_timeline.PlayerChanged += OnTimelinePlayerChanged;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _renderButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Build32, OnRenderButtonClicked).LinkTooltip("Open the scene animation rendering utility...");
+ _renderButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Build64, OnRenderButtonClicked).LinkTooltip("Open the scene animation rendering utility...");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/scene-animations/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/scene-animations/index.html")).LinkTooltip("See documentation to learn more");
// Preview player picker
var previewPlayerPickerContainer = new ContainerControl();
diff --git a/Source/Editor/Windows/Assets/SkeletonMaskWindow.cs b/Source/Editor/Windows/Assets/SkeletonMaskWindow.cs
index 86066f293..d65a564b2 100644
--- a/Source/Editor/Windows/Assets/SkeletonMaskWindow.cs
+++ b/Source/Editor/Windows/Assets/SkeletonMaskWindow.cs
@@ -182,9 +182,9 @@ namespace FlaxEditor.Windows.Assets
: base(editor, item)
{
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save asset to the file");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save asset to the file");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/skeleton-mask.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/skeleton-mask.html")).LinkTooltip("See documentation to learn more");
// Split Panel
_split = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.Vertical)
diff --git a/Source/Editor/Windows/Assets/SkinnedModelWindow.cs b/Source/Editor/Windows/Assets/SkinnedModelWindow.cs
index f3d228f45..259e90578 100644
--- a/Source/Editor/Windows/Assets/SkinnedModelWindow.cs
+++ b/Source/Editor/Windows/Assets/SkinnedModelWindow.cs
@@ -920,9 +920,9 @@ namespace FlaxEditor.Windows.Assets
{
// Toolstrip
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Bone32, () => _preview.ShowNodes = !_preview.ShowNodes).SetAutoCheck(true).LinkTooltip("Show animated model nodes debug view");
+ _toolstrip.AddButton(editor.Icons.Bone64, () => _preview.ShowNodes = !_preview.ShowNodes).SetAutoCheck(true).LinkTooltip("Show animated model nodes debug view");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/skinned-model/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/animation/skinned-model/index.html")).LinkTooltip("See documentation to learn more");
// Model preview
_preview = new Preview(this)
diff --git a/Source/Editor/Windows/Assets/SpriteAtlasWindow.cs b/Source/Editor/Windows/Assets/SpriteAtlasWindow.cs
index e82c1dd12..3fb5dfbae 100644
--- a/Source/Editor/Windows/Assets/SpriteAtlasWindow.cs
+++ b/Source/Editor/Windows/Assets/SpriteAtlasWindow.cs
@@ -241,10 +241,10 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Modified += MarkAsEdited;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save32, Save).LinkTooltip("Save");
- _toolstrip.AddButton(editor.Icons.Import32, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");
+ _toolstrip.AddButton(editor.Icons.Import64, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.AddDoc32, () =>
+ _toolstrip.AddButton(editor.Icons.AddFile64, () =>
{
var sprite = new Sprite
{
@@ -257,7 +257,7 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.BuildLayout();
}).LinkTooltip("Add a new sprite");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.PageScale32, _preview.CenterView).LinkTooltip("Center view");
+ _toolstrip.AddButton(editor.Icons.CenterView64, _preview.CenterView).LinkTooltip("Center view");
}
///
diff --git a/Source/Editor/Windows/Assets/TextureWindow.cs b/Source/Editor/Windows/Assets/TextureWindow.cs
index 9f6698528..481c48f47 100644
--- a/Source/Editor/Windows/Assets/TextureWindow.cs
+++ b/Source/Editor/Windows/Assets/TextureWindow.cs
@@ -140,11 +140,11 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Select(_properties);
// Toolstrip
- _toolstrip.AddButton(Editor.Icons.Import32, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
+ _toolstrip.AddButton(Editor.Icons.Import64, () => Editor.ContentImporting.Reimport((BinaryAssetItem)Item)).LinkTooltip("Reimport");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(Editor.Icons.PageScale32, _preview.CenterView).LinkTooltip("Center view");
+ _toolstrip.AddButton(Editor.Icons.CenterView64, _preview.CenterView).LinkTooltip("Center view");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/textures/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/graphics/textures/index.html")).LinkTooltip("See documentation to learn more");
}
///
diff --git a/Source/Editor/Windows/Assets/VisjectFunctionSurfaceWindow.cs b/Source/Editor/Windows/Assets/VisjectFunctionSurfaceWindow.cs
index 57041169a..fe87299e2 100644
--- a/Source/Editor/Windows/Assets/VisjectFunctionSurfaceWindow.cs
+++ b/Source/Editor/Windows/Assets/VisjectFunctionSurfaceWindow.cs
@@ -68,12 +68,12 @@ namespace FlaxEditor.Windows.Assets
_undo.ActionDone += OnUndoRedo;
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.PageScale32, ShowWholeGraph).LinkTooltip("Show whole graph");
+ _toolstrip.AddButton(editor.Icons.CenterView64, ShowWholeGraph).LinkTooltip("Show whole graph");
// Panel
_panel = new Panel(ScrollBars.None)
diff --git a/Source/Editor/Windows/Assets/VisualScriptWindow.cs b/Source/Editor/Windows/Assets/VisualScriptWindow.cs
index 8207740f1..b9ddafa87 100644
--- a/Source/Editor/Windows/Assets/VisualScriptWindow.cs
+++ b/Source/Editor/Windows/Assets/VisualScriptWindow.cs
@@ -212,7 +212,7 @@ namespace FlaxEditor.Windows.Assets
IsScrollable = false,
Color = FlaxEngine.GUI.Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(Editor.Instance.Icons.Add48),
+ Brush = new SpriteBrush(Editor.Instance.Icons.Add64),
};
addNewFunction.Clicked += OnAddNewFunctionClicked;
@@ -227,7 +227,7 @@ namespace FlaxEditor.Windows.Assets
IsScrollable = false,
Color = FlaxEngine.GUI.Style.Current.ForegroundGrey,
Margin = new Margin(1),
- Brush = new SpriteBrush(Editor.Instance.Icons.Import32),
+ Brush = new SpriteBrush(Editor.Instance.Icons.Import64),
};
overrideMethod.Clicked += OnOverrideMethodClicked;
}
@@ -385,23 +385,23 @@ namespace FlaxEditor.Windows.Assets
_propertiesEditor.Select(_properties);
// Toolstrip
- _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save32, Save).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
_toolstrip.AddSeparator();
- _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo32, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
- _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo32, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
+ _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)");
+ _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.PageScale32, ShowWholeGraph).LinkTooltip("Show whole graph");
+ _toolstrip.AddButton(editor.Icons.CenterView64, ShowWholeGraph).LinkTooltip("Show whole graph");
_toolstrip.AddSeparator();
- _toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/scripting/visual/index.html")).LinkTooltip("See documentation to learn more");
+ _toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/scripting/visual/index.html")).LinkTooltip("See documentation to learn more");
_debugToolstripControls = new[]
{
_toolstrip.AddSeparator(),
- _toolstrip.AddButton(editor.Icons.Play32, OnDebuggerContinue).LinkTooltip("Continue (F5)"),
- _toolstrip.AddButton(editor.Icons.Find32, OnDebuggerNavigateToCurrentNode).LinkTooltip("Navigate to the current stack trace node"),
- _toolstrip.AddButton(editor.Icons.ArrowRight32, OnDebuggerStepOver).LinkTooltip("Step Over (F10)"),
- _toolstrip.AddButton(editor.Icons.ArrowDown32, OnDebuggerStepInto).LinkTooltip("Step Into (F11)"),
- _toolstrip.AddButton(editor.Icons.ArrowUp32, OnDebuggerStepOut).LinkTooltip("Step Out (Shift+F11)"),
- _toolstrip.AddButton(editor.Icons.Stop32, OnDebuggerStop).LinkTooltip("Stop debugging"),
+ _toolstrip.AddButton(editor.Icons.Play64, OnDebuggerContinue).LinkTooltip("Continue (F5)"),
+ _toolstrip.AddButton(editor.Icons.Search64, OnDebuggerNavigateToCurrentNode).LinkTooltip("Navigate to the current stack trace node"),
+ _toolstrip.AddButton(editor.Icons.Right64, OnDebuggerStepOver).LinkTooltip("Step Over (F10)"),
+ _toolstrip.AddButton(editor.Icons.Down64, OnDebuggerStepInto).LinkTooltip("Step Into (F11)"),
+ _toolstrip.AddButton(editor.Icons.Up64, OnDebuggerStepOut).LinkTooltip("Step Out (Shift+F11)"),
+ _toolstrip.AddButton(editor.Icons.Stop64, OnDebuggerStop).LinkTooltip("Stop debugging"),
};
foreach (var control in _debugToolstripControls)
control.Visible = false;
diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs
index cd92bc300..88a976d2b 100644
--- a/Source/Editor/Windows/ContentWindow.cs
+++ b/Source/Editor/Windows/ContentWindow.cs
@@ -77,11 +77,11 @@ namespace FlaxEditor.Windows
{
Parent = this,
};
- _importButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.Import32, () => Editor.ContentImporting.ShowImportFileDialog(CurrentViewFolder)).LinkTooltip("Import content");
+ _importButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.Import64, () => Editor.ContentImporting.ShowImportFileDialog(CurrentViewFolder)).LinkTooltip("Import content");
_toolStrip.AddSeparator();
- _navigateBackwardButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.ArrowLeft32, NavigateBackward).LinkTooltip("Navigate backward");
- _navigateForwardButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.ArrowRight32, NavigateForward).LinkTooltip("Navigate forward");
- _navigateUpButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.ArrowUp32, NavigateUp).LinkTooltip("Navigate up");
+ _navigateBackwardButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.Left64, NavigateBackward).LinkTooltip("Navigate backward");
+ _navigateForwardButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.Right64, NavigateForward).LinkTooltip("Navigate forward");
+ _navigateUpButton = (ToolStripButton)_toolStrip.AddButton(Editor.Icons.Up64, NavigateUp).LinkTooltip("Navigate up");
// Navigation bar
_navigationBar = new NavigationBar
diff --git a/Source/Editor/Windows/DebugLogWindow.cs b/Source/Editor/Windows/DebugLogWindow.cs
index 7ffe5c923..bc80a0ba7 100644
--- a/Source/Editor/Windows/DebugLogWindow.cs
+++ b/Source/Editor/Windows/DebugLogWindow.cs
@@ -312,9 +312,9 @@ namespace FlaxEditor.Windows
_clearOnPlayButton = (ToolStripButton)toolstrip.AddButton("Clear on Play").SetAutoCheck(true).SetChecked(true).LinkTooltip("Clears all log entries on enter playmode");
_pauseOnErrorButton = (ToolStripButton)toolstrip.AddButton("Pause on Error").SetAutoCheck(true).LinkTooltip("Performs auto pause on error");
toolstrip.AddSeparator();
- _groupButtons[0] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Error32, () => UpdateLogTypeVisibility(LogGroup.Error, _groupButtons[0].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides error messages");
- _groupButtons[1] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Warning32, () => UpdateLogTypeVisibility(LogGroup.Warning, _groupButtons[1].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides warning messages");
- _groupButtons[2] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Info32, () => UpdateLogTypeVisibility(LogGroup.Info, _groupButtons[2].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides info messages");
+ _groupButtons[0] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Error64, () => UpdateLogTypeVisibility(LogGroup.Error, _groupButtons[0].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides error messages");
+ _groupButtons[1] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Warning64, () => UpdateLogTypeVisibility(LogGroup.Warning, _groupButtons[1].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides warning messages");
+ _groupButtons[2] = (ToolStripButton)toolstrip.AddButton(editor.Icons.Info64, () => UpdateLogTypeVisibility(LogGroup.Info, _groupButtons[2].Checked)).SetAutoCheck(true).SetChecked(true).LinkTooltip("Shows/hides info messages");
UpdateCount();
// Split panel
@@ -348,9 +348,9 @@ namespace FlaxEditor.Windows
};
// Cache entries icons
- IconInfo = Editor.Icons.Info32;
- IconWarning = Editor.Icons.Warning32;
- IconError = Editor.Icons.Error32;
+ IconInfo = Editor.Icons.Info64;
+ IconWarning = Editor.Icons.Warning64;
+ IconError = Editor.Icons.Error64;
// Bind events
Editor.Options.OptionsChanged += OnEditorOptionsChanged;
diff --git a/Source/Editor/Windows/EditorOptionsWindow.cs b/Source/Editor/Windows/EditorOptionsWindow.cs
index 01b26a65c..2e700686e 100644
--- a/Source/Editor/Windows/EditorOptionsWindow.cs
+++ b/Source/Editor/Windows/EditorOptionsWindow.cs
@@ -38,7 +38,7 @@ namespace FlaxEditor.Windows
{
Parent = this
};
- _saveButton = (ToolStripButton)toolstrip.AddButton(editor.Icons.Save32, SaveData).LinkTooltip("Save");
+ _saveButton = (ToolStripButton)toolstrip.AddButton(editor.Icons.Save64, SaveData).LinkTooltip("Save");
_saveButton.Enabled = false;
_tabs = new Tabs
diff --git a/Source/Editor/Windows/PluginsWindow.cs b/Source/Editor/Windows/PluginsWindow.cs
index 28b6c20a5..a14a38774 100644
--- a/Source/Editor/Windows/PluginsWindow.cs
+++ b/Source/Editor/Windows/PluginsWindow.cs
@@ -53,7 +53,7 @@ namespace FlaxEditor.Windows
var iconImage = new Image
{
- Brush = new SpriteBrush(Editor.Instance.Icons.Plugin64),
+ Brush = new SpriteBrush(Editor.Instance.Icons.Plugin128),
Parent = this,
Bounds = new Rectangle(margin, margin, iconSize, iconSize),
};
diff --git a/Source/Editor/Windows/Profiler/ProfilerWindow.cs b/Source/Editor/Windows/Profiler/ProfilerWindow.cs
index e6de1fd69..27a718077 100644
--- a/Source/Editor/Windows/Profiler/ProfilerWindow.cs
+++ b/Source/Editor/Windows/Profiler/ProfilerWindow.cs
@@ -92,20 +92,20 @@ namespace FlaxEditor.Windows.Profiler
{
Parent = this,
};
- _liveRecordingButton = toolstrip.AddButton(editor.Icons.Play32);
+ _liveRecordingButton = toolstrip.AddButton(editor.Icons.Play64);
_liveRecordingButton.LinkTooltip("Live profiling events recording");
_liveRecordingButton.AutoCheck = true;
_clearButton = toolstrip.AddButton(editor.Icons.Rotate32, Clear);
_clearButton.LinkTooltip("Clear data");
toolstrip.AddSeparator();
- _prevFrameButton = toolstrip.AddButton(editor.Icons.ArrowLeft32, () => ViewFrameIndex--);
+ _prevFrameButton = toolstrip.AddButton(editor.Icons.Left64, () => ViewFrameIndex--);
_prevFrameButton.LinkTooltip("Previous frame");
- _nextFrameButton = toolstrip.AddButton(editor.Icons.ArrowRight32, () => ViewFrameIndex++);
+ _nextFrameButton = toolstrip.AddButton(editor.Icons.Right64, () => ViewFrameIndex++);
_nextFrameButton.LinkTooltip("Next frame");
- _lastFrameButton = toolstrip.AddButton(editor.Icons.Step32, () => ViewFrameIndex = -1);
+ _lastFrameButton = toolstrip.AddButton(editor.Icons.Skip64, () => ViewFrameIndex = -1);
_lastFrameButton.LinkTooltip("Current frame");
toolstrip.AddSeparator();
- _showOnlyLastUpdateEventsButton = toolstrip.AddButton(editor.Icons.PageScale32, () => ShowOnlyLastUpdateEvents = !ShowOnlyLastUpdateEvents);
+ _showOnlyLastUpdateEventsButton = toolstrip.AddButton(editor.Icons.CenterView64, () => ShowOnlyLastUpdateEvents = !ShowOnlyLastUpdateEvents);
_showOnlyLastUpdateEventsButton.LinkTooltip("Show only last update events and hide events from the other callbacks (e.g. draw or fixed update)");
_tabs = new Tabs
diff --git a/Source/Editor/Windows/ToolboxWindow.cs b/Source/Editor/Windows/ToolboxWindow.cs
index 7084addd1..33827ea93 100644
--- a/Source/Editor/Windows/ToolboxWindow.cs
+++ b/Source/Editor/Windows/ToolboxWindow.cs
@@ -319,10 +319,10 @@ namespace FlaxEditor.Windows
Parent = this
};
- TabsControl.AddTab(Spawn = new SpawnTab(Editor.Icons.Add48, Editor));
- TabsControl.AddTab(VertexPaint = new VertexPaintingTab(Editor.Icons.Paint48, Editor));
- TabsControl.AddTab(Foliage = new FoliageTab(Editor.Icons.Foliage48, Editor));
- TabsControl.AddTab(Carve = new CarveTab(Editor.Icons.Mountain48, Editor));
+ TabsControl.AddTab(Spawn = new SpawnTab(Editor.Icons.Toolbox96, Editor));
+ TabsControl.AddTab(VertexPaint = new VertexPaintingTab(Editor.Icons.Paint96, Editor));
+ TabsControl.AddTab(Foliage = new FoliageTab(Editor.Icons.Foliage96, Editor));
+ TabsControl.AddTab(Carve = new CarveTab(Editor.Icons.Terrain96, Editor));
TabsControl.SelectedTabIndex = 0;
}
diff --git a/Source/Editor/Windows/VisualScriptDebuggerWindow.cs b/Source/Editor/Windows/VisualScriptDebuggerWindow.cs
index b9f20ff2f..f91d0cea9 100644
--- a/Source/Editor/Windows/VisualScriptDebuggerWindow.cs
+++ b/Source/Editor/Windows/VisualScriptDebuggerWindow.cs
@@ -404,13 +404,13 @@ namespace FlaxEditor.Windows
{
Parent = this
};
- toolstrip.AddButton(editor.Icons.Docs32, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/scripting/visual/index.html")).LinkTooltip("See documentation to learn more");
+ toolstrip.AddButton(editor.Icons.Docs64, () => Platform.OpenUrl(Utilities.Constants.DocsUrl + "manual/scripting/visual/index.html")).LinkTooltip("See documentation to learn more");
_debugToolstripControls = new[]
{
toolstrip.AddSeparator(),
- toolstrip.AddButton(editor.Icons.Play32, OnDebuggerContinue).LinkTooltip("Continue (F5)"),
- toolstrip.AddButton(editor.Icons.Find32, OnDebuggerNavigateToCurrentNode).LinkTooltip("Navigate to the current stack trace node"),
- toolstrip.AddButton(editor.Icons.Stop32, OnDebuggerStop).LinkTooltip("Stop debugging"),
+ toolstrip.AddButton(editor.Icons.Play64, OnDebuggerContinue).LinkTooltip("Continue (F5)"),
+ toolstrip.AddButton(editor.Icons.Search64, OnDebuggerNavigateToCurrentNode).LinkTooltip("Navigate to the current stack trace node"),
+ toolstrip.AddButton(editor.Icons.Stop64, OnDebuggerStop).LinkTooltip("Stop debugging"),
};
foreach (var control in _debugToolstripControls)
control.Visible = Editor.Simulation.IsDuringBreakpointHang;