Start adding cf file icon
This commit is contained in:
parent
b825df4d6a
commit
c8f471ac5c
5 changed files with 23 additions and 5 deletions
|
@ -233,6 +233,8 @@ namespace ShiftOS.WinForms.Applications
|
|||
return Properties.Resources.fileicon10;
|
||||
case FileType.TextFile:
|
||||
return Properties.Resources.fileicon2;
|
||||
case FileType.CommandFormat:
|
||||
//return Properties.Resources.fileiconcf;
|
||||
default:
|
||||
return Properties.Resources.fileicon1;
|
||||
}
|
||||
|
|
21
ShiftOS.WinForms/Properties/Resources.Designer.cs
generated
21
ShiftOS.WinForms/Properties/Resources.Designer.cs
generated
|
@ -10,8 +10,9 @@
|
|||
|
||||
namespace ShiftOS.WinForms.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
|
@ -27,7 +28,7 @@ namespace ShiftOS.WinForms.Properties {
|
|||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
@ -459,7 +460,7 @@ namespace ShiftOS.WinForms.Properties {
|
|||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -469,7 +470,17 @@ namespace ShiftOS.WinForms.Properties {
|
|||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap fileiconcf {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("fileiconcf", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
BIN
ShiftOS.WinForms/Resources/fileiconcf.bmp
Normal file
BIN
ShiftOS.WinForms/Resources/fileiconcf.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -594,6 +594,7 @@
|
|||
<None Include="Resources\SnakeyHeadR.png" />
|
||||
<None Include="Resources\SnakeyFruit.png" />
|
||||
<None Include="Resources\ShiftnetServices.txt" />
|
||||
<Content Include="Resources\fileiconcf.bmp" />
|
||||
<Content Include="SystemIcons\iconArtpad.png" />
|
||||
<Content Include="SystemIcons\iconAudioPlayer.png" />
|
||||
<Content Include="SystemIcons\iconBitnoteDigger.png" />
|
||||
|
@ -607,6 +608,7 @@
|
|||
<Content Include="SystemIcons\iconFileSaver.fw.png" />
|
||||
<Content Include="SystemIcons\iconFileSkimmer.png" />
|
||||
<Content Include="SystemIcons\iconfloodgate.png" />
|
||||
<Content Include="SystemIcons\iconFormatEditor.png" />
|
||||
<Content Include="SystemIcons\icongraphicpicker.png" />
|
||||
<Content Include="SystemIcons\iconIconManager.png" />
|
||||
<Content Include="SystemIcons\iconInfoBox.fw.png" />
|
||||
|
|
|
@ -94,6 +94,8 @@ namespace ShiftOS.Engine
|
|||
//No, not "sex" - ShiftOS EXecutable. xD
|
||||
case "sex":
|
||||
return FileType.Executable;
|
||||
case "cf":
|
||||
return FileType.CommandFormat;
|
||||
default:
|
||||
return FileType.Unknown;
|
||||
}
|
||||
|
@ -178,6 +180,7 @@ namespace ShiftOS.Engine
|
|||
Lua,
|
||||
Python,
|
||||
Filesystem,
|
||||
CommandFormat,
|
||||
Unknown
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue