diff options
| author | pfg <[email protected]> | 2017-03-12 10:27:21 -0700 |
|---|---|---|
| committer | pfg <[email protected]> | 2017-03-12 10:27:21 -0700 |
| commit | c8f471ac5c1fb28e3c8dd75477a7d013da046009 (patch) | |
| tree | d97d603725ec6e59d2f4e958321881b7ce8e8157 | |
| parent | b825df4d6a3bb87488b50da95b89f3f130511739 (diff) | |
| download | shiftos_thereturn-c8f471ac5c1fb28e3c8dd75477a7d013da046009.tar.gz shiftos_thereturn-c8f471ac5c1fb28e3c8dd75477a7d013da046009.tar.bz2 shiftos_thereturn-c8f471ac5c1fb28e3c8dd75477a7d013da046009.zip | |
Start adding cf file icon
| -rw-r--r-- | ShiftOS.WinForms/Applications/FileSkimmer.cs | 2 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Properties/Resources.Designer.cs | 21 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Resources/fileiconcf.bmp | bin | 0 -> 1195 bytes | |||
| -rw-r--r-- | ShiftOS.WinForms/ShiftOS.WinForms.csproj | 2 | ||||
| -rw-r--r-- | ShiftOS_TheReturn/FileSkimmerBackend.cs | 3 |
5 files changed, 23 insertions, 5 deletions
diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.cs index 2881dc0..ffc76e7 100644 --- a/ShiftOS.WinForms/Applications/FileSkimmer.cs +++ b/ShiftOS.WinForms/Applications/FileSkimmer.cs @@ -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; } diff --git a/ShiftOS.WinForms/Properties/Resources.Designer.cs b/ShiftOS.WinForms/Properties/Resources.Designer.cs index 6628f0b..107f12d 100644 --- a/ShiftOS.WinForms/Properties/Resources.Designer.cs +++ b/ShiftOS.WinForms/Properties/Resources.Designer.cs @@ -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> diff --git a/ShiftOS.WinForms/Resources/fileiconcf.bmp b/ShiftOS.WinForms/Resources/fileiconcf.bmp Binary files differnew file mode 100644 index 0000000..8db9711 --- /dev/null +++ b/ShiftOS.WinForms/Resources/fileiconcf.bmp diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj index 62df12a..d865c62 100644 --- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj +++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj @@ -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" /> diff --git a/ShiftOS_TheReturn/FileSkimmerBackend.cs b/ShiftOS_TheReturn/FileSkimmerBackend.cs index 36e07ec..090dc8e 100644 --- a/ShiftOS_TheReturn/FileSkimmerBackend.cs +++ b/ShiftOS_TheReturn/FileSkimmerBackend.cs @@ -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 } } |
