Ver Fonte

Added a square Urho icon (same as the Android icon) to use for the samples on desktop.

Lasse Öörni há 12 anos atrás
pai
commit
b496c5a012

+ 1 - 1
Bin/Data/LuaScripts/Utilities/Sample.lua

@@ -64,7 +64,7 @@ function CreateLogo()
 end
 
 function SetWindowTitleAndIcon()
-    local icon = cache:GetResource("Image", "Textures/LogoLarge.png")
+    local icon = cache:GetResource("Image", "Textures/UrhoIcon.png")
     graphics:SetWindowIcon(icon)
     graphics.windowTitle = "Urho3D Sample"
 end

+ 1 - 1
Bin/Data/Scripts/Utilities/Sample.as

@@ -66,7 +66,7 @@ void CreateLogo()
 
 void SetWindowTitleAndIcon()
 {
-    Image@ icon = cache.GetResource("Image", "Textures/LogoLarge.png");
+    Image@ icon = cache.GetResource("Image", "Textures/UrhoIcon.png");
     graphics.windowIcon = icon;
     graphics.windowTitle = "Urho3D Sample";
 }

BIN
Bin/Data/Textures/UrhoIcon.png


+ 1 - 1
Source/Samples/Sample.inl

@@ -111,7 +111,7 @@ void Sample::SetWindowTitleAndIcon()
 {
     ResourceCache* cache = GetSubsystem<ResourceCache>();
     Graphics* graphics = GetSubsystem<Graphics>();
-    Image* icon = cache->GetResource<Image>("Textures/LogoLarge.png");
+    Image* icon = cache->GetResource<Image>("Textures/UrhoIcon.png");
     graphics->SetWindowIcon(icon);
     graphics->SetWindowTitle("Urho3D Sample");
 }