Added defaulticonattribute.

This commit is contained in:
Michael 2017-02-07 17:30:14 -05:00
parent aa45e10f4a
commit 7a29121456
82 changed files with 689 additions and 34 deletions

View file

@ -1,28 +1,4 @@
/*
* MIT License
*
* Copyright (c) 2017 Michael VanOverbeek and ShiftOS devs
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
@ -85,15 +61,20 @@ namespace ShiftOS.Server.Properties {
}
/// <summary>
/// Looks up a localized string similar to &lt;html&gt;
/// Looks up a localized string similar to &lt;!DOCTYPE html&gt;
///&lt;html lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;
/// &lt;head&gt;
/// &lt;title&gt;ShiftOS Multi-User Domain &amp;bull; Admin Panel&lt;/title&gt;
/// &lt;meta charset=&quot;UTF-8&quot;&gt;
/// &lt;link rel=&quot;stylesheet&quot; href=&quot;http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot;/&gt;
/// &lt;script src=&quot;http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&quot;&gt;&lt;/script&gt;
///
/// &lt;/head&gt;
/// &lt;body&gt;
/// &lt;h1&gt;Welcome.&lt;/h1&gt;
/// &lt;p&gt;There&apos;s nothing here, but hey, it works!&lt;/p&gt;
/// &lt;/body&gt;
///&lt;/html&gt;.
/// &lt;nav class=&quot;navbar navbar-inverse navbar-fixed-top&quot;&gt;
/// &lt;div class=&quot;container&quot;&gt;
/// &lt;a class=&quot;navbar-brand&quot; href=&quot;/&quot;&gt;MUD Admin Panel&lt;/a&gt;
/// &lt;ul [rest of string was truncated]&quot;;.
/// </summary>
internal static string Home {
get {
@ -102,15 +83,378 @@ namespace ShiftOS.Server.Properties {
}
/// <summary>
/// Looks up a localized string similar to &lt;html&gt;
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconArtpad {
get {
object obj = ResourceManager.GetObject("iconArtpad", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconAudioPlayer {
get {
object obj = ResourceManager.GetObject("iconAudioPlayer", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconBitnoteDigger {
get {
object obj = ResourceManager.GetObject("iconBitnoteDigger", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconBitnoteWallet {
get {
object obj = ResourceManager.GetObject("iconBitnoteWallet", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconCalculator {
get {
object obj = ResourceManager.GetObject("iconCalculator", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconClock {
get {
object obj = ResourceManager.GetObject("iconClock", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconColourPicker_fw {
get {
object obj = ResourceManager.GetObject("iconColourPicker_fw", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconDodge {
get {
object obj = ResourceManager.GetObject("iconDodge", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconDownloader {
get {
object obj = ResourceManager.GetObject("iconDownloader", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconFileOpener_fw {
get {
object obj = ResourceManager.GetObject("iconFileOpener_fw", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconFileSaver_fw {
get {
object obj = ResourceManager.GetObject("iconFileSaver_fw", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconFileSkimmer {
get {
object obj = ResourceManager.GetObject("iconFileSkimmer", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconfloodgate {
get {
object obj = ResourceManager.GetObject("iconfloodgate", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icongraphicpicker {
get {
object obj = ResourceManager.GetObject("icongraphicpicker", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconIconManager {
get {
object obj = ResourceManager.GetObject("iconIconManager", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconInfoBox_fw {
get {
object obj = ResourceManager.GetObject("iconInfoBox_fw", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconKnowledgeInput {
get {
object obj = ResourceManager.GetObject("iconKnowledgeInput", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconmaze {
get {
object obj = ResourceManager.GetObject("iconmaze", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconNameChanger {
get {
object obj = ResourceManager.GetObject("iconNameChanger", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconoctocat {
get {
object obj = ResourceManager.GetObject("iconoctocat", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconorcwrite {
get {
object obj = ResourceManager.GetObject("iconorcwrite", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconPong {
get {
object obj = ResourceManager.GetObject("iconPong", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconShifter {
get {
object obj = ResourceManager.GetObject("iconShifter", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconShiftnet {
get {
object obj = ResourceManager.GetObject("iconShiftnet", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconShiftorium {
get {
object obj = ResourceManager.GetObject("iconShiftorium", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconshutdown {
get {
object obj = ResourceManager.GetObject("iconshutdown", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconSkinLoader {
get {
object obj = ResourceManager.GetObject("iconSkinLoader", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconSkinShifter {
get {
object obj = ResourceManager.GetObject("iconSkinShifter", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconSnakey {
get {
object obj = ResourceManager.GetObject("iconSnakey", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconSysinfo {
get {
object obj = ResourceManager.GetObject("iconSysinfo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconTerminal {
get {
object obj = ResourceManager.GetObject("iconTerminal", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconTextPad {
get {
object obj = ResourceManager.GetObject("iconTextPad", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconunitytoggle {
get {
object obj = ResourceManager.GetObject("iconunitytoggle", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconVideoPlayer {
get {
object obj = ResourceManager.GetObject("iconVideoPlayer", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconvirusscanner {
get {
object obj = ResourceManager.GetObject("iconvirusscanner", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap iconWebBrowser {
get {
object obj = ResourceManager.GetObject("iconWebBrowser", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized string similar to &lt;!DOCTYPE html&gt;
///&lt;html lang=&quot;en&quot; dir=&quot;ltr&gt;
/// &lt;head&gt;
/// &lt;title&gt;Multi-User Domain &amp;bull; Administration Panel - Page not found.&lt;/title&gt;
/// &lt;meta charset=&quot;UTF-8&quot;&gt;
/// &lt;/head&gt;
/// &lt;body&gt;
/// &lt;h1&gt;This page wasn&apos;t found.&lt;/h1&gt;
/// &lt;p&gt;We couldn&apos;t find this page...&lt;/p&gt;
/// &lt;/body&gt;
///&lt;/html&gt;.
///&lt;/html&gt;
///.
/// </summary>
internal static string NotFound {
get {

View file

@ -121,7 +121,115 @@
<data name="Home" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\index.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="iconArtpad" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconArtpad.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconAudioPlayer" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconAudioPlayer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconBitnoteDigger" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconBitnoteDigger.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconBitnoteWallet" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconBitnoteWallet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconCalculator" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconCalculator.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconClock" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconClock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconColourPicker_fw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconColourPicker.fw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconDodge" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconDodge.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconDownloader" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconDownloader.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconFileOpener_fw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconFileOpener.fw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconFileSaver_fw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconFileSaver.fw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconFileSkimmer" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconFileSkimmer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconfloodgate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconfloodgate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icongraphicpicker" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icongraphicpicker.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconIconManager" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconIconManager.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconInfoBox_fw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconInfoBox.fw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconKnowledgeInput" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconKnowledgeInput.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconmaze" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconmaze.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconNameChanger" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconNameChanger.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconoctocat" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconoctocat.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconorcwrite" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconorcwrite.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconPong" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconPong.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconShifter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconShifter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconShiftnet" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconShiftnet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconShiftorium" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconShiftorium.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconshutdown" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconshutdown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconSkinLoader" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconSkinLoader.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconSkinShifter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconSkinShifter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconSnakey" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconSnakey.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconSysinfo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconSysinfo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconTerminal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconTerminal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconTextPad" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconTextPad.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconunitytoggle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconunitytoggle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconVideoPlayer" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconVideoPlayer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconvirusscanner" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconvirusscanner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="iconWebBrowser" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconWebBrowser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="NotFound" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\404.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
</root>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

View file

@ -38,6 +38,7 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@ -82,6 +83,114 @@
<ItemGroup>
<None Include="Resources\Home.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconArtpad.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconAudioPlayer.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconBitnoteDigger.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconBitnoteWallet.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconCalculator.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconClock.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconColourPicker.fw.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconDodge.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconDownloader.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconFileOpener.fw.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconFileSaver.fw.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconFileSkimmer.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconfloodgate.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\icongraphicpicker.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconIconManager.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconInfoBox.fw.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconKnowledgeInput.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconmaze.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconNameChanger.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconoctocat.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconorcwrite.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconPong.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconShifter.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconShiftnet.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconShiftorium.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconshutdown.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconSkinLoader.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconSkinShifter.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconSnakey.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconSysinfo.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconTerminal.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconTextPad.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconunitytoggle.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconVideoPlayer.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconvirusscanner.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\iconWebBrowser.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View file

@ -33,6 +33,7 @@ using Newtonsoft.Json;
using static ShiftOS.Objects.ShiftFS.Utils;
using ShiftOS.WinForms.Applications;
using ShiftOS.WinForms.Tools;
using System.Reflection;
namespace ShiftOS.WinForms
{
@ -71,6 +72,26 @@ namespace ShiftOS.WinForms
}
}
internal class ShiftOSIconProvider : IIconProber
{
public Image GetIcon(DefaultIconAttribute attr)
{
var res = typeof(Properties.Resources);
foreach(var prop in res.GetProperties(BindingFlags.NonPublic | BindingFlags.Static))
{
if(prop.PropertyType.BaseType == typeof(Image))
{
if(prop.Name == attr.ID)
{
return prop.GetValue(null) as Image;
}
}
}
return new Bitmap(16, 16);
}
}
internal class WinformsShiftoriumProvider : IShiftoriumProvider
{
public List<ShiftoriumUpgrade> GetDefaults()

View file

@ -489,6 +489,16 @@ namespace ShiftOS.WinForms.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap IconTerminal {
get {
object obj = ResourceManager.GetObject("IconTerminal", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized string similar to [
/// &quot;english&quot;

View file

@ -268,4 +268,7 @@
<data name="DefaultMouse" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DefaultMouse.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="IconTerminal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\IconTerminal.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -5,6 +5,11 @@
Description: "Some basic commands for the terminal that'll help you out in the multi-user domain.",
Dependencies: null
},
{
Name: "Audio Volume",
Cost: 50,
Description: "Want to adjust the volume of ShiftOS's audio? This upgrade will let you."
},
{
Name: "Color Depth Dithering",
Cost: 1000,

View file

@ -463,6 +463,7 @@
<None Include="Resources\strings_en.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\IconTerminal.bmp" />
<None Include="Resources\sys_shiftoriumstory.txt" />
<None Include="Resources\DefaultMouse.bmp" />
<Content Include="Resources\hello.txt" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

View file

@ -33,6 +33,7 @@ using Newtonsoft.Json;
using System.Windows.Forms;
using static ShiftOS.Engine.SaveSystem;
using ShiftOS.Objects.ShiftFS;
using System.Reflection;
namespace ShiftOS.Engine {
public static class SkinEngine {
@ -113,13 +114,51 @@ namespace ShiftOS.Engine {
Utils.WriteAllText(Paths.GetPath("skin.json"), JsonConvert.SerializeObject(LoadedSkin, Formatting.Indented));
}
private static IIconProber _iconProber = null;
public static Image GetDefaultIcon(string id)
{
if (_iconProber == null)
{
return new Bitmap(16, 16);
}
else
{
foreach(var f in System.IO.Directory.GetFiles(Environment.CurrentDirectory))
{
if(f.EndsWith(".exe") || f.EndsWith(".dll"))
{
try
{
var asm = Assembly.LoadFile(f);
foreach(var type in asm.GetTypes())
{
if(type.Name == id)
{
foreach(var attr in type.GetCustomAttributes(true))
{
if(attr is DefaultIconAttribute)
{
return _iconProber.GetIcon(attr as DefaultIconAttribute);
}
}
}
}
}
catch { }
}
}
return new Bitmap(16, 16);
}
}
public static Image GetIcon(string id)
{
if (!LoadedSkin.AppIcons.ContainsKey(id))
LoadedSkin.AppIcons.Add(id, null);
if (LoadedSkin.AppIcons[id] == null)
return new Bitmap(16, 16);
return GetDefaultIcon(id);
else
{
using (var sr = new MemoryStream(LoadedSkin.AppIcons[id]))
@ -131,6 +170,21 @@ namespace ShiftOS.Engine {
}
}
public interface IIconProber
{
Image GetIcon(DefaultIconAttribute attr);
}
public class DefaultIconAttribute : Attribute
{
public DefaultIconAttribute(string id)
{
ID = id;
}
public string ID { get; private set; }
}
public class Skin {
//borrowing from the discourse theme for the default skin
private static readonly Color DefaultBackground = Color.FromArgb(0, 0x44, 0x00);