aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-05 15:44:09 -0400
committerMichael <[email protected]>2017-08-05 15:44:09 -0400
commitec363f09caa99f8b0ffa9351950fed5629f396f7 (patch)
tree686ef8fb3d48a389613178c2b4c4f964a2839e07
parent01683f1fcb8a593af66b0a882db7b3a2beba9fa0 (diff)
downloadshiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.tar.gz
shiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.tar.bz2
shiftos_thereturn-ec363f09caa99f8b0ffa9351950fed5629f396f7.zip
file skimmer icons
-rw-r--r--ShiftOS.Frontend/Apps/FileSkimmer.cs130
-rw-r--r--ShiftOS.Frontend/GUI/ListView.cs199
-rw-r--r--ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs4
-rw-r--r--ShiftOS.Frontend/Properties/Resources.Designer.cs229
-rw-r--r--ShiftOS.Frontend/Properties/Resources.resx66
-rw-r--r--ShiftOS.Frontend/Resources/fileicon0.bmpbin0 -> 208 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon1.bmpbin0 -> 594 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon10.bmpbin0 -> 270 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon11.bmpbin0 -> 498 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon12.bmpbin0 -> 430 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon13.bmpbin0 -> 469 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon14.bmpbin0 -> 413 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon15.bmpbin0 -> 527 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon16.bmpbin0 -> 606 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon17.bmpbin0 -> 471 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon18.bmpbin0 -> 449 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon19.bmpbin0 -> 548 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon2.bmpbin0 -> 429 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon3.bmpbin0 -> 345 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon4.bmpbin0 -> 251 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon5.bmpbin0 -> 295 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon6.bmpbin0 -> 557 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon7.bmpbin0 -> 851 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon8.bmpbin0 -> 605 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileicon9.bmpbin0 -> 483 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileiconcf.bmpbin0 -> 1195 bytes
-rw-r--r--ShiftOS.Frontend/Resources/fileiconsaa.pngbin0 -> 288 bytes
-rw-r--r--ShiftOS.Frontend/ShiftOS.Frontend.csproj23
-rw-r--r--ShiftOS_TheReturn/Properties/Resources.Designer.cs220
-rw-r--r--ShiftOS_TheReturn/Properties/Resources.resx66
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon0.bmpbin0 -> 208 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon1.bmpbin0 -> 594 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon10.bmpbin0 -> 270 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon11.bmpbin0 -> 498 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon12.bmpbin0 -> 430 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon13.bmpbin0 -> 469 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon14.bmpbin0 -> 413 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon15.bmpbin0 -> 527 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon16.bmpbin0 -> 606 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon17.bmpbin0 -> 471 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon18.bmpbin0 -> 449 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon19.bmpbin0 -> 548 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon2.bmpbin0 -> 429 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon3.bmpbin0 -> 345 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon4.bmpbin0 -> 251 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon5.bmpbin0 -> 295 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon6.bmpbin0 -> 557 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon7.bmpbin0 -> 851 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon8.bmpbin0 -> 605 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileicon9.bmpbin0 -> 483 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileiconcf.bmpbin0 -> 1195 bytes
-rw-r--r--ShiftOS_TheReturn/Resources/fileiconsaa.pngbin0 -> 288 bytes
-rw-r--r--ShiftOS_TheReturn/ShiftOS.Engine.csproj22
53 files changed, 931 insertions, 28 deletions
diff --git a/ShiftOS.Frontend/Apps/FileSkimmer.cs b/ShiftOS.Frontend/Apps/FileSkimmer.cs
index 9249595..315e7ad 100644
--- a/ShiftOS.Frontend/Apps/FileSkimmer.cs
+++ b/ShiftOS.Frontend/Apps/FileSkimmer.cs
@@ -1,10 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
using ShiftOS.Engine;
+using ShiftOS.Frontend.GraphicsSubsystem;
+using ShiftOS.Frontend.GUI;
using static ShiftOS.Objects.ShiftFS.Utils;
namespace ShiftOS.Frontend.Apps
@@ -16,7 +20,7 @@ namespace ShiftOS.Frontend.Apps
{
private string _currentdirectory = "0:";
private const string SD_SYSTEM = "__system";
- private GUI.ListBox _fList = null;
+ private GUI.ListView _fList = null;
private GUI.TextControl _currentdirtext = null;
public void OnLoad()
@@ -46,19 +50,21 @@ namespace ShiftOS.Frontend.Apps
Width = 720;
Height = 480;
- _fList = new GUI.ListBox();
+ _fList = new GUI.ListView();
+ //TODO: keyboard support in listviews
+ /*
_fList.KeyEvent += (e) =>
{
if(e.Key == Microsoft.Xna.Framework.Input.Keys.Enter)
{
Navigate(_fList.SelectedItem.ToString());
}
- };
+ };*/
_fList.DoubleClick += () =>
{
try
{
- Navigate(_fList.SelectedItem.ToString());
+ Navigate(_fList.SelectedItem.Tag);
}
catch { }
};
@@ -69,30 +75,28 @@ namespace ShiftOS.Frontend.Apps
ResetList();
}
- public void Navigate(string relativepath)
+ public void Navigate(string path)
{
- if (relativepath == "Up one...")
+ if(path == "__up")
{
- if (_currentdirectory.Contains('/'))
+ if (_currentdirectory == SD_SYSTEM)
+ throw new NaughtyDeveloperException("Someone tried to make it so you can go \"up one directory\" in the mounts list.");
+ if (_currentdirectory.EndsWith(":"))
{
- int _index = _currentdirectory.LastIndexOf('/');
- int _len = _currentdirectory.Length - _index;
- _currentdirectory = _currentdirectory.Remove(_index, _len);
+ _currentdirectory = SD_SYSTEM;
ResetList();
+ return;
}
else
{
- _currentdirectory = SD_SYSTEM;
+ int slashlast = _currentdirectory.LastIndexOf("/");
+ int len = _currentdirectory.Length - slashlast;
+ _currentdirectory = _currentdirectory.Remove(slashlast, len);
ResetList();
+ return;
}
- return;
}
- string path = "";
- if (_currentdirectory == SD_SYSTEM)
- path = relativepath;
- else
- path = _currentdirectory + "/" + relativepath;
if (DirectoryExists(path))
{
_currentdirectory = path;
@@ -102,16 +106,73 @@ namespace ShiftOS.Frontend.Apps
{
if (!FileSkimmerBackend.OpenFile(path))
{
- Engine.Infobox.Show("File Skimmer can't open this file!", "A program that can open files of this type was not found on your computer.");
+ Engine.Infobox.Show("File Skimmer can't open this file!", "File Skimmer couldn't find a program that can open a file of this type. Please install a program that can handle this file and try again.");
+ }
+ }
+ }
+
+ public Texture2D ToTexture2D(System.Drawing.Image img)
+ {
+ if (img == null)
+ return null;
+ using(var bmp = new System.Drawing.Bitmap(img))
+ {
+ var lck = bmp.LockBits(new System.Drawing.Rectangle(0, 0, bmp.Width, bmp.Height), System.Drawing.Imaging.ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
+ var arr = new byte[Math.Abs(lck.Stride) * lck.Height];
+ Marshal.Copy(lck.Scan0, arr, 0, arr.Length);
+ for(int i = 0; i < arr.Length; i += 4)
+ {
+ byte r = arr[i];
+ byte b = arr[i + 2];
+ arr[i] = b;
+ arr[i + 2] = r;
}
+ var tex2 = new Texture2D(UIManager.GraphicsDevice, bmp.Width, bmp.Height);
+ tex2.SetData<byte>(arr);
+ bmp.UnlockBits(lck);
+ return tex2;
}
}
public void OnSkinLoad()
{
+ foreach(var name in Enum.GetNames(typeof(FileType)))
+ {
+ FileType ftype = (FileType)Enum.Parse(typeof(FileType), name);
+ var img = ToTexture2D(GetImage(ftype));
+ _fList.SetImage(name, img);
+ }
+
+
_currentdirtext.Font = SkinEngine.LoadedSkin.Header3Font;
}
+ public System.Drawing.Image GetImage(FileType type)
+ {
+ switch (type)
+ {
+ case FileType.UpOne:
+ return Properties.Resources.fileicon5;
+ case FileType.Mount:
+ case FileType.Directory:
+ return Properties.Resources.fileicon0;
+ case FileType.Executable:
+ case FileType.Lua:
+ case FileType.Python:
+ return Properties.Resources.fileiconsaa;
+ case FileType.Image:
+ return Properties.Resources.fileicon3;
+ case FileType.Skin:
+ return Properties.Resources.fileicon10;
+ case FileType.TextFile:
+ return Properties.Resources.fileicon2;
+ case FileType.CommandFormat:
+ return Properties.Resources.fileiconcf;
+ default:
+ return Properties.Resources.fileicon1;
+ }
+ }
+
public bool OnUnload()
{
return true;
@@ -130,13 +191,25 @@ namespace ShiftOS.Frontend.Apps
_fList.ClearItems();
if (_currentdirectory != SD_SYSTEM)
- _fList.AddItem("Up one...");
+ _fList.AddItem(new GUI.ListViewItem
+ {
+ Text = "Up one...",
+ Tag = "__up",
+ ImageKey = FileType.UpOne.ToString()
+ });
if(_currentdirectory == SD_SYSTEM)
{
foreach(var mount in Mounts)
{
- _fList.AddItem(Mounts.IndexOf(mount) + ":");
+ string mountpath = $"{Mounts.IndexOf(mount)}:";
+ string name = $"{mount.Name} ({mountpath})";
+ _fList.AddItem(new ListViewItem
+ {
+ Text = name,
+ Tag = mountpath,
+ ImageKey = FileType.Mount.ToString()
+ });
}
}
else
@@ -144,12 +217,25 @@ namespace ShiftOS.Frontend.Apps
foreach(var dir in GetDirectories(_currentdirectory))
{
var dinf = GetDirectoryInfo(dir);
- _fList.AddItem(dinf.Name);
+ _fList.AddItem(new ListViewItem
+ {
+ Text = dinf.Name,
+ Tag = dir,
+ ImageKey = FileType.Directory.ToString()
+ });
}
foreach (var dir in GetFiles(_currentdirectory))
{
var dinf = GetFileInfo(dir);
- _fList.AddItem(dinf.Name);
+ var ext = FileSkimmerBackend.GetFileType(dir);
+
+
+ _fList.AddItem(new ListViewItem
+ {
+ Text = dinf.Name,
+ Tag = dir,
+ ImageKey = ext.ToString()
+ });
}
}
diff --git a/ShiftOS.Frontend/GUI/ListView.cs b/ShiftOS.Frontend/GUI/ListView.cs
new file mode 100644
index 0000000..b74203d
--- /dev/null
+++ b/ShiftOS.Frontend/GUI/ListView.cs
@@ -0,0 +1,199 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
+using ShiftOS.Frontend.GraphicsSubsystem;
+using static ShiftOS.Engine.SkinEngine;
+
+namespace ShiftOS.Frontend.GUI
+{
+ public class ListView : Control
+ {
+ private List<ListViewItem> _items = null;
+ private Dictionary<string, Texture2D> _images = null;
+ private const int _itemimagemargin = 15;
+ private const int _initialmargin = 20;
+ private const int _itemgap = 5;
+ private int scroll = 0;
+ private const int defaulttexturesize = 42;
+ private int _selected = -1;
+
+ public ListView()
+ {
+ _items = new List<ListViewItem>();
+ _images = new Dictionary<string, Texture2D>();
+ Click += () =>
+ {
+ using (var gfx = System.Drawing.Graphics.FromHwnd(IntPtr.Zero))
+ {
+ int _itemx = _initialmargin;
+ int _itemy = _initialmargin - scroll;
+ int yhelper = 0;
+ foreach (var item in _items)
+ {
+ Texture2D image = null;
+ int texwidth = defaulttexturesize;
+ int texheight = defaulttexturesize;
+ if (_images.ContainsKey(item.ImageKey))
+ {
+ texwidth = _images[item.ImageKey].Width;
+ texheight = _images[item.ImageKey].Height;
+ image = _images[item.ImageKey];
+ }
+ int textwidth = texwidth + (_itemimagemargin * 2);
+ var textmeasure = gfx.MeasureString(item.Text, LoadedSkin.MainFont, textwidth);
+ yhelper = Math.Max(yhelper, _itemy + texheight + (int)textmeasure.Height);
+
+ int texty = _itemy + texheight;
+ int textx = _itemx + ((textwidth - (int)textmeasure.Width) / 2);
+
+ if(MouseX >= _itemx && MouseX <= _itemx + textwidth)
+ {
+ if(MouseY >= _itemy && MouseY <= _itemy + texheight + (int)textmeasure.Height)
+ {
+ _selected = _items.IndexOf(item);
+ Invalidate();
+ return;
+ }
+ }
+
+ _itemx += textwidth + _itemgap;
+ if (_itemx >= (Width - (_initialmargin * 2)))
+ {
+ _itemx = _initialmargin;
+ _itemy += yhelper;
+ }
+ }
+ }
+ _selected = -1;
+ Invalidate();
+ };
+ }
+
+ public int SelectedIndex
+ {
+ get
+ {
+ return _selected;
+ }
+ set
+ {
+ if (value == _selected)
+ return;
+ _selected = MathHelper.Clamp(value, -1, _items.Count - 1);
+ Invalidate();
+ }
+ }
+
+ public ListViewItem SelectedItem
+ {
+ get
+ {
+ if (_selected == -1)
+ return null;
+ return _items[_selected];
+ }
+ }
+
+ public void ClearItems()
+ {
+ _items.Clear();
+ scroll = 0;
+ _selected = -1;
+ Invalidate();
+ }
+
+ public void RemoveItem(ListViewItem item)
+ {
+ if (!_items.Contains(item))
+ throw new ArgumentException("This list view doesn't contain that item.");
+ if (_selected == _items.IndexOf(item))
+ _selected = -1;
+ _items.Remove(item);
+ Invalidate();
+ }
+
+ public void AddItem(ListViewItem item)
+ {
+ if (_items.Contains(item))
+ throw new ArgumentException("Item already exists in this listview.");
+ _items.Add(item);
+ Invalidate();
+ }
+
+ public void SetImage(string key, Texture2D value)
+ {
+ if (_images.ContainsKey(key))
+ _images[key] = value;
+ else
+ _images.Add(key, value);
+ Invalidate();
+ }
+
+ public Texture2D GetImage(string key)
+ {
+ if (_images.ContainsKey(key))
+ return _images[key];
+ return null;
+ }
+
+ public void ClearImages()
+ {
+ _images.Clear();
+ }
+
+ protected override void OnPaint(GraphicsContext gfx)
+ {
+ gfx.Clear(LoadedSkin.ControlColor.ToMonoColor());
+ int _itemx = _initialmargin;
+ int _itemy = _initialmargin - scroll;
+ int yhelper = 0;
+ foreach (var item in _items)
+ {
+ Texture2D image = null;
+ int texwidth = defaulttexturesize;
+ int texheight = defaulttexturesize;
+ if (_images.ContainsKey(item.ImageKey))
+ {
+ texwidth = _images[item.ImageKey].Width;
+ texheight = _images[item.ImageKey].Height;
+ image = _images[item.ImageKey];
+ }
+ int textwidth = texwidth + (_itemimagemargin * 2);
+ var textmeasure = gfx.MeasureString(item.Text, LoadedSkin.MainFont, textwidth);
+ yhelper = Math.Max(yhelper, _itemy + texheight + (int)textmeasure.Y);
+
+ if(image != null)
+ {
+ int imageDrawX = _itemx + ((textwidth - texwidth) / 2);
+ gfx.DrawRectangle(imageDrawX, _itemy, texwidth, texheight, image);
+ }
+
+ int texty = _itemy + texheight;
+ int textx = _itemx + ((textwidth - (int)textmeasure.X) / 2);
+ if(_items.IndexOf(item) == _selected)
+ {
+ gfx.DrawRectangle(textx, texty, (int)textmeasure.X, (int)textmeasure.Y, LoadedSkin.ButtonPressedColor.ToMonoColor());
+ }
+ gfx.DrawString(item.Text, textx, texty, LoadedSkin.ControlTextColor.ToMonoColor(), LoadedSkin.MainFont, textwidth);
+ _itemx += textwidth + _itemgap;
+ if(_itemx >= (Width - (_initialmargin * 2)))
+ {
+ _itemx = _initialmargin;
+ _itemy += yhelper;
+ }
+ }
+ }
+ }
+
+ public class ListViewItem
+ {
+ public string Text { get; set; }
+ public string Tag { get; set; }
+ public string ImageKey { get; set; }
+
+ }
+}
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
index 8e83324..76e97c0 100644
--- a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
+++ b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
@@ -154,9 +154,9 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
var sFormat = System.Drawing.StringFormat.GenericTypographic;
sFormat.FormatFlags |= System.Drawing.StringFormatFlags.NoClip;
- /*gfx.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
+ gfx.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
gfx.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
- gfx.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;*/
+ gfx.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;
gfx.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
gfx.DrawString(text, font, System.Drawing.Brushes.Black, new System.Drawing.RectangleF(0, 0, bmp.Width, bmp.Height), sFormat);
diff --git a/ShiftOS.Frontend/Properties/Resources.Designer.cs b/ShiftOS.Frontend/Properties/Resources.Designer.cs
index 550ab28..b494a70 100644
--- a/ShiftOS.Frontend/Properties/Resources.Designer.cs
+++ b/ShiftOS.Frontend/Properties/Resources.Designer.cs
@@ -112,6 +112,226 @@ namespace ShiftOS.Frontend.Properties {
}
/// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon0 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon0", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon1 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon1", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon10 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon10", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon11 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon11", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon12 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon12", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon13 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon13", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon14 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon14", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon15 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon15", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon16 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon16", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon17 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon17", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon18 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon18", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon19 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon19", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon2 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon2", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon3 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon3", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon4 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon4", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon5 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon5", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon6 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon6", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon7 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon7", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon8 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon8", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public static System.Drawing.Bitmap fileicon9 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon9", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ public 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>
+ public static System.Drawing.Bitmap fileiconsaa {
+ get {
+ object obj = ResourceManager.GetObject("fileiconsaa", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to {
/// Name: &quot;Cowsay Fire Hydrant Cowfile&quot;,
/// Description: &quot;Ever been so thirsty that you wanted to open a fire hydrant and just take a giant drink of water? Well, you can&apos;t do that with this install file, but you can at least get a neat cowfile firehydrant so you can make one talk!&quot;,
@@ -185,10 +405,10 @@ namespace ShiftOS.Frontend.Properties {
/// PointTo: &quot;banana_cow_stp&quot;,
/// },
/// {
- /// FriendlyName: &quot;SSHardline&quot;,
- /// LootName: &quot;sploitset_sshardline.stp&quot;,
+ /// FriendlyName: &quot;Fire Hydrant Cow&quot;,
+ /// LootName: &quot;fire hydrant.cow.stp&quot;,
/// Rarity: 1,
- /// PointTo: &quot;sploitset_ssh [rest of string was truncated]&quot;;.
+ /// PointTo: &quot;fire_hydran [rest of string was truncated]&quot;;.
/// </summary>
public static string LootInfo {
get {
@@ -205,10 +425,11 @@ namespace ShiftOS.Frontend.Properties {
///
///[
/// {
- /// FriendlyName: &quot;FTP Payload&quot;,
+ /// FriendlyName: &quot;FTP File Puller Payload&quot;,
/// PayloadName: &quot;ftpull&quot;,
/// EffectiveAgainstFirewall: 1,
/// EffectiveAgainst: &quot;FileServer&quot;,
+ /// Function: 2
/// },
/// {
/// FriendlyName: &quot;Force Heartbeat&quot;,
diff --git a/ShiftOS.Frontend/Properties/Resources.resx b/ShiftOS.Frontend/Properties/Resources.resx
index 9f9582e..8d4594d 100644
--- a/ShiftOS.Frontend/Properties/Resources.resx
+++ b/ShiftOS.Frontend/Properties/Resources.resx
@@ -163,4 +163,70 @@
<data name="fire hydrant.cow.stp" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\fire hydrant.cow.stp.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
+ <data name="fileicon0" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon10" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon10.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon11" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon11.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon12" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon12.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon13" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon13.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon14" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon14.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon15" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon15.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon16" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon16.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon17" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon17.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon18" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon18.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon19" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon19.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon2" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon2.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon3" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon3.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon4" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon4.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon5" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon5.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon6" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon6.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon7" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon7.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon8" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon8.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon9" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon9.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileiconcf" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileiconcf.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileiconsaa" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileiconsaa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
</root> \ No newline at end of file
diff --git a/ShiftOS.Frontend/Resources/fileicon0.bmp b/ShiftOS.Frontend/Resources/fileicon0.bmp
new file mode 100644
index 0000000..e9f684e
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon0.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon1.bmp b/ShiftOS.Frontend/Resources/fileicon1.bmp
new file mode 100644
index 0000000..ba26acb
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon1.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon10.bmp b/ShiftOS.Frontend/Resources/fileicon10.bmp
new file mode 100644
index 0000000..81505bd
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon10.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon11.bmp b/ShiftOS.Frontend/Resources/fileicon11.bmp
new file mode 100644
index 0000000..6fb6f6a
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon11.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon12.bmp b/ShiftOS.Frontend/Resources/fileicon12.bmp
new file mode 100644
index 0000000..a345c0d
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon12.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon13.bmp b/ShiftOS.Frontend/Resources/fileicon13.bmp
new file mode 100644
index 0000000..5fb0a4b
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon13.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon14.bmp b/ShiftOS.Frontend/Resources/fileicon14.bmp
new file mode 100644
index 0000000..f52f6a1
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon14.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon15.bmp b/ShiftOS.Frontend/Resources/fileicon15.bmp
new file mode 100644
index 0000000..bb0e029
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon15.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon16.bmp b/ShiftOS.Frontend/Resources/fileicon16.bmp
new file mode 100644
index 0000000..8ae66eb
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon16.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon17.bmp b/ShiftOS.Frontend/Resources/fileicon17.bmp
new file mode 100644
index 0000000..be1e63d
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon17.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon18.bmp b/ShiftOS.Frontend/Resources/fileicon18.bmp
new file mode 100644
index 0000000..c12a51f
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon18.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon19.bmp b/ShiftOS.Frontend/Resources/fileicon19.bmp
new file mode 100644
index 0000000..45f03e1
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon19.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon2.bmp b/ShiftOS.Frontend/Resources/fileicon2.bmp
new file mode 100644
index 0000000..c4ffe12
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon2.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon3.bmp b/ShiftOS.Frontend/Resources/fileicon3.bmp
new file mode 100644
index 0000000..543a162
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon3.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon4.bmp b/ShiftOS.Frontend/Resources/fileicon4.bmp
new file mode 100644
index 0000000..d55037b
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon4.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon5.bmp b/ShiftOS.Frontend/Resources/fileicon5.bmp
new file mode 100644
index 0000000..d72cd82
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon5.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon6.bmp b/ShiftOS.Frontend/Resources/fileicon6.bmp
new file mode 100644
index 0000000..b604e09
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon6.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon7.bmp b/ShiftOS.Frontend/Resources/fileicon7.bmp
new file mode 100644
index 0000000..8d8573e
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon7.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon8.bmp b/ShiftOS.Frontend/Resources/fileicon8.bmp
new file mode 100644
index 0000000..7dc8cb8
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon8.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileicon9.bmp b/ShiftOS.Frontend/Resources/fileicon9.bmp
new file mode 100644
index 0000000..fb7f15d
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileicon9.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileiconcf.bmp b/ShiftOS.Frontend/Resources/fileiconcf.bmp
new file mode 100644
index 0000000..8db9711
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileiconcf.bmp
Binary files differ
diff --git a/ShiftOS.Frontend/Resources/fileiconsaa.png b/ShiftOS.Frontend/Resources/fileiconsaa.png
new file mode 100644
index 0000000..291770a
--- /dev/null
+++ b/ShiftOS.Frontend/Resources/fileiconsaa.png
Binary files differ
diff --git a/ShiftOS.Frontend/ShiftOS.Frontend.csproj b/ShiftOS.Frontend/ShiftOS.Frontend.csproj
index 212f103..fdb47d6 100644
--- a/ShiftOS.Frontend/ShiftOS.Frontend.csproj
+++ b/ShiftOS.Frontend/ShiftOS.Frontend.csproj
@@ -62,6 +62,7 @@
<Compile Include="GUI\Control.cs" />
<Compile Include="GUI\ItemGroup.cs" />
<Compile Include="GUI\ListBox.cs" />
+ <Compile Include="GUI\ListView.cs" />
<Compile Include="GUI\PictureBox.cs" />
<Compile Include="GUI\ProgressBar.cs" />
<Compile Include="GUI\TextControl.cs" />
@@ -207,6 +208,28 @@
<None Include="Resources\pong.txt" />
<None Include="Resources\banana.cow.stp.txt" />
<None Include="Resources\fire hydrant.cow.stp.txt" />
+ <None Include="Resources\fileiconcf.bmp" />
+ <None Include="Resources\fileicon9.bmp" />
+ <None Include="Resources\fileiconsaa.png" />
+ <None Include="Resources\fileicon8.bmp" />
+ <None Include="Resources\fileicon6.bmp" />
+ <None Include="Resources\fileicon7.bmp" />
+ <None Include="Resources\fileicon4.bmp" />
+ <None Include="Resources\fileicon5.bmp" />
+ <None Include="Resources\fileicon2.bmp" />
+ <None Include="Resources\fileicon3.bmp" />
+ <None Include="Resources\fileicon18.bmp" />
+ <None Include="Resources\fileicon19.bmp" />
+ <None Include="Resources\fileicon16.bmp" />
+ <None Include="Resources\fileicon17.bmp" />
+ <None Include="Resources\fileicon15.bmp" />
+ <None Include="Resources\fileicon13.bmp" />
+ <None Include="Resources\fileicon14.bmp" />
+ <None Include="Resources\fileicon11.bmp" />
+ <None Include="Resources\fileicon12.bmp" />
+ <None Include="Resources\fileicon1.bmp" />
+ <None Include="Resources\fileicon10.bmp" />
+ <None Include="Resources\fileicon0.bmp" />
<Content Include="Resources\Ports.txt" />
<Content Include="Resources\Payloads.txt" />
<Content Include="Resources\Exploits.txt" />
diff --git a/ShiftOS_TheReturn/Properties/Resources.Designer.cs b/ShiftOS_TheReturn/Properties/Resources.Designer.cs
index bfadf74..748a1d2 100644
--- a/ShiftOS_TheReturn/Properties/Resources.Designer.cs
+++ b/ShiftOS_TheReturn/Properties/Resources.Designer.cs
@@ -61,6 +61,226 @@ namespace ShiftOS.Engine.Properties {
}
/// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon0 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon0", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon1 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon1", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon10 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon10", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon11 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon11", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon12 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon12", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon13 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon13", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon14 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon14", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon15 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon15", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon16 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon16", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon17 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon17", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon18 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon18", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon19 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon19", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon2 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon2", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon3 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon3", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon4 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon4", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon5 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon5", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon6 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon6", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon7 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon7", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon8 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon8", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ /// </summary>
+ internal static System.Drawing.Bitmap fileicon9 {
+ get {
+ object obj = ResourceManager.GetObject("fileicon9", resourceCulture);
+ 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>
+ internal static System.Drawing.Bitmap fileiconsaa {
+ get {
+ object obj = ResourceManager.GetObject("fileiconsaa", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to .
/// </summary>
internal static string hello {
diff --git a/ShiftOS_TheReturn/Properties/Resources.resx b/ShiftOS_TheReturn/Properties/Resources.resx
index 6e5d815..024d09a 100644
--- a/ShiftOS_TheReturn/Properties/Resources.resx
+++ b/ShiftOS_TheReturn/Properties/Resources.resx
@@ -142,4 +142,70 @@
<data name="pywintemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\pywintemplate.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
+ <data name="fileicon0" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon1" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon10" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon10.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon11" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon11.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon12" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon12.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon13" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon13.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon14" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon14.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon15" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon15.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon16" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon16.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon17" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon17.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon18" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon18.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon19" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon19.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon2" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon2.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon3" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon3.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon4" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon4.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon5" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon5.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon6" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon6.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon7" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon7.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon8" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon8.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileicon9" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileicon9.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileiconcf" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileiconcf.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="fileiconsaa" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\fileiconsaa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
</root> \ No newline at end of file
diff --git a/ShiftOS_TheReturn/Resources/fileicon0.bmp b/ShiftOS_TheReturn/Resources/fileicon0.bmp
new file mode 100644
index 0000000..e9f684e
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon0.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon1.bmp b/ShiftOS_TheReturn/Resources/fileicon1.bmp
new file mode 100644
index 0000000..ba26acb
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon1.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon10.bmp b/ShiftOS_TheReturn/Resources/fileicon10.bmp
new file mode 100644
index 0000000..81505bd
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon10.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon11.bmp b/ShiftOS_TheReturn/Resources/fileicon11.bmp
new file mode 100644
index 0000000..6fb6f6a
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon11.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon12.bmp b/ShiftOS_TheReturn/Resources/fileicon12.bmp
new file mode 100644
index 0000000..a345c0d
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon12.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon13.bmp b/ShiftOS_TheReturn/Resources/fileicon13.bmp
new file mode 100644
index 0000000..5fb0a4b
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon13.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon14.bmp b/ShiftOS_TheReturn/Resources/fileicon14.bmp
new file mode 100644
index 0000000..f52f6a1
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon14.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon15.bmp b/ShiftOS_TheReturn/Resources/fileicon15.bmp
new file mode 100644
index 0000000..bb0e029
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon15.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon16.bmp b/ShiftOS_TheReturn/Resources/fileicon16.bmp
new file mode 100644
index 0000000..8ae66eb
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon16.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon17.bmp b/ShiftOS_TheReturn/Resources/fileicon17.bmp
new file mode 100644
index 0000000..be1e63d
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon17.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon18.bmp b/ShiftOS_TheReturn/Resources/fileicon18.bmp
new file mode 100644
index 0000000..c12a51f
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon18.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon19.bmp b/ShiftOS_TheReturn/Resources/fileicon19.bmp
new file mode 100644
index 0000000..45f03e1
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon19.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon2.bmp b/ShiftOS_TheReturn/Resources/fileicon2.bmp
new file mode 100644
index 0000000..c4ffe12
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon2.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon3.bmp b/ShiftOS_TheReturn/Resources/fileicon3.bmp
new file mode 100644
index 0000000..543a162
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon3.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon4.bmp b/ShiftOS_TheReturn/Resources/fileicon4.bmp
new file mode 100644
index 0000000..d55037b
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon4.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon5.bmp b/ShiftOS_TheReturn/Resources/fileicon5.bmp
new file mode 100644
index 0000000..d72cd82
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon5.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon6.bmp b/ShiftOS_TheReturn/Resources/fileicon6.bmp
new file mode 100644
index 0000000..b604e09
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon6.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon7.bmp b/ShiftOS_TheReturn/Resources/fileicon7.bmp
new file mode 100644
index 0000000..8d8573e
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon7.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon8.bmp b/ShiftOS_TheReturn/Resources/fileicon8.bmp
new file mode 100644
index 0000000..7dc8cb8
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon8.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileicon9.bmp b/ShiftOS_TheReturn/Resources/fileicon9.bmp
new file mode 100644
index 0000000..fb7f15d
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileicon9.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileiconcf.bmp b/ShiftOS_TheReturn/Resources/fileiconcf.bmp
new file mode 100644
index 0000000..8db9711
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileiconcf.bmp
Binary files differ
diff --git a/ShiftOS_TheReturn/Resources/fileiconsaa.png b/ShiftOS_TheReturn/Resources/fileiconsaa.png
new file mode 100644
index 0000000..291770a
--- /dev/null
+++ b/ShiftOS_TheReturn/Resources/fileiconsaa.png
Binary files differ
diff --git a/ShiftOS_TheReturn/ShiftOS.Engine.csproj b/ShiftOS_TheReturn/ShiftOS.Engine.csproj
index 6d2e5bd..f1076e7 100644
--- a/ShiftOS_TheReturn/ShiftOS.Engine.csproj
+++ b/ShiftOS_TheReturn/ShiftOS.Engine.csproj
@@ -1791,6 +1791,28 @@
<Content Include="Lib\__phello__.foo.py">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <None Include="Resources\fileicon0.bmp" />
+ <None Include="Resources\fileicon10.bmp" />
+ <None Include="Resources\fileicon1.bmp" />
+ <None Include="Resources\fileicon12.bmp" />
+ <None Include="Resources\fileicon11.bmp" />
+ <None Include="Resources\fileicon14.bmp" />
+ <None Include="Resources\fileicon13.bmp" />
+ <None Include="Resources\fileicon15.bmp" />
+ <None Include="Resources\fileicon17.bmp" />
+ <None Include="Resources\fileicon16.bmp" />
+ <None Include="Resources\fileicon19.bmp" />
+ <None Include="Resources\fileicon18.bmp" />
+ <None Include="Resources\fileicon3.bmp" />
+ <None Include="Resources\fileicon2.bmp" />
+ <None Include="Resources\fileicon5.bmp" />
+ <None Include="Resources\fileicon4.bmp" />
+ <None Include="Resources\fileicon7.bmp" />
+ <None Include="Resources\fileicon6.bmp" />
+ <None Include="Resources\fileicon8.bmp" />
+ <None Include="Resources\fileiconsaa.png" />
+ <None Include="Resources\fileicon9.bmp" />
+ <None Include="Resources\fileiconcf.bmp" />
<None Include="Resources\pywintemplate.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />