Add iOS and Apple icons
This commit is contained in:
BIN
Content/Editor/IconsAtlas.flax
(Stored with Git LFS)
BIN
Content/Editor/IconsAtlas.flax
(Stored with Git LFS)
Binary file not shown.
@@ -137,11 +137,13 @@ namespace FlaxEditor
|
||||
public SpriteHandle PS4Icon128;
|
||||
public SpriteHandle PS5Icon128;
|
||||
public SpriteHandle MacOSIcon128;
|
||||
public SpriteHandle IOSIcon128;
|
||||
public SpriteHandle FlaxLogo128;
|
||||
public SpriteHandle SwitchIcon128;
|
||||
public SpriteHandle SwitchSettings128;
|
||||
public SpriteHandle LocalizationSettings128;
|
||||
public SpriteHandle Json128;
|
||||
public SpriteHandle AppleSettings128;
|
||||
|
||||
internal void LoadIcons()
|
||||
{
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace FlaxEditor.GUI
|
||||
new PlatformData(PlatformType.Switch, icons.SwitchIcon128, "Switch"),
|
||||
new PlatformData(PlatformType.PS5, icons.PS5Icon128, "PlayStation 5"),
|
||||
new PlatformData(PlatformType.Mac, icons.MacOSIcon128, "macOS"),
|
||||
new PlatformData(PlatformType.iOS, icons.FlaxLogo128, "iOS"),
|
||||
new PlatformData(PlatformType.iOS, icons.IOSIcon128, "iOS"),
|
||||
};
|
||||
|
||||
const float IconSize = 64.0f;
|
||||
|
||||
@@ -947,8 +947,8 @@ namespace FlaxEditor.Modules
|
||||
Proxy.Add(new SettingsProxy(typeof(UWPPlatformSettings), Editor.Instance.Icons.UWPSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(LinuxPlatformSettings), Editor.Instance.Icons.LinuxSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(AndroidPlatformSettings), Editor.Instance.Icons.AndroidSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(MacPlatformSettings), Editor.Instance.Icons.Document128));
|
||||
Proxy.Add(new SettingsProxy(typeof(iOSPlatformSettings), Editor.Instance.Icons.Document128));
|
||||
Proxy.Add(new SettingsProxy(typeof(MacPlatformSettings), Editor.Instance.Icons.AppleSettings128));
|
||||
Proxy.Add(new SettingsProxy(typeof(iOSPlatformSettings), Editor.Instance.Icons.AppleSettings128));
|
||||
|
||||
var typePS4PlatformSettings = TypeUtils.GetManagedType(GameSettings.PS4PlatformSettingsTypename);
|
||||
if (typePS4PlatformSettings != null)
|
||||
|
||||
Reference in New Issue
Block a user