mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Re-implement OsuGameDesktop icon
This commit is contained in:
parent
c6b9c4b588
commit
b9f456402a
@ -1 +1 @@
|
|||||||
Subproject commit f0ed38258b61622fa2e500f010a8a6ff1200995a
|
Subproject commit 8be3928da807b4bddb0557308f8e223cc0a12663
|
@ -2,8 +2,10 @@
|
|||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using osu.Desktop.Overlays;
|
using osu.Desktop.Overlays;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
@ -98,7 +100,7 @@ namespace osu.Desktop
|
|||||||
{
|
{
|
||||||
desktopWindow.CursorState |= CursorState.Hidden;
|
desktopWindow.CursorState |= CursorState.Hidden;
|
||||||
|
|
||||||
// desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
|
desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
|
||||||
desktopWindow.Title = Name;
|
desktopWindow.Title = Name;
|
||||||
|
|
||||||
desktopWindow.FileDrop += fileDrop;
|
desktopWindow.FileDrop += fileDrop;
|
||||||
|
Loading…
Reference in New Issue
Block a user