Added defaulticonattribute.
408
ShiftOS.Server/Properties/Resources.Designer.cs
generated
|
@ -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 <html>
|
||||
/// Looks up a localized string similar to <!DOCTYPE html>
|
||||
///<html lang="en" dir="ltr">
|
||||
/// <head>
|
||||
/// <title>ShiftOS Multi-User Domain &bull; Admin Panel</title>
|
||||
/// <meta charset="UTF-8">
|
||||
/// <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
|
||||
/// <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
///
|
||||
/// </head>
|
||||
/// <body>
|
||||
/// <h1>Welcome.</h1>
|
||||
/// <p>There's nothing here, but hey, it works!</p>
|
||||
/// </body>
|
||||
///</html>.
|
||||
/// <nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
/// <div class="container">
|
||||
/// <a class="navbar-brand" href="/">MUD Admin Panel</a>
|
||||
/// <ul [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Home {
|
||||
get {
|
||||
|
@ -102,15 +83,378 @@ namespace ShiftOS.Server.Properties {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <html>
|
||||
/// 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 <!DOCTYPE html>
|
||||
///<html lang="en" dir="ltr>
|
||||
/// <head>
|
||||
/// <title>Multi-User Domain &bull; Administration Panel - Page not found.</title>
|
||||
/// <meta charset="UTF-8">
|
||||
/// </head>
|
||||
/// <body>
|
||||
/// <h1>This page wasn't found.</h1>
|
||||
/// <p>We couldn't find this page...</p>
|
||||
/// </body>
|
||||
///</html>.
|
||||
///</html>
|
||||
///.
|
||||
/// </summary>
|
||||
internal static string NotFound {
|
||||
get {
|
||||
|
|
|
@ -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>
|
BIN
ShiftOS.Server/Resources/iconArtpad.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconAudioPlayer.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.Server/Resources/iconBitnoteDigger.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.Server/Resources/iconBitnoteWallet.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconCalculator.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.Server/Resources/iconClock.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.Server/Resources/iconColourPicker.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconDodge.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
ShiftOS.Server/Resources/iconDownloader.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.Server/Resources/iconFileOpener.fw.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconFileSaver.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconFileSkimmer.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconIconManager.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
ShiftOS.Server/Resources/iconInfoBox.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconKnowledgeInput.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconNameChanger.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.Server/Resources/iconPong.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconShifter.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconShiftnet.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.Server/Resources/iconShiftorium.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
ShiftOS.Server/Resources/iconSkinLoader.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconSkinShifter.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.Server/Resources/iconSnakey.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
ShiftOS.Server/Resources/iconSysinfo.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
ShiftOS.Server/Resources/iconTerminal.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconTextPad.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconVideoPlayer.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconWebBrowser.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.Server/Resources/iconfloodgate.png
Normal file
After Width: | Height: | Size: 260 B |
BIN
ShiftOS.Server/Resources/icongraphicpicker.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.Server/Resources/iconmaze.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
ShiftOS.Server/Resources/iconoctocat.bmp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
ShiftOS.Server/Resources/iconorcwrite.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
ShiftOS.Server/Resources/iconshutdown.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.Server/Resources/iconunitytoggle.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
ShiftOS.Server/Resources/iconvirusscanner.png
Normal file
After Width: | Height: | Size: 292 B |
|
@ -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.
|
||||
|
|
|
@ -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()
|
||||
|
|
10
ShiftOS.WinForms/Properties/Resources.Designer.cs
generated
|
@ -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 [
|
||||
/// "english"
|
||||
|
|
|
@ -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>
|
BIN
ShiftOS.WinForms/Resources/IconTerminal.bmp
Normal file
After Width: | Height: | Size: 1.3 KiB |
|
@ -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,
|
||||
|
|
|
@ -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" />
|
||||
|
|
BIN
ShiftOS.WinForms/SystemIcons/iconArtpad.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconAudioPlayer.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconBitnoteDigger.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconBitnoteWallet.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconCalculator.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconClock.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconColourPicker.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconDodge.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
ShiftOS.WinForms/SystemIcons/iconDownloader.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconFileOpener.fw.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconFileSaver.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconFileSkimmer.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconIconManager.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconInfoBox.fw.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconKnowledgeInput.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconNameChanger.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconPong.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconShifter.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconShiftnet.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconShiftorium.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconSkinLoader.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconSkinShifter.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconSnakey.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
ShiftOS.WinForms/SystemIcons/iconSysinfo.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
ShiftOS.WinForms/SystemIcons/iconTerminal.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconTextPad.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconVideoPlayer.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconWebBrowser.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconfloodgate.png
Normal file
After Width: | Height: | Size: 260 B |
BIN
ShiftOS.WinForms/SystemIcons/icongraphicpicker.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconmaze.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
ShiftOS.WinForms/SystemIcons/iconoctocat.bmp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconorcwrite.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
ShiftOS.WinForms/SystemIcons/iconshutdown.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
ShiftOS.WinForms/SystemIcons/iconunitytoggle.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
ShiftOS.WinForms/SystemIcons/iconvirusscanner.png
Normal file
After Width: | Height: | Size: 292 B |
|
@ -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);
|
||||
|
|