Add uicore files for tracking
No files matched your search
@@ -1,11 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<NMakeBuildCommandLine> </NMakeBuildCommandLine>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="src/client/spark/spark.csproj" />
|
||||
<ProjectReference Include="src/client/spark_api/spark_api.csproj" />
|
||||
<ProjectReference Include="src/client/sparktool/sparktool.csproj" />
|
||||
<ProjectReference Include="src/client/sparkcmd/sparkcmd.csproj" />
|
||||
<ProjectReference Include="src/**/spark_lib.vcxproj" />
|
||||
<!-- makes sure vcxproj is up to date from cmake -->
|
||||
<ProjectReference Include="src/**/ZERO_CHECK.vcxproj" />
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Collections.Generic;
|
||||
using mbts.ui.native;
|
||||
using bts.log;
|
||||
using System.Windows.Threading;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
public abstract class BTSApplicationBootstrapper : IDisposable
|
||||
{
|
||||
private ShellModel _model;
|
||||
|
||||
static BTSApplicationBootstrapper() {
|
||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||
Dispatcher.CurrentDispatcher.UnhandledException += CurrentDispatcher_HandleClipboardError;
|
||||
}
|
||||
|
||||
public static void CurrentDispatcher_HandleClipboardError(object sender, DispatcherUnhandledExceptionEventArgs e) {
|
||||
// Dont' allow clipboard failure to bring down the shell
|
||||
var com_exeption = e.Exception as System.Runtime.InteropServices.COMException;
|
||||
if (com_exeption != null && com_exeption.ErrorCode == -2147221040) {
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
|
||||
Logger.log(Level.Error, Subsystem.ui, "Unhandled Exception: " + e.ExceptionObject.ToString());
|
||||
if (e.IsTerminating) {
|
||||
Logger.system_is_crashing("Unhandled exception", e.ExceptionObject);
|
||||
}
|
||||
}
|
||||
|
||||
// Should create and show the shell
|
||||
public abstract void CreateShell(ShellModel model);
|
||||
|
||||
public void Run() {
|
||||
_model = new ShellModel();
|
||||
_model.Initialize();
|
||||
CreateShell(_model);
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
_model.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,297 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Reflection;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
[Serializable]
|
||||
[ProtoBuf.ProtoContract(Name = "SerializableColorWrapper")]
|
||||
public class BTSColor
|
||||
{
|
||||
public BTSColor()
|
||||
{
|
||||
A = 255;
|
||||
B = 128;
|
||||
R = 128;
|
||||
G = 128;
|
||||
}
|
||||
|
||||
public BTSColor(byte gray)
|
||||
{
|
||||
A = 255;
|
||||
B = gray;
|
||||
R = gray;
|
||||
G = gray;
|
||||
}
|
||||
|
||||
public BTSColor(byte r, byte g, byte b)
|
||||
{
|
||||
A = 255;
|
||||
R = r;
|
||||
G = g;
|
||||
B = b;
|
||||
}
|
||||
|
||||
public BTSColor(byte a, byte r, byte g, byte b)
|
||||
{
|
||||
A = a;
|
||||
R = r;
|
||||
G = g;
|
||||
B = b;
|
||||
}
|
||||
|
||||
public BTSColor(System.Windows.Media.Color color)
|
||||
{
|
||||
A = color.A;
|
||||
R = color.R;
|
||||
G = color.G;
|
||||
B = color.B;
|
||||
}
|
||||
|
||||
public BTSColor(System.Drawing.Color color)
|
||||
{
|
||||
A = color.A;
|
||||
R = color.R;
|
||||
G = color.G;
|
||||
B = color.B;
|
||||
}
|
||||
|
||||
public BTSColor(byte alpha, BTSColor color)
|
||||
{
|
||||
A = alpha;
|
||||
R = color.R;
|
||||
G = color.G;
|
||||
B = color.B;
|
||||
}
|
||||
|
||||
public BTSColor(uint source)
|
||||
{
|
||||
var arr = BitConverter.GetBytes(source);
|
||||
|
||||
A = (byte) (arr[3] != 0 ? arr[3] : 0xff);
|
||||
R = arr[2];
|
||||
G = arr[1];
|
||||
B = arr[0];
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj != null)
|
||||
{
|
||||
if (obj is BTSColor)
|
||||
return ((BTSColor)obj).A == A && ((BTSColor)obj).B == B && ((BTSColor)obj).R == R && ((BTSColor)obj).G == G;
|
||||
if (obj is System.Windows.Media.Color)
|
||||
return ((System.Windows.Media.Color)obj).A == A && ((System.Windows.Media.Color)obj).B == B && ((System.Windows.Media.Color)obj).R == R && ((System.Windows.Media.Color)obj).G == G;
|
||||
else if (obj is System.Drawing.Color)
|
||||
return ((System.Drawing.Color)obj).A == A && ((System.Drawing.Color)obj).B == B && ((System.Drawing.Color)obj).R == R && ((System.Drawing.Color)obj).G == G;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return (int)ToUint();
|
||||
}
|
||||
|
||||
public uint ToUint() {
|
||||
return ((uint)A << 24) | ((uint)R << 16) | ((uint)G << 8) | (uint)B;
|
||||
}
|
||||
|
||||
public enum LightenMethod
|
||||
{
|
||||
Absolute,
|
||||
Relative
|
||||
}
|
||||
|
||||
// return a new BTSColor that has been lightened by the specified amount
|
||||
public BTSColor lighten(int value, LightenMethod method = LightenMethod.Relative)
|
||||
{
|
||||
var hsl = to_hsl();
|
||||
|
||||
double _l = hsl.Item3;
|
||||
|
||||
if (method == LightenMethod.Relative)
|
||||
{
|
||||
_l += _l * value / 100;
|
||||
}
|
||||
else
|
||||
{
|
||||
_l += value / 100;
|
||||
}
|
||||
|
||||
var rgb = to_rgb(hsl.Item1, hsl.Item2, _l);
|
||||
|
||||
byte _r = (byte)rgb.Item1;
|
||||
byte _g = (byte)rgb.Item2;
|
||||
byte _b = (byte)rgb.Item3;
|
||||
|
||||
return new BTSColor(_r, _g, _b);
|
||||
}
|
||||
|
||||
// Lighten by a negative number
|
||||
public BTSColor darken(int value, LightenMethod method = LightenMethod.Relative)
|
||||
{
|
||||
return lighten(value * -1);
|
||||
}
|
||||
|
||||
public static (byte r, byte g, byte b) darken2(byte r, byte g, byte b, double darker=0.75) {
|
||||
return ((byte)(r * darker), (byte)(g * darker), (byte)(b * darker));
|
||||
}
|
||||
|
||||
|
||||
#region Properties
|
||||
|
||||
[ProtoBuf.ProtoMember(2), DefaultValue((byte)255)]
|
||||
public byte A { get; private set; }
|
||||
|
||||
[ProtoBuf.ProtoMember(6), DefaultValue((byte)128)]
|
||||
public byte R { get; private set; }
|
||||
|
||||
[ProtoBuf.ProtoMember(8), DefaultValue((byte)128)]
|
||||
public byte G { get; private set; }
|
||||
|
||||
[ProtoBuf.ProtoMember(4), DefaultValue((byte)128)]
|
||||
public byte B { get; private set; }
|
||||
|
||||
#endregion
|
||||
|
||||
public static implicit operator System.Drawing.Color(BTSColor x)
|
||||
{
|
||||
if (x != null)
|
||||
return System.Drawing.Color.FromArgb(x.A, x.R, x.G, x.B);
|
||||
return System.Drawing.Color.Gray;
|
||||
}
|
||||
|
||||
public static implicit operator BTSColor(System.Drawing.Color x)
|
||||
{
|
||||
return new BTSColor(x);
|
||||
}
|
||||
|
||||
public static implicit operator System.Windows.Media.Color(BTSColor x)
|
||||
{
|
||||
if (x != null)
|
||||
return System.Windows.Media.Color.FromArgb(x.A, x.R, x.G, x.B);
|
||||
return System.Windows.Media.Colors.Gray;
|
||||
}
|
||||
|
||||
public static implicit operator BTSColor(System.Windows.Media.Color x)
|
||||
{
|
||||
return new BTSColor(x);
|
||||
}
|
||||
|
||||
static public implicit operator System.Windows.Media.Brush(BTSColor x)
|
||||
{
|
||||
return new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromArgb(x.A, x.R, x.G, x.B));
|
||||
}
|
||||
|
||||
static public implicit operator BTSColor(System.Windows.Media.SolidColorBrush x)
|
||||
{
|
||||
return new BTSColor(x.Color);
|
||||
}
|
||||
|
||||
public static implicit operator BTSColor(byte x)
|
||||
{
|
||||
return new BTSColor(x);
|
||||
}
|
||||
|
||||
public static implicit operator uint(BTSColor x) {
|
||||
return x.ToUint();
|
||||
}
|
||||
|
||||
public static implicit operator BTSColor(uint x)
|
||||
{
|
||||
return new BTSColor(x);
|
||||
}
|
||||
|
||||
public static implicit operator BTSColor(SettingsColor x)
|
||||
{
|
||||
return new BTSColor((byte) x.A, (byte)x.R, (byte)x.G, (byte)x.B);
|
||||
}
|
||||
|
||||
public static implicit operator SettingsColor(BTSColor x)
|
||||
{
|
||||
return new SettingsColor() { A = x.A, R = x.R, G = x.G, B = x.B };
|
||||
}
|
||||
|
||||
#region Private Functions
|
||||
|
||||
// convert the current color into HSL
|
||||
private Tuple<double, double, double> to_hsl()
|
||||
{
|
||||
double rr = (double)R / (double)byte.MaxValue;
|
||||
double gg = (double)G / (double)byte.MaxValue;
|
||||
double bb = (double)B / (double)byte.MaxValue;
|
||||
|
||||
var max = Math.Max(Math.Max(rr, gg), bb);
|
||||
var min = Math.Min(Math.Min(rr, gg), bb);
|
||||
double h = 0;
|
||||
double s = 0;
|
||||
double l = (max + min) / 2;
|
||||
double d = max - min;
|
||||
if (min != max)
|
||||
{
|
||||
s = l > 0.5 ?
|
||||
d / (2 - max - min) :
|
||||
d / (max + min);
|
||||
if (max == rr) h = (gg - bb) / d + (gg < bb ? 6 : 0);
|
||||
if (max == gg) h = (bb - rr) / d + 2;
|
||||
if (max == bb) h = (rr - gg) / d + 4;
|
||||
h /= 6;
|
||||
h = h * 360;
|
||||
|
||||
s = s * 100;
|
||||
l = l * 100;
|
||||
}
|
||||
|
||||
return Tuple.Create(h, s, l);
|
||||
|
||||
}
|
||||
|
||||
// convert an HSL color into RGB
|
||||
private Tuple<double, double, double> to_rgb(double h, double s, double l)
|
||||
{
|
||||
h = (h % 360) / 360;
|
||||
s = Math.Min(1, Math.Max(0, s / 100));
|
||||
l = Math.Min(1, Math.Max(0, l / 100));
|
||||
|
||||
double r = hue(h + 1 / 3, s, l) * 255;
|
||||
double g = hue(h, s, l) * 255;
|
||||
double b = hue(h - 1 / 3, s, l) * 255;
|
||||
|
||||
return Tuple.Create(r, g, b);
|
||||
}
|
||||
|
||||
private double hue(double h, double s, double l)
|
||||
{
|
||||
double m2 = l <= 0.5 ? l * (s + 1) : l + s - l * s;
|
||||
double m1 = l * 2 - m2;
|
||||
|
||||
h = h < 0 ? h + 1 : (h > 1 ? h - 1 : h);
|
||||
|
||||
if (h * 6 < 1)
|
||||
{
|
||||
return m1 + (m2 - m1) * h * 6;
|
||||
}
|
||||
else if (h * 2 < 1)
|
||||
{
|
||||
return m2;
|
||||
}
|
||||
else if (h * 3 < 2)
|
||||
{
|
||||
return m1 + (m2 - m1) * (2 / 3 - h) * 6;
|
||||
}
|
||||
else
|
||||
{
|
||||
return m1;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Reflection;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
[MarkupExtensionReturnType(typeof(object))]
|
||||
public class BTSColorExtension : MarkupExtension
|
||||
{
|
||||
|
||||
public BTSColorExtension() { }
|
||||
|
||||
public BTSColorExtension(string name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
// The color_dictionary needs to be populated once
|
||||
static BTSColorExtension()
|
||||
{
|
||||
// get all the colors in the nested types
|
||||
foreach(Type t in typeof(BTSColors).GetNestedTypes(BindingFlags.Public | BindingFlags.Static)) {
|
||||
foreach(PropertyInfo p in t.GetProperties(BindingFlags.Public | BindingFlags.Static)) {
|
||||
if(p.PropertyType == typeof(BTSColor))
|
||||
color_dictionary.Add("{0}.{1}".fmt(t.Name, p.Name), (BTSColor)p.GetValue(null));
|
||||
else if (p.PropertyType == typeof(Color))
|
||||
color_dictionary.Add("{0}.{1}".fmt(t.Name, p.Name), (Color)p.GetValue(null));
|
||||
}
|
||||
}
|
||||
foreach(PropertyInfo p in typeof(BTSColors).GetProperties(BindingFlags.Public | BindingFlags.Static)) {
|
||||
if(p.PropertyType == typeof(BTSColor))
|
||||
color_dictionary.Add(p.Name, (BTSColor)p.GetValue(null));
|
||||
else if (p.PropertyType == typeof(Color))
|
||||
color_dictionary.Add(p.Name, (Color)p.GetValue(null));
|
||||
}
|
||||
}
|
||||
|
||||
public override object ProvideValue(IServiceProvider serviceProvider)
|
||||
{
|
||||
if (serviceProvider == null) { return null; }
|
||||
|
||||
// get the target of the extension from the IServiceProvider interface
|
||||
IProvideValueTarget _ipvt = (IProvideValueTarget)serviceProvider.GetService(typeof(IProvideValueTarget));
|
||||
|
||||
// Get the Name of the attribute
|
||||
String property_name = "";
|
||||
|
||||
Type property_type = null;
|
||||
|
||||
//if property is not part of the VisualTree (Style defined in Resources, or ControlTemplate Triggers etc.)
|
||||
if (_ipvt.TargetProperty == null)
|
||||
property_type = typeof(Color);
|
||||
|
||||
else if(_ipvt.TargetProperty is DependencyProperty)
|
||||
{
|
||||
DependencyProperty target_property = _ipvt.TargetProperty as DependencyProperty;
|
||||
property_name = target_property.Name;
|
||||
property_type = target_property.PropertyType;
|
||||
}
|
||||
else
|
||||
{ // else it must be PropertyInfo
|
||||
PropertyInfo target_property = _ipvt.TargetProperty as PropertyInfo;
|
||||
property_name = target_property.Name;
|
||||
}
|
||||
|
||||
|
||||
// if the color name exists in the dictionary then return the color/brush
|
||||
BTSColor out_color = null;
|
||||
|
||||
if (color_dictionary.TryGetValue(Name, out out_color))
|
||||
{
|
||||
if (Lighten != 0)
|
||||
{
|
||||
out_color = out_color.lighten(Lighten);
|
||||
}
|
||||
|
||||
if (Darken != 0)
|
||||
{
|
||||
out_color = out_color.darken(Darken);
|
||||
}
|
||||
|
||||
if (Alpha != 0)
|
||||
{
|
||||
out_color = new BTSColor((Byte) Alpha, out_color.R, out_color.G, out_color.B);
|
||||
}
|
||||
|
||||
// if the property type is a Color then return a Color
|
||||
// else return a brush
|
||||
if (property_type != null && property_type == typeof(Color))
|
||||
{
|
||||
return (Color)out_color;
|
||||
}
|
||||
else
|
||||
{
|
||||
return (Brush)out_color;
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // if the color is not in the dictionary then throw an exception
|
||||
Logger.assert_d(false, "The color '{0}' could not be found".fmt(Name));
|
||||
throw new ColorNotFoundException();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Create dictionary of colors
|
||||
public static readonly Dictionary<String, BTSColor> color_dictionary = new Dictionary<string, BTSColor>();
|
||||
|
||||
[ConstructorArgument("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
public int Lighten { get; set; }
|
||||
public int Darken { get; set; }
|
||||
public int Alpha { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,455 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Media;
|
||||
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
// Usage
|
||||
// xmlns:mbts="clr-namespace:mbts.ui;assembly=bts_uicore"
|
||||
// Value = "{mbts:BTSColor X.y}"
|
||||
public static class BTSColors
|
||||
{
|
||||
static BTSColors() {
|
||||
_header_brush = new SolidColorBrush(header);
|
||||
_header_text_brush = new SolidColorBrush(header_text);
|
||||
_header_alternate_brush = new SolidColorBrush(header_alternate);
|
||||
foreach (var brush in new Brush[] { _header_brush, _header_text_brush, _header_alternate_brush }) brush.Freeze();
|
||||
}
|
||||
|
||||
private static Brush _header_brush, _header_text_brush, _header_alternate_brush;
|
||||
|
||||
[DisplayInfo(name = "Default Header")]
|
||||
public static BTSColor header { get { return BTSCoreColors.base_blue; } }
|
||||
public static Brush header_brush { get { return _header_brush; } }
|
||||
public static BTSColor header_text { get { return BTSCoreColors.white; } }
|
||||
public static Brush header_text_brush { get { return _header_text_brush; } }
|
||||
public static BTSColor header_alternate { get { return BTSCoreColors.blue_grey; } }
|
||||
public static BTSColor disabled_text { get { return BTSCoreColors.gray_light; } }
|
||||
|
||||
public static BTSColor pinkalicious { get { return new BTSColor(0xff, 0x33, 0x99); } }
|
||||
|
||||
// Grid column colors
|
||||
|
||||
public static class Security
|
||||
{
|
||||
[DisplayInfo(name = "Security")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_dark; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.white; } }
|
||||
|
||||
public static BTSColor default_future_background { get { return BTSCoreColors.green_dark_light; } }
|
||||
public static BTSColor default_future_text { get { return BTSCoreColors.white; } }
|
||||
|
||||
public static BTSColor visible_strike_range_background { get { return BTSCoreColors.blue_bright; } }
|
||||
}
|
||||
|
||||
public static class Greeks
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Greeks")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_bright_light; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
[DisplayInfo(name = "Theo")]
|
||||
public static BTSColor live_theo { get { return BTSCoreColors.unrelated_green_for_theos_and_deltas_and_nothing_else; } }
|
||||
[DisplayInfo(name = "Delta")]
|
||||
public static BTSColor delta { get { return live_theo; } }
|
||||
|
||||
// Alerts
|
||||
[DisplayInfo(name = "Cross Buy Alert")]
|
||||
public static BTSColor cross_buy { get { return BTSCoreColors.blue_light_alternate; } }
|
||||
[DisplayInfo(name = "Proximity Buy Alert")]
|
||||
public static BTSColor proximity_buy { get { return BTSCoreColors.blue_light_alternate_light; } }
|
||||
[DisplayInfo(name = "Cross Sell Alert")]
|
||||
public static BTSColor cross_sell { get { return BTSCoreColors.red_light; } }
|
||||
[DisplayInfo(name = "Proximity Sell Alert")]
|
||||
public static BTSColor proximity_sell { get { return BTSCoreColors.red_lighter; } }
|
||||
|
||||
}
|
||||
|
||||
public static class MarketData
|
||||
{
|
||||
static MarketData() {
|
||||
_bid_brush.Freeze();
|
||||
_ask_brush.Freeze();
|
||||
}
|
||||
private static readonly Brush _bid_brush = new SolidColorBrush(_bid);
|
||||
private static readonly Brush _ask_brush = new SolidColorBrush(_ask);
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Market Data")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_light_lighter; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
private static readonly BTSColor _bid = new BTSColor(44, 75, 244), _ask = new BTSColor(244, 66, 66);
|
||||
public static BTSColor bid { get { return _bid; } }
|
||||
public static BTSColor ask { get { return _ask; } }
|
||||
public static BTSColor last { get { return BTSCoreColors.black; } }
|
||||
public static Brush bid_brush => _bid_brush;
|
||||
public static Brush ask_brush => _ask_brush;
|
||||
|
||||
[DisplayInfo(name = "Settlement")]
|
||||
public static BTSColor settlement_background { get { return Grid.default_column_background; } }
|
||||
[DisplayInfo(name = "Driver")]
|
||||
public static BTSColor driver_background { get { return BTSCoreColors.blue_light_lighter; } }
|
||||
|
||||
[DisplayInfo(name = "ATM")]
|
||||
public static BTSColor atm_background { get { return BTSCoreColors.gray_dark; } }
|
||||
|
||||
// Alerts
|
||||
[DisplayInfo(name = "Trade Alert")]
|
||||
public static BTSColor trade_alert { get { return BTSCoreColors.red_pale_dark; } }
|
||||
[DisplayInfo(name = "Trade price over Theo Alert")]
|
||||
public static BTSColor trade_price_over_theo { get { return BTSCoreColors.red_pale_dark; } }
|
||||
[DisplayInfo(name = "Trade price under Theo Alert")]
|
||||
public static BTSColor trade_price_under_theo { get { return BTSCoreColors.blue_bright_dark; } }
|
||||
|
||||
}
|
||||
|
||||
public static class Tasking
|
||||
{
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
[DisplayInfo(name = "Task On")]
|
||||
public static BTSColor eye_on { get { return BTSCoreColors.green_p_light; } }
|
||||
public static BTSColor eye_cross { get { return BTSCoreColors.orange_light; } }
|
||||
}
|
||||
|
||||
public static class Position
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Position")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_light_dark; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
}
|
||||
|
||||
public static class RiskReport
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Risk Report")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_light_dark; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
[DisplayInfo(name = "Risk PnL")]
|
||||
public static BTSColor pnl_background { get { return Grid.default_column_background; } }
|
||||
|
||||
// Alerts
|
||||
public static BTSColor pnl_loss_text { get { return BTSCoreColors.red; } }
|
||||
public static BTSColor pnl_profit_text { get { return text_default; } }
|
||||
}
|
||||
|
||||
public static class Orders
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Orders")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_light_lighter; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
[DisplayInfo(name = "Price")]
|
||||
public static BTSColor price_background { get { return BTSCoreColors.blue_light_dark; } }
|
||||
[DisplayInfo(name = "Size")]
|
||||
public static BTSColor size_background { get { return BTSCoreColors.blue_light_dark; } }
|
||||
|
||||
// Alerts
|
||||
public static BTSColor working_status_summary { get { return BTSCoreColors.green; } }
|
||||
public static BTSColor working_cancel { get { return BTSCoreColors.red; } }
|
||||
public static BTSColor working_cancel_text { get { return BTSCoreColors.white; } }
|
||||
|
||||
public static BTSColor filled { get { return BTSCoreColors.green_light_light_saturated; } }
|
||||
|
||||
[DisplayInfo(name = "Order Buy Text")]
|
||||
public static BTSColor order_buy_text { get { return BTSCoreColors.black; } }
|
||||
[DisplayInfo(name = "Order Sell Text")]
|
||||
public static BTSColor order_sell_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
[DisplayInfo(name = "Order Buy Background")]
|
||||
public static BTSColor order_buy_background { get { return BTSCoreColors.red_light_dark_saturated; } }
|
||||
[DisplayInfo(name = "Order Sell Background")]
|
||||
public static BTSColor order_sell_background { get { return BTSCoreColors.blue_light_dark_saturated; } }
|
||||
|
||||
public static BTSColor straddle_theovsmarket_negative { get { return BTSCoreColors.red_light; } }
|
||||
public static BTSColor straddle_theovsmarket_positive { get { return BTSCoreColors.green_light; } }
|
||||
}
|
||||
|
||||
public static class AW2 {
|
||||
public static BTSColor collapsed { get { return BTSCoreColors.blue_light_dark; } }
|
||||
}
|
||||
|
||||
public static class Quoter
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Quoter")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.blue_grey_lighter; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
[DisplayInfo(name = "Quoter Set Background")]
|
||||
public static BTSColor set_background { get { return BTSCoreColors.blue_grey_light; } }
|
||||
|
||||
public static BTSColor ask_text { get { return BTSCoreColors.red_dark; } }
|
||||
public static BTSColor bid_text { get { return BTSCoreColors.blue; } }
|
||||
|
||||
// Alerts
|
||||
[DisplayInfo(name = "Quoting Security On")]
|
||||
public static BTSColor quoting_security_on { get { return BTSCoreColors.yellow_lighter; } }
|
||||
[DisplayInfo(name = "Quoting Security Streaming")]
|
||||
public static BTSColor quoting_security_streaming { get { return BTSCoreColors.green_bright; } }
|
||||
[DisplayInfo(name = "Quoting Security On BBO")]
|
||||
public static BTSColor quoting_security_on_bbo { get { return BTSCoreColors.green_bright_dark; } }
|
||||
|
||||
}
|
||||
|
||||
public static class Quoteset
|
||||
{
|
||||
// Base Colors
|
||||
[DisplayInfo(name = "Quoteset")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.gray_dc; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
|
||||
public static BTSColor ask_text { get { return BTSCoreColors.red_dark; } }
|
||||
public static BTSColor bid_text { get { return BTSCoreColors.blue; } }
|
||||
|
||||
[DisplayInfo(name = "Quoteset Price")]
|
||||
public static BTSColor mid_price_background { get { return new BTSColor(0xff, 0xda, 0xb9); } } //ffdab9 - "PeachPuff"
|
||||
[DisplayInfo(name = "Quoteset Mid Straddle")]
|
||||
public static BTSColor mid_straddle_background { get { return mid_price_background; } }
|
||||
|
||||
// Alerts
|
||||
[DisplayInfo(name = "Quoteset Override")]
|
||||
public static BTSColor quoteset_override { get { return BTSCoreColors.gray_8c; } }
|
||||
[DisplayInfo(name = "Quoteset Input Override")]
|
||||
public static BTSColor quoteset_input_override { get { return BTSCoreColors.blue_grey_light; } }
|
||||
|
||||
}
|
||||
|
||||
public static class Presave
|
||||
{
|
||||
[DisplayInfo(name = "Presave")]
|
||||
public static BTSColor default_background { get { return BTSCoreColors.yellow_light; } }
|
||||
public static BTSColor default_text { get { return BTSCoreColors.black; } }
|
||||
}
|
||||
|
||||
public static class Grid
|
||||
{
|
||||
// grid defaults
|
||||
[DisplayInfo(name = "Grid Line")]
|
||||
public static BTSColor grid_line_dark { get { return BTSCoreColors.black; } }
|
||||
public static BTSColor grid_line { get { return BTSCoreColors.gray; } }
|
||||
public static BTSColor grid_line_light { get { return BTSCoreColors.gray_light; } }
|
||||
public static BTSColor grid_line_lighter { get { return BTSCoreColors.gray_lighter; } }
|
||||
public static BTSColor grid_line_lightest { get { return BTSCoreColors.gray_lightest; } }
|
||||
public static BTSColor grid_line_lightest_light { get { return BTSCoreColors.gray_lightest_light; } }
|
||||
public static BTSColor grid_selection_background_overlay { get { return BTSCoreColors.gray; } }
|
||||
public static BTSColor grid_selection_background { get { return BTSCoreColors.gray_lighter; } }
|
||||
public static BTSColor grid_selection_border { get { return BTSCoreColors.blue_bright; } }
|
||||
|
||||
public static BTSColor grid_vertical_group_separator { get { return grid_line_dark; } }
|
||||
|
||||
public static BTSColor expiration_seperator { get { return grid_line_dark; } }
|
||||
|
||||
[DisplayInfo(name = "Grid Default Background")]
|
||||
public static BTSColor default_column_background { get { return BTSCoreColors.blue_light; } }
|
||||
public static BTSColor light_column_background { get { return BTSCoreColors.white; } }
|
||||
|
||||
// input grid
|
||||
public static BTSColor input_grid_line { get { return BTSCoreColors.black; } }
|
||||
public static BTSColor input_cell_background { get { return BTSCoreColors.white; } }
|
||||
public static BTSColor input_grid_line_focused { get { return BTSCoreColors.blue_bright; } }
|
||||
public static BTSColor input_cell_background_focused { get { return BTSCoreColors.gray_lightest_light; } }
|
||||
public static BTSColor wacky_strike_atm_color { get { return new BTSColor(0x82, 0x93, 0xaf); } }
|
||||
public static BTSColor alternate_row_background { get { return BTSCoreColors.blue_light_lighter; } }
|
||||
|
||||
public static BTSColor grid_cell_change_flash { get { return new BTSColor(0xff, 0xff, 0x11); } } // Not useable from ColorAnimation? - see VolSurfaceView.xaml
|
||||
}
|
||||
|
||||
public static class Graph
|
||||
{
|
||||
public static BTSColor grid_line { get { return new BTSColor(64, 0, 0, 0); } }
|
||||
}
|
||||
|
||||
public static class UI
|
||||
{
|
||||
[DisplayInfo(name = "Shell Background")]
|
||||
public static BTSColor default_background { get { return new BTSColor(0xf6, 0xf6, 0xf6); } }
|
||||
[DisplayInfo(name = "Shell Text")]
|
||||
public static BTSColor default_text { get { return new BTSColor(34); } }
|
||||
public static BTSColor alternate_text { get { return BTSCoreColors.white; } }
|
||||
|
||||
public static BTSColor input_background { get { return new BTSColor(0xff); } }
|
||||
public static BTSColor input_text { get { return default_text; } }
|
||||
|
||||
public static BTSColor freeze { get { return gray; } }
|
||||
|
||||
[DisplayInfo(name = "Shell Accent Dark")]
|
||||
public static BTSColor accent_dark { get { return logo; } }
|
||||
[DisplayInfo(name = "Shell Accent Light")]
|
||||
public static BTSColor accent_light { get { return new BTSColor(0x8f, 0xa9, 0xbe); } }
|
||||
|
||||
public static BTSColor form_border { get { return new BTSColor(80, 80, 90); } }
|
||||
|
||||
[DisplayInfo(name = "Shell Dialog Skirt")]
|
||||
public static BTSColor dialog_skirt { get { return new BTSColor(0xe1, 0xe7, 0xeb); } }
|
||||
|
||||
[DisplayInfo(name = "BTS Success")]
|
||||
public static BTSColor success { get { return new BTSColor(67, 172, 106); } }
|
||||
[DisplayInfo(name = "BTS Danger")]
|
||||
public static BTSColor danger { get { return new BTSColor(240, 65, 36); } }
|
||||
[DisplayInfo(name = "BTS Warning")]
|
||||
public static BTSColor warning { get { return new BTSColor(191, 102, 0); } }
|
||||
public static BTSColor warning_dark { get { return new BTSColor(114, 61, 0); } }
|
||||
public static BTSColor warning_light { get { return new BTSColor(Colors.LightYellow); } }
|
||||
|
||||
|
||||
public static BTSColor brand_lightest { get { return new BTSColor(230, 243, 249); } }
|
||||
public static BTSColor brand_lighter { get { return new BTSColor(191, 225, 239); } }
|
||||
[DisplayInfo(name = "BTS Brand Light")]
|
||||
public static BTSColor brand_light { get { return new BTSColor(128, 195, 224); } }
|
||||
[DisplayInfo(name = "BTS Brand Info")]
|
||||
public static BTSColor brand_info { get { return new BTSColor(25, 187, 255); } }
|
||||
public static BTSColor brand_medium { get { return new BTSColor(60, 165, 207); } }
|
||||
[DisplayInfo(name = "BTS Brand Primary")]
|
||||
public static BTSColor brand_primary { get { return new BTSColor(0, 134, 191); } }
|
||||
[DisplayInfo(name = "BTS Brand Dark")]
|
||||
public static BTSColor brand_dark { get { return new BTSColor(0, 101, 143); } }
|
||||
public static BTSColor brand_darker { get { return new BTSColor(0, 67, 96); } }
|
||||
public static BTSColor brand_darkest { get { return new BTSColor(0, 13, 19); } }
|
||||
|
||||
public static BTSColor black { get { return BTSCoreColors.black; } }
|
||||
public static BTSColor white { get { return BTSCoreColors.white; } }
|
||||
|
||||
[DisplayInfo(name = "Darkest Gray")]
|
||||
public static BTSColor gray_darkest { get { return BTSCoreColors.gray_darkest; } }
|
||||
[DisplayInfo(name = "Darker Gray")]
|
||||
public static BTSColor gray_darker { get { return BTSCoreColors.gray_darker; } }
|
||||
[DisplayInfo(name = "Dark Gray")]
|
||||
public static BTSColor gray_dark { get { return BTSCoreColors.gray_dark; } }
|
||||
[DisplayInfo(name = "Gray")]
|
||||
public static BTSColor gray { get { return BTSCoreColors.gray; } }
|
||||
[DisplayInfo(name = "Light Gray")]
|
||||
public static BTSColor gray_light { get { return BTSCoreColors.gray_light; } }
|
||||
[DisplayInfo(name = "Lighter Gray")]
|
||||
public static BTSColor gray_lighter { get { return BTSCoreColors.gray_lighter; } }
|
||||
[DisplayInfo(name = "Lightest Gray")]
|
||||
public static BTSColor gray_lightest { get { return BTSCoreColors.gray_lightest; } }
|
||||
}
|
||||
|
||||
public static class VolSurfaceGraph
|
||||
{
|
||||
[DisplayInfo(name = "Vol Surface Curve")]
|
||||
public static BTSColor main_curve { get { return BTSCoreColors.black; } }
|
||||
[DisplayInfo(name = "Vol Surface Wing")]
|
||||
public static BTSColor wing { get { return BTSCoreColors.gray; } }
|
||||
[DisplayInfo(name = "Vol Surface Put Special")]
|
||||
public static BTSColor put_special { get { return BTSCoreColors.blue; } }
|
||||
[DisplayInfo(name = "Vol Surface ATM")]
|
||||
public static BTSColor main_curve_atm { get { return BTSCoreColors.green; } }
|
||||
[DisplayInfo(name = "Vol Surface Call Special")]
|
||||
public static BTSColor call_special { get { return BTSCoreColors.red; } }
|
||||
[DisplayInfo(name = "Vol Surface Put Implied Vol")]
|
||||
public static BTSColor implied_put { get { return BTSCoreColors.blue_bright_light; } }
|
||||
[DisplayInfo(name = "Vol Surface ATM Implied Vol")]
|
||||
public static BTSColor implied_atm { get { return BTSCoreColors.black; } }
|
||||
[DisplayInfo(name = "Vol Surface Call Implied Vol")]
|
||||
public static BTSColor implied_call { get { return BTSCoreColors.red_light; } }
|
||||
[DisplayInfo(name = "Vol Path")]
|
||||
public static BTSColor vol_path { get { return BTSCoreColors.cyan_green_dark; } }
|
||||
}
|
||||
|
||||
public static class Heatmap
|
||||
{
|
||||
//public static BTSColor negative_diff { get { return Colors.CornflowerBlue; } }
|
||||
//public static BTSColor no_diff { get { return Colors.White; } }
|
||||
//public static BTSColor positive_diff { get { return Colors.MediumVioletRed; } }
|
||||
|
||||
public static BTSColor negative_diff { get { return Color.FromRgb(155, 0, 16); } }
|
||||
public static BTSColor no_diff { get { return Colors.White; } }
|
||||
public static BTSColor positive_diff { get { return Color.FromRgb(0, 90, 50); } }
|
||||
}
|
||||
|
||||
// Style Guide Colors
|
||||
public static Color brand_lightest { get { return UI.brand_lightest; } }
|
||||
public static Brush brand_lightest_brush { get { return new SolidColorBrush(brand_lightest); } }
|
||||
public static Color brand_lighter { get { return UI.brand_lighter; } }
|
||||
public static Brush brand_lighter_brush { get { return new SolidColorBrush(brand_lighter); } }
|
||||
public static Color brand_light { get { return UI.brand_light; } }
|
||||
public static Brush brand_light_brush { get { return new SolidColorBrush(brand_light); } }
|
||||
public static Color brand_info { get { return UI.brand_info; } }
|
||||
public static Brush brand_info_brush { get { return new SolidColorBrush(brand_info); } }
|
||||
public static Color brand_medium { get { return UI.brand_medium; } }
|
||||
public static Brush brand_medium_brush { get { return new SolidColorBrush(brand_medium); } }
|
||||
public static Color brand_primary { get { return UI.brand_primary; } }
|
||||
public static Brush brand_primary_brush { get { return new SolidColorBrush(brand_primary); } }
|
||||
public static Color brand_dark { get { return UI.brand_dark; } }
|
||||
public static Brush brand_dark_brush { get { return new SolidColorBrush(brand_dark); } }
|
||||
public static Color brand_darker { get { return UI.brand_darker; } }
|
||||
public static Brush brand_darker_brush { get { return new SolidColorBrush(brand_darker); } }
|
||||
public static Color brand_darkest { get { return UI.brand_darkest; } }
|
||||
public static Brush brand_darkest_brush { get { return new SolidColorBrush(brand_darkest); } }
|
||||
|
||||
public static Color success { get { return UI.success; } }
|
||||
public static Brush success_brush { get { return new SolidColorBrush(success); } }
|
||||
public static Color danger { get { return UI.danger; } }
|
||||
public static Brush danger_brush { get { return new SolidColorBrush(danger); } }
|
||||
public static Color warning { get { return UI.warning; } }
|
||||
public static Brush warning_brush { get { return new BTSColor(191, 102, 0); } }
|
||||
public static Color warning_dark { get { return UI.warning_dark; } }
|
||||
public static Brush warning_dark_brush { get { return new SolidColorBrush(warning_dark); } }
|
||||
public static Color warning_light { get { return UI.warning_light; } }
|
||||
public static Brush warning_light_brush { get { return new SolidColorBrush(warning_light); } }
|
||||
|
||||
public static Color text_default { get { return UI.default_text; } }
|
||||
public static Brush text_default_brush { get { return new SolidColorBrush(text_default); } }
|
||||
public static Color text_alternate { get { return UI.alternate_text; } }
|
||||
public static Brush text_alternate_brush { get { return new SolidColorBrush(text_alternate); } }
|
||||
public static Color text_alternate_dark { get { return (Color)BTSCoreColors.black; } }
|
||||
public static Brush text_alternate_dark_brush { get { return new SolidColorBrush(text_alternate_dark); } }
|
||||
|
||||
// Logo Colors
|
||||
public static Color logo { get { return Color.FromRgb(0x00, 0x86, 0xbf); } }
|
||||
public static Brush logo_brush { get { return new SolidColorBrush(logo); } }
|
||||
public static Color logo_brown { get { return Color.FromRgb(56, 52, 49); } }
|
||||
public static Brush logo_brown_brush { get { return new SolidColorBrush(logo_brown); } }
|
||||
public static Color logo_gray { get { return Color.FromRgb(179, 179, 179); } }
|
||||
public static Brush logo_gray_brush { get { return new SolidColorBrush(logo_gray); } }
|
||||
|
||||
public static Color common_background { get { return UI.default_background; } }
|
||||
public static Brush common_background_brush { get { return new SolidColorBrush(common_background); } }
|
||||
|
||||
public static Color accent1 { get { return UI.accent_light; } }
|
||||
public static Brush accent1_brush { get { return new SolidColorBrush(accent1); } }
|
||||
|
||||
public static Color accent_dark { get { return UI.accent_dark; } }
|
||||
public static Brush accent_dark_brush { get { return new SolidColorBrush(accent_dark); } }
|
||||
public static Color accent_light { get { return UI.accent_light; } }
|
||||
public static Brush accent_light_brush { get { return new SolidColorBrush(accent_light); } }
|
||||
public static Brush accent_light_background_brush { get { Brush rv = accent_light_brush; rv.Opacity = 0.2; return rv; } }
|
||||
|
||||
public static Brush form_border_brush { get { return new SolidColorBrush(UI.form_border); } }
|
||||
|
||||
public static Color dialog_skirt { get { return UI.dialog_skirt; } }
|
||||
public static Brush dialog_skirt_brush { get { return new SolidColorBrush(dialog_skirt); } }
|
||||
|
||||
// Main form display colors
|
||||
#region Main Form Colors
|
||||
public static Color red_orange { get { return Color.FromRgb(0xde, 0x34, 0x29); } }
|
||||
public static Color blue { get { return Color.FromRgb(0x16, 0x7e, 0xd3); } }
|
||||
public static Brush blue_brush { get { return new SolidColorBrush(blue); } }
|
||||
public static Color yellow { get { return Color.FromRgb(0xfd, 0xcb, 0x4a); } }
|
||||
public static Brush yellow_brush { get { return new SolidColorBrush(yellow); } }
|
||||
public static Color green { get { return Color.FromRgb(0x43, 0xa2, 0x3c); } }
|
||||
public static Color orange { get { return Color.FromRgb(0xfc, 0x8b, 0x00); } }
|
||||
public static Color pale_blue { get { return Color.FromRgb(0x2f, 0xb5, 0xe4); } }
|
||||
public static Brush pale_blue_brush { get { return new SolidColorBrush(pale_blue); } }
|
||||
public static Color red { get { return Color.FromRgb(0xc4, 0x12, 0x12); } }
|
||||
public static Color pale_green { get { return Color.FromRgb(0x37, 0x7d, 0x35); } }
|
||||
public static Color purple { get { return Color.FromRgb(0x81, 0x5f, 0x91); } }
|
||||
public static Color teal { get { return Color.FromRgb(0x6d, 0xdb, 0xff); } } //"Win8" teal
|
||||
public static Color olive { get { return Color.FromRgb(0x80, 0x80, 0x00); } }
|
||||
|
||||
private static Color[] _colors = new Color[] { blue, red_orange, green, yellow, pale_blue, orange, red, pale_green, purple, olive };
|
||||
public static Color[] module_colors { get { return _colors; } }
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
public static class BTSCoreColors
|
||||
{
|
||||
// Gray
|
||||
public static BTSColor black = 0x00;// 000000
|
||||
public static BTSColor white = 0xff; // ffffff
|
||||
|
||||
|
||||
public static BTSColor gray_8c = 0x8c; // 8c8c8c
|
||||
public static BTSColor gray_dc = 0xdc; // dcdcdc
|
||||
|
||||
public static BTSColor gray_darkest = 0x21; // 212121
|
||||
public static BTSColor gray_darker = 0x40;// 404040
|
||||
public static BTSColor gray_dark = 0x5e;// 5e5e5e
|
||||
public static BTSColor gray = 0x80; // 808080 (replaces system Gray)
|
||||
public static BTSColor gray_light = 0xa1; // a1a1a1
|
||||
public static BTSColor gray_lighter = 0xbf; // bfbfbf
|
||||
public static BTSColor gray_lightest = 0xde; // dedede
|
||||
public static BTSColor gray_lightest_light = 0xf5; // f5f5f5 (Replaces System Light Smoke)
|
||||
|
||||
// Blue
|
||||
public static BTSColor blue = new BTSColor(0x00, 0x00, 0xff); // 0000ff
|
||||
|
||||
public static BTSColor base_blue = new BTSColor(0x41, 0x69, 0xaa); // 4169AA
|
||||
|
||||
public static BTSColor blue_light_dark = new BTSColor(0x9a, 0xb1, 0xd6); //9ab1d6
|
||||
public static BTSColor blue_light_dark_saturated = new BTSColor(0x72, 0x98, 0xd6); //7298d6
|
||||
public static BTSColor blue_light = new BTSColor(0xc2, 0xd6, 0xf6); //c2d6f6
|
||||
public static BTSColor blue_light_light = new BTSColor(0xd4, 0xe1, 0xf6); //d4e1f6
|
||||
public static BTSColor blue_light_lighter = new BTSColor(0xe6, 0xef, 0xff); //e6efff
|
||||
|
||||
public static BTSColor blue_light_alternate = new BTSColor(0xa6, 0xba, 0xff); //a6baff
|
||||
public static BTSColor blue_light_alternate_light = new BTSColor(0xd9, 0xd9, 0xff); //d9d9ff
|
||||
|
||||
public static BTSColor blue_pale_light = new BTSColor(0xf2, 0xf7, 0xff); //f2f7ff
|
||||
|
||||
public static BTSColor blue_dark = new BTSColor(0x1a, 0x34, 0x5d); //1A345D
|
||||
public static BTSColor blue_dark_light = new BTSColor(0x2e, 0x5b, 0xa3); //2e5ba3
|
||||
public static BTSColor blue_dark_lighter_pale = new BTSColor(0x63, 0x8a, 0xc7); //638ac7
|
||||
|
||||
public static BTSColor blue_bright_darkest = new BTSColor(0x29, 0x59, 0xa6); //2959a6
|
||||
public static BTSColor blue_bright_darker = new BTSColor(0x39, 0x6c, 0xbf); //396cbf
|
||||
public static BTSColor blue_bright_dark = new BTSColor(0x55, 0x85, 0xd4); //5585d4
|
||||
public static BTSColor blue_bright = new BTSColor(0x5e, 0x98, 0xf6); //5E98F6
|
||||
public static BTSColor blue_bright_light_dark = new BTSColor(0x8f, 0xaf, 0xff); //8fbaff
|
||||
public static BTSColor blue_bright_light = new BTSColor(0xa6, 0xc8, 0xff); //a6c8ff
|
||||
public static BTSColor blue_bright_lighter = new BTSColor(0xd6, 0xe6, 0xff); //d6e6ff
|
||||
public static BTSColor blue_bright_lightest = new BTSColor(0xeb, 0xf3, 0xff); //ebf3ff
|
||||
|
||||
public static BTSColor blue_grey_dark = new BTSColor(0x3b, 0x46, 0x57); //3b4657
|
||||
public static BTSColor blue_grey = new BTSColor(0x7e, 0x9a, 0xb8); //7E94B8
|
||||
public static BTSColor blue_grey_light = new BTSColor(0xba, 0xbf, 0xc7); //babfc7
|
||||
public static BTSColor blue_grey_lighter = new BTSColor(0xd1, 0xd7, 0xe0); //d1d7e0
|
||||
public static BTSColor blue_grey_lightest = new BTSColor(0xde, 0xde, 0xe8); //dedee8
|
||||
|
||||
|
||||
|
||||
// Cyan
|
||||
public static BTSColor cyan_green_darker = new BTSColor(0x0a, 0x79, 0x66); //0A7966
|
||||
public static BTSColor cyan_green_dark = new BTSColor(0x1b, 0x96, 0x81); //1B9681
|
||||
public static BTSColor cyan_green = new BTSColor(0x34, 0xa3, 0x90); //34A390
|
||||
public static BTSColor cyan_green_light = new BTSColor(0x57, 0xbe, 0xad); //57BEAD
|
||||
public static BTSColor cyan_green_lighter = new BTSColor(0x88, 0xd9, 0xcb); //88D9CB
|
||||
public static BTSColor cyan_green_lightest = new BTSColor(0xac, 0xe8, 0xde); //ace8de
|
||||
|
||||
// Green
|
||||
public static BTSColor unrelated_green_for_theos_and_deltas_and_nothing_else = new BTSColor(0xd1, 0xff, 0xd1); // d1ffd1
|
||||
|
||||
public static BTSColor green_mid = new BTSColor(0x70, 0xa3, 0x52); //70a352
|
||||
|
||||
public static BTSColor green_light_dark = new BTSColor(0x88, 0xa3, 0x53); //88a352
|
||||
public static BTSColor green_light_saturated = new BTSColor(0xb8, 0xff, 0x2e); //b8ff2e
|
||||
public static BTSColor green_light = new BTSColor(0xd4, 0xff, 0x80); //d4ff80
|
||||
public static BTSColor green_light_light_saturated = new BTSColor(0xd7, 0xff, 0x8a); //d7ff8a
|
||||
public static BTSColor green_light_light = new BTSColor(0xeb, 0xff, 0xc4); //ebffc4
|
||||
|
||||
public static BTSColor green_dark = new BTSColor(0x61, 0x77, 0x22); //617722
|
||||
|
||||
public static BTSColor green_pale_dark = new BTSColor(0xac, 0xcf, 0x68); //accf68
|
||||
|
||||
public static BTSColor green_bright_darker = new BTSColor(0x51, 0x87, 0x00); //518700
|
||||
public static BTSColor green_bright_dark = new BTSColor(0x60, 0xa1, 0x00); //60a100
|
||||
public static BTSColor green_bright = new BTSColor(0x7c, 0xcf, 0x00); //7ccf00
|
||||
public static BTSColor green_bright_light = new BTSColor(0xdf, 0xf2, 0xc2); //dff2c2
|
||||
|
||||
public static BTSColor green = new BTSColor(0x00, 0xc0, 0x00); //00c000
|
||||
public static BTSColor green_p_light = new BTSColor(0x99, 0xee, 0x90); //99ee90
|
||||
|
||||
public static BTSColor green_dark_light = new BTSColor(0x25, 0x5d, 0x25); //255d25
|
||||
|
||||
//Red
|
||||
public static BTSColor red_lighter = new BTSColor(0xff, 0xd9, 0xd9); //ffd9d9
|
||||
public static BTSColor red_light = new BTSColor(0xff, 0xa6, 0xa6); //ffa6a6
|
||||
public static BTSColor red = new BTSColor(0xff, 0x00, 0x00); // ff0000
|
||||
public static BTSColor red_dark = new BTSColor(0xc0, 0x00, 0x00); // c00000
|
||||
|
||||
public static BTSColor red_pale_dark = new BTSColor(0xe6, 0x68, 0x55); //e66855
|
||||
public static BTSColor red_pale = new BTSColor(0xff, 0xbf, 0xb5); // ffbfb5
|
||||
|
||||
public static BTSColor red_light_dark = new BTSColor(0xd6, 0x9a, 0x9a); //d69a9a
|
||||
public static BTSColor red_light_dark_saturated = new BTSColor(0xd6, 0x7e, 0x7e); //d67e7e
|
||||
|
||||
// Yellow
|
||||
public static BTSColor yellow_bright = new BTSColor(0xee, 0xff, 0x00); //eeff00
|
||||
|
||||
public static BTSColor yellow_lightest_lightest = new BTSColor(0xff, 0xfc, 0xf2); //fffcf2
|
||||
public static BTSColor yellow_lightest = new BTSColor(0xff, 0xec, 0xa0); //FFECA0
|
||||
public static BTSColor yellow_lighter = new BTSColor(0xff, 0xe2, 0x74); //FFE474
|
||||
public static BTSColor yellow_light = new BTSColor(0xff, 0xdd, 0x52); //FFDD52
|
||||
public static BTSColor yellow = new BTSColor(0xed, 0xc7, 0x2a); //EDC72A
|
||||
|
||||
// Orange
|
||||
public static BTSColor orange_yellow = new BTSColor(0xff, 0xbc, 0x46); //FFBC46
|
||||
|
||||
public static BTSColor orange_lightest = new BTSColor(0xff, 0xac, 0x74); //FFAC74
|
||||
public static BTSColor orange_light = new BTSColor(0xff, 0x98, 0x52); //FF9852
|
||||
public static BTSColor orange = new BTSColor(0xed, 0x79, 0x2a); //ED792A
|
||||
public static BTSColor orange_dark = new BTSColor(0xc0, 0x56, 0x0f); //C0560F
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
partial class SettingsFont
|
||||
{
|
||||
public double size_in_points => Size / 96 * 72;
|
||||
|
||||
public BTSFontWeight weight => Bold ? System.Windows.FontWeights.Bold : System.Windows.FontWeights.Regular;
|
||||
|
||||
public BTSFontStyle style
|
||||
{
|
||||
get => new BTSFontStyle() { italic = this.Italic, bold = this.Bold, strikeout = this.Strikeout, oblique = this.Oblique, underline = this.Underline };
|
||||
private set
|
||||
{
|
||||
Italic = value.italic;
|
||||
Bold = value.bold;
|
||||
Oblique = value.oblique;
|
||||
Underline = value.underline;
|
||||
Strikeout = value.strikeout;
|
||||
}
|
||||
}
|
||||
|
||||
public static explicit operator System.Windows.Media.FontFamily(SettingsFont bts_font) => new System.Windows.Media.FontFamily(bts_font.Family);
|
||||
|
||||
public static explicit operator System.Drawing.FontFamily(SettingsFont bts_font) => new System.Drawing.FontFamily(bts_font.Family);
|
||||
|
||||
|
||||
public static explicit operator System.Drawing.Font(SettingsFont bts_font)
|
||||
{
|
||||
return new System.Drawing.Font(bts_font.Family, bts_font.Size,
|
||||
(bts_font.Bold ? System.Drawing.FontStyle.Bold : System.Drawing.FontStyle.Regular) |
|
||||
(bts_font.Italic ? System.Drawing.FontStyle.Italic : System.Drawing.FontStyle.Regular) |
|
||||
(bts_font.Underline ? System.Drawing.FontStyle.Underline: System.Drawing.FontStyle.Regular) |
|
||||
(bts_font.Strikeout ? System.Drawing.FontStyle.Strikeout : System.Drawing.FontStyle.Regular)
|
||||
);
|
||||
}
|
||||
|
||||
public static explicit operator SettingsFont(System.Windows.Media.FontFamily media_font_family) => new SettingsFont{ Family = media_font_family.FamilyNames.Values.ElementAt(0) };
|
||||
|
||||
public static explicit operator SettingsFont(System.Drawing.FontFamily font_family) => new SettingsFont { Family = font_family.Name };
|
||||
|
||||
public static explicit operator SettingsFont(System.Drawing.Font drawing_font)
|
||||
{
|
||||
return new SettingsFont
|
||||
{
|
||||
Family = drawing_font.Name,
|
||||
Size = drawing_font.Size,
|
||||
Bold = drawing_font.Bold,
|
||||
Italic = drawing_font.Italic,
|
||||
Strikeout = drawing_font.Strikeout,
|
||||
Underline = drawing_font.Underline
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
[ProtoBuf.ProtoContract()]
|
||||
[Serializable]
|
||||
public class BTSFontFamily
|
||||
{
|
||||
[ProtoBuf.ProtoMember(1)]
|
||||
public string name { get; set; }
|
||||
|
||||
public override string ToString() { return name; }
|
||||
|
||||
public static implicit operator System.Windows.Media.FontFamily(BTSFontFamily bts_font_family) {
|
||||
object obj = new System.Windows.Media.FontFamilyConverter().ConvertFromString(bts_font_family.name);
|
||||
return obj as System.Windows.Media.FontFamily;
|
||||
}
|
||||
|
||||
public static implicit operator System.Drawing.FontFamily(BTSFontFamily bts_font_family) {
|
||||
return bts_font_family != null ? new System.Drawing.FontFamily(bts_font_family.name) : null;
|
||||
}
|
||||
|
||||
public static implicit operator BTSFontFamily(System.Windows.Media.FontFamily swm_font_family) {
|
||||
return swm_font_family != null ? new BTSFontFamily { name = swm_font_family.FamilyNames.Values.ElementAt(0) } : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
public class BTSFontStyle
|
||||
{
|
||||
public bool bold { get; set; }
|
||||
public bool italic { get; set; }
|
||||
public bool oblique { get; set; }
|
||||
public bool underline { get; set; }
|
||||
public bool strikeout { get; set; }
|
||||
|
||||
|
||||
public static explicit operator System.Drawing.FontStyle(BTSFontStyle bts_font_style)
|
||||
{
|
||||
return (bts_font_style.bold ? System.Drawing.FontStyle.Bold : System.Drawing.FontStyle.Regular) |
|
||||
((bts_font_style.italic | bts_font_style.oblique) ? System.Drawing.FontStyle.Italic : System.Drawing.FontStyle.Regular) |
|
||||
(bts_font_style.underline ? System.Drawing.FontStyle.Underline : System.Drawing.FontStyle.Regular) |
|
||||
(bts_font_style.strikeout ? System.Drawing.FontStyle.Strikeout : System.Drawing.FontStyle.Regular);
|
||||
|
||||
}
|
||||
|
||||
public static explicit operator System.Windows.FontStyle(BTSFontStyle bts_font_style)
|
||||
{
|
||||
if (bts_font_style.italic)
|
||||
return System.Windows.FontStyles.Italic;
|
||||
else if (bts_font_style.oblique)
|
||||
return System.Windows.FontStyles.Oblique;
|
||||
else
|
||||
return System.Windows.FontStyles.Normal;
|
||||
|
||||
}
|
||||
|
||||
public static explicit operator BTSFontStyle (System.Windows.FontStyle font_style)
|
||||
{
|
||||
if(font_style == System.Windows.FontStyles.Italic)
|
||||
return new BTSFontStyle() { italic = true };
|
||||
else if (font_style == System.Windows.FontStyles.Oblique)
|
||||
return new BTSFontStyle() { oblique = true };
|
||||
else
|
||||
return new BTSFontStyle() ;
|
||||
|
||||
}
|
||||
|
||||
public static explicit operator BTSFontStyle(System.Drawing.FontStyle font_style)
|
||||
{
|
||||
var ret = new BTSFontStyle();
|
||||
|
||||
ret.bold = font_style.HasFlag(System.Drawing.FontStyle.Bold);
|
||||
ret.italic = font_style.HasFlag(System.Drawing.FontStyle.Italic);
|
||||
ret.underline = font_style.HasFlag(System.Drawing.FontStyle.Underline);
|
||||
ret.strikeout = font_style.HasFlag(System.Drawing.FontStyle.Strikeout);
|
||||
|
||||
return ret;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
[ProtoBuf.ProtoContract()]
|
||||
[Serializable]
|
||||
public class BTSFontWeight
|
||||
{
|
||||
[ProtoBuf.ProtoMember(1)]
|
||||
public int weight { get; set; }
|
||||
|
||||
public static implicit operator System.Windows.FontWeight(BTSFontWeight bts_font_weight) {
|
||||
return bts_font_weight != null ? System.Windows.FontWeight.FromOpenTypeWeight(bts_font_weight.weight) : System.Windows.FontWeights.Regular;
|
||||
}
|
||||
|
||||
public static implicit operator System.Drawing.FontStyle(BTSFontWeight bts_font_weight) {
|
||||
return bts_font_weight != null && bts_font_weight.weight == System.Windows.FontWeights.Bold.ToOpenTypeWeight() ? System.Drawing.FontStyle.Bold : System.Drawing.FontStyle.Regular;
|
||||
}
|
||||
|
||||
public static implicit operator BTSFontWeight(System.Windows.FontWeight sw_font_weight) {
|
||||
return new BTSFontWeight { weight = sw_font_weight.ToOpenTypeWeight() };
|
||||
}
|
||||
|
||||
public static implicit operator BTSFontWeight(System.Drawing.FontStyle sd_font_style) {
|
||||
return new BTSFontWeight { weight = sd_font_style == System.Drawing.FontStyle.Bold ? System.Windows.FontWeights.Bold.ToOpenTypeWeight() : System.Windows.FontWeights.Regular.ToOpenTypeWeight() };
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
class ColorNotFoundException : Exception
|
||||
{
|
||||
public ColorNotFoundException() : base("The color is not defined in BTSColors") { }
|
||||
public ColorNotFoundException(String message) : base(message) { }
|
||||
public ColorNotFoundException(String message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
public class DebugException : Exception
|
||||
{
|
||||
public DebugException() { }
|
||||
public DebugException(string message) : base(message) { }
|
||||
public DebugException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 326 B |
|
After Width: | Height: | Size: 326 B |
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
public class Icons
|
||||
{
|
||||
static readonly string base_uri = "pack://application:,,,/bts_uicore;component/Images/Icons/";
|
||||
private static ResourceDictionary _resources = (ResourceDictionary)Application.LoadComponent(new Uri("/bts_uicore;component/Images/Vector/Icons.xaml", UriKind.RelativeOrAbsolute));
|
||||
|
||||
private static Uri uri(string filename) {
|
||||
return new Uri(base_uri + filename);
|
||||
}
|
||||
|
||||
[Obsolete("Please only add new vector icons using icons.xaml")]
|
||||
private static ImageSource load_image(string filename) {
|
||||
return new BitmapImage(uri(filename));
|
||||
}
|
||||
|
||||
#pragma warning disable CS0618 // Type or member is obsolete
|
||||
public static ImageSource Logo { get { return load_image("logo.ico"); } }
|
||||
public static ImageSource Admin { get { return (DrawingImage)_resources["Admin"]; } }
|
||||
public static ImageSource Analytics { get { return (DrawingImage)_resources["Analytics"]; } }
|
||||
public static ImageSource Orders { get { return (DrawingImage)_resources["Orders"]; } }
|
||||
public static ImageSource Sheets { get { return (DrawingImage)_resources["Sheets"]; } }
|
||||
public static ImageSource Trades { get { return (DrawingImage)_resources["Trades"]; } }
|
||||
public static ImageSource Depth { get { return (DrawingImage)_resources["Depth"]; } }
|
||||
public static ImageSource SheetsRed { get { return load_image("SheetsRed.png"); } }
|
||||
public static ImageSource SheetsGreen { get { return load_image("SheetsGreen.png"); } }
|
||||
public static ImageSource Spreads { get { return (DrawingImage)_resources["Spreads"]; } }
|
||||
public static ImageSource BlueSpreads { get { return load_image("BlueSpread.ico"); } }
|
||||
public static ImageSource MMTN { get { return load_image("mmtn.ico"); } }
|
||||
public static ImageSource Reports { get { return (DrawingImage)_resources["Reports"]; } }
|
||||
public static ImageSource Risk { get { return (DrawingImage)_resources["Risk"]; } }
|
||||
public static ImageSource Eye { get { return (DrawingImage)_resources["Eye"]; } }
|
||||
public static ImageSource Coins { get { return (DrawingImage)_resources["Coins"]; } }
|
||||
|
||||
|
||||
public static ImageSource Loading { get { return load_image("loading.ico"); } }
|
||||
public static ImageSource DataCopy { get { return load_image("DataCopy.ico"); } }
|
||||
public static ImageSource Import { get { return load_image("Import.ico"); } }
|
||||
public static ImageSource Refresh { get { return load_image("Refresh.png"); } }
|
||||
public static ImageSource FavoriteWindow { get { return load_image("FavoriteWindow.png"); } }
|
||||
public static ImageSource RubberStamp { get { return load_image("RubberStamp.png"); } }
|
||||
public static ImageSource Ticket { get { return load_image("Ticket.png"); } }
|
||||
public static ImageSource Date { get { return load_image("Date.png"); } }
|
||||
public static ImageSource RFQArrows { get { return load_image("RFQArrows.png"); } }
|
||||
|
||||
public static ImageSource Cube3d { get { return (DrawingImage)_resources["Cube"]; /*return load_image("Cube-Molecule.png");*/ } }
|
||||
public static ImageSource Algo { get { return Cube3d; } }
|
||||
public static ImageSource Quote { get { return Math; } }
|
||||
public static ImageSource Math { get { return (DrawingImage)_resources["Surface"]; } }
|
||||
public static ImageSource Abacus { get { return load_image("Abacus.png"); } }
|
||||
|
||||
public static ImageSource Add_New { get { return load_image("Add-New.png"); } }
|
||||
public static ImageSource Delete { get { return load_image("Delete.png"); } }
|
||||
public static ImageSource Up_Arrow { get { return load_image("Arrowhead-Up.png"); } }
|
||||
public static ImageSource Down_Arrow { get { return load_image("Arrowhead-Down.png"); } }
|
||||
public static ImageSource Zoom_In { get { return load_image("Zoom-In.png"); } }
|
||||
public static ImageSource Zoom_Out { get { return load_image("Zoom-Out.png"); } }
|
||||
public static ImageSource InsertionArrow { get { return load_image("InsertionArrow.png"); } }
|
||||
#pragma warning restore CS0618
|
||||
|
||||
// Vector icons
|
||||
public static ImageSource Favorites { get { return Favorites_Gold; } }
|
||||
public static ImageSource Favorites_Gold { get { return (DrawingImage)_resources["FavoritesGold"]; } }
|
||||
public static ImageSource Favorites_White { get { return (DrawingImage)_resources["FavoritesWhite"]; } }
|
||||
public static ImageSource Window { get { return (DrawingImage)_resources["Window"]; } }
|
||||
public static ImageSource ActiveWindow { get { return (DrawingImage)_resources["ActiveWindow"]; } }
|
||||
public static ImageSource Trash { get { return (DrawingImage)_resources["Trash"]; } }
|
||||
public static ImageSource Crucible { get { return (DrawingImage)_resources["Crucible"]; } }
|
||||
|
||||
public static ImageSource Accounting { get { return (DrawingImage)_resources["Accounting"]; } }
|
||||
public static ImageSource CancelOrders { get { return (DrawingImage)_resources["CancelOrders"]; } }
|
||||
public static ImageSource Clock { get { return (DrawingImage)_resources["Clock"]; } }
|
||||
public static ImageSource Display { get { return (DrawingImage)_resources["Display"]; } }
|
||||
public static ImageSource Payment { get { return (DrawingImage)_resources["Payment"]; } }
|
||||
public static ImageSource Target { get { return (DrawingImage)_resources["Target"]; } }
|
||||
public static ImageSource Wrench { get { return (DrawingImage)_resources["Wrench"]; } }
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 526 B |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Admin.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Admin20.png"
|
||||
inkscape:export-xdpi="7.0300002"
|
||||
inkscape:export-ydpi="7.0300002">
|
||||
<metadata
|
||||
id="metadata13">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs11" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview9"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="245.42063"
|
||||
inkscape:cy="102.52189"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,244.30539"
|
||||
id="guide3758" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="245.71961,257.38687"
|
||||
id="guide3760" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="97.934289,245.0125"
|
||||
id="guide3762" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="121.97592,9.1923882"
|
||||
id="guide3764" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.7073539,0,0,1.7073539,-90.90724,-90.58036)">
|
||||
<g
|
||||
transform="translate(59,78.517295)"
|
||||
id="g6">
|
||||
<path
|
||||
id="path1"
|
||||
height="138"
|
||||
width="138"
|
||||
transform="scale(2.1562501,2.1562501)"
|
||||
d="m 18.660349,20.393 c -3.781338,0 -6.854349,3.075643 -6.854349,6.856899 0,3.776255 3.073011,6.853102 6.854349,6.853102 3.784037,0 6.859649,-3.076847 6.859649,-6.853102 0,-3.781256 -3.075612,-6.856899 -6.859649,-6.856899 z M 50.07317,8.7561953 c -0.664992,0.01442 -1.337998,0.1594344 -1.982522,0.4491454 -2.572998,1.1537823 -3.729098,4.1888663 -2.572998,6.7632393 1.153799,2.572972 4.191496,3.722804 6.765794,2.571671 2.572898,-1.161432 3.728998,-4.187515 2.572898,-6.768389 C 53.990993,9.8450501 52.068145,8.7129386 50.07317,8.7561953 z m -34.475697,-0.1561946 6.270751,0 0.332096,5.7279323 0,0.203099 c 1.036392,0.285102 2.018186,0.690102 2.933578,1.205804 l 0.119797,-0.121201 4.421766,-3.714807 4.436264,4.437509 -3.815169,4.286509 -0.131499,0.1341 c 0.518295,0.915403 0.924493,1.901005 1.213592,2.937505 l 0.165396,0 5.749954,0.5 0,6.272114 -5.727852,0.334702 -0.187498,0 c -0.289099,1.033705 -0.695297,2.018106 -1.213592,2.933607 l 0.115898,0.1171 3.71227,4.420608 -4.434964,4.434914 -4.286366,-3.812508 -0.137997,-0.138 c -0.915392,0.515598 -1.897186,0.919197 -2.933578,1.204399 l 0,0.183601 -0.332096,5.750012 -6.270751,0 -0.503895,-5.730515 0,-0.206997 c -1.028593,-0.2878 -2.008983,-0.694103 -2.919277,-1.209701 L 12.040102,38.881485 7.7381763,42.709496 3.3033104,38.274582 6.9999428,33.869675 7.1522102,33.721176 C 6.6379356,32.807072 6.2343292,31.83057 5.9464817,30.803267 l -0.1965294,0 L 0,30.468565 l 0,-6.272114 5.7278118,-0.5 0.2186699,0 c 0.2878475,-1.0314 0.6914539,-2.009203 1.2057285,-2.920505 l -0.139328,-0.135502 -3.8254585,-4.302107 4.4335632,-4.437509 4.4062161,3.699208 0.147098,0.1445 c 0.910294,-0.513001 1.890684,-0.919202 2.919277,-1.207003 l 0,-0.1875 z M 52.888157,0 l 4.37104,1.6601361 -1.167986,4.1340303 -0.056,0.1432476 c 0.630189,0.4597134 1.205682,1.0039558 1.718774,1.6159477 l 0.124998,-0.05866 4.070242,-1.4101305 1.916571,4.2694788 -3.79414,1.977771 -0.137998,0.0612 c 0.119695,0.794289 0.141798,1.584577 0.07029,2.365966 l 0.118498,0.0443 3.877548,1.878773 -1.662775,4.371135 -4.083246,-1.281282 -0.132897,-0.0508 c -0.464691,0.631592 -1.008985,1.206984 -1.624975,1.720076 l 0.0535,0.115799 1.41268,4.07024 -4.270838,1.914074 -1.979071,-3.796846 -0.0586,-0.128899 c -0.791588,0.121199 -1.587177,0.144499 -2.368465,0.0716 l -0.0443,0.113298 -1.874973,3.877545 -4.374937,-1.660177 1.286485,-4.089741 0.0481,-0.128899 c -0.628893,-0.464792 -1.204385,-1.014284 -1.718576,-1.627577 l -0.119898,0.0534 -4.018142,1.528477 -1.915373,-4.266636 3.743445,-2.09637 0.144499,-0.0625 c -0.119696,-0.792988 -0.141798,-1.583377 -0.0689,-2.364565 l -0.128896,-0.0483 -3.921842,-1.756376 1.662776,-4.3736167 4.128739,1.1679535 0.149699,0.056029 c 0.464994,-0.6250505 1.006585,-1.1966424 1.615974,-1.7057251 l -0.0573,-0.1381283 -1.53138,-4.0155609 4.272239,-1.92050556 2.093769,3.74859786 0.0664,0.1511279 c 0.78899,-0.1197477 1.576779,-0.1445272 2.352669,-0.075499 l 0.0522,-0.131588 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Analytics.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Analytics16.png"
|
||||
inkscape:export-xdpi="5.6300001"
|
||||
inkscape:export-ydpi="5.6300001">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="156.74986"
|
||||
inkscape:cy="104.50849"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,183.49421"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="245.36605,179.60512"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="170.76629,246.42671"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="188.0904,9.8994949"
|
||||
id="guide2998" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.963433,0,0,1.963433,-96.125886,-135.15905)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(4,4)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Analytics"
|
||||
height="120"
|
||||
width="120"
|
||||
transform="scale(1.875,1.875)"
|
||||
d="m 17.9349,52.632801 -4.4173,7.652397 8.8353,0 z M 4.1452103,50.3647 l 0,2.257698 55.7102887,0 0,-2.257698 z M 17.062819,7.9790001 l 4.538328,28.0336569 3.70054,-16.58835 2.710158,17.718443 5.255115,-24.72888 3.477146,24.72888 3.613343,-9.213419 2.710155,9.213419 3.755142,-17.653443 4.074234,17.653443 5.119019,-13.465981 0,18.932228 -47.8449985,0 0,-19.473823 5.6945695,8.86442 z M 4.1452103,3.8098803 l 0,41.8100197 55.7102887,0 0,-41.8100197 z M 0,0 64,0 64,64 0,64 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 245 B |
|
After Width: | Height: | Size: 448 B |
|
After Width: | Height: | Size: 442 B |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 49 KiB |
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="DataCopy.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\DataCopy16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="170.90234"
|
||||
inkscape:cy="124.47332"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="151.6744,245.0125"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="140.71425,9.8994949"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,184.20132"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,200.11122"
|
||||
id="guide2998" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.9857548,0,0,1.9857548,-98.865937,-137.50373)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(10.815883,5)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Data-Copy"
|
||||
height="118"
|
||||
width="118"
|
||||
transform="scale(1.8830565,1.8830565)"
|
||||
d="m 26.79975,52.910086 27.707443,0 c 1.089901,0 1.979818,0.889452 1.979818,1.988775 l 0,5.786434 c 0,1.089329 -0.889917,1.978781 -1.979818,1.978781 l -27.707443,0 c -1.0899,0 -1.979818,-0.889452 -1.979817,-1.978781 l 0,-5.786434 c -10e-7,-1.099323 0.889917,-1.988775 1.979817,-1.988775 z m -4.5e-5,-12.310091 27.707404,0 c 1.089988,0 1.979799,0.890106 1.979799,1.980184 l 0,5.790633 c 0,1.100088 -0.889811,1.980183 -1.979799,1.980183 l -27.707404,0 c -1.089865,0 -1.979798,-0.880095 -1.979798,-1.980183 l 0,-5.790633 c 0,-1.090078 0.889933,-1.980184 1.979798,-1.980184 z m -23.8085265,-3.569904 19.6177255,0 0,14.792951 -19.6177255,0 C 1.3305244,51.823042 0,50.473685 0,48.814476 L 0,40.038657 C 0,38.379448 1.3305244,37.030091 2.9911785,37.030091 z M 30.649395,31.131425 c -1.239886,0 -2.249793,1.010507 -2.249794,2.251129 1e-6,1.240623 1.009908,2.251129 2.249794,2.25113 1.239885,-1e-6 2.249792,-1.010507 2.249792,-2.25113 0,-1.240622 -1.009907,-2.251129 -2.249792,-2.251129 z m -3.849645,-2.621314 27.707443,0 c 1.089901,0 1.979818,0.890447 1.979818,1.980993 l 0,5.792905 c 0,1.090548 -0.889917,1.970989 -1.979818,1.970988 l -27.707443,0 c -1.0899,10e-7 -1.979818,-0.88044 -1.979818,-1.970988 l 0,-5.792905 c 0,-1.090546 0.889918,-1.980993 1.979818,-1.980993 z M 2.9901848,18.350023 l 42.0425912,0 c 1.660103,0 3.010185,1.350189 3.010185,3.000422 l 0,4.560642 -22.7314,0 c -1.490092,0 -2.710167,1.210171 -2.710167,2.70038 l 0,4.530638 -19.6112092,0 C 1.3300819,33.142106 0,31.801917 0,30.141683 L 0,21.350445 C 0,19.700212 1.3300819,18.350023 2.9901848,18.350023 z M 8.8305454,3.9897499 c -1.8701153,0 -3.4102096,1.5199051 -3.4102096,3.3997917 0,1.8898812 1.5400943,3.4097864 3.4102096,3.4097864 1.8801156,0 3.4102096,-1.5199052 3.4102096,-3.4097864 0,-1.8798866 -1.530094,-3.3997917 -3.4102096,-3.3997917 z M 2.9901848,0 45.032776,0 c 1.660103,0 3.010185,1.3499146 3.010185,3.0098114 l 0,8.7794556 c 0,1.659896 -1.350082,2.999815 -3.010185,2.999815 l -42.0425912,0 C 1.3300819,14.789082 0,13.449163 0,11.789267 L 0,3.0098114 C 0,1.3499146 1.3300819,0 2.9901848,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 399 B |
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Depth.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Depth16.png"
|
||||
inkscape:export-xdpi="5.6300001"
|
||||
inkscape:export-ydpi="5.6300001">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="172.75778"
|
||||
inkscape:cy="118.151"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,211.77848"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,211.77848"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="99.702056,246.07316"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="153.79573,9.8994949"
|
||||
id="guide2998" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.7147927,0,0,1.7147927,-177.01291,-210.96845)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(59,69.952177)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Depth"
|
||||
height="138"
|
||||
width="138"
|
||||
transform="scale(3.6501178,3.6501178)"
|
||||
d="m 0,27.006001 37.806999,0 0,4.799999 L 0,31.806 z M 0,18.003 l 37.806999,0 0,4.803 L 0,22.806 z m 0,-9.0030001 37.806999,0 0,4.8030001 L 0,13.803 z M 0,0 l 37.806999,0 0,4.8030009 -37.806999,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 50 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Import.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Import16.png"
|
||||
inkscape:export-xdpi="5.6300001"
|
||||
inkscape:export-ydpi="5.6300001">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="263.04724"
|
||||
inkscape:cy="124.5925"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,228.04194"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,193.04015"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="138.59293,246.07316"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="136.47161,9.8994949"
|
||||
id="guide3000" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="164.40233,127.63277"
|
||||
id="guide3002" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.7122307,0,0,1.7122307,-177.08721,-209.43632)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(59,72.799999)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Data-Import"
|
||||
height="138"
|
||||
width="138"
|
||||
transform="scale(2.15625,2.15625)"
|
||||
d="m 27.187227,8.4450006 0,8.0676664 C 61.32288,16.512667 64,36.689709 64,40.721001 56.637947,24.585644 27.187227,32.648121 27.187227,32.648121 l 0,8.07288 L 10.122,25.598541 z M 0,0 l 42.667,0 0,4.2655888 0,4.268198 -4.265629,0 0,-4.268198 -34.1357508,0 0,42.6688522 34.1357508,0 0,-4.268158 4.265629,0 0,4.268158 0,4.26556 -4.265629,0 -38.401371,0 0,-4.26556 0,-42.6688522 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Orders.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Orders16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="156.99115"
|
||||
inkscape:cy="124.24531"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,261.62951"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,239.35565"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="198.69701,246.78027"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="180.31223,9.8994949"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="127.63277,159.80613"
|
||||
id="guide3000" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.4800731,0,0,3.4800731,-269.05907,-338.55177)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(37.934712,30)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Orders"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(1.1005907,1.1005907)"
|
||||
d="m 10.477999,55.232002 20.582,0 0,6.553 -20.582,0 z m 21.93916,-26.758521 c 1.285401,-0.04998 2.536713,0.658298 3.117861,1.894734 l 4.305061,9.161953 c 0.629416,1.339391 0.279868,2.888525 -0.758327,3.837967 l -0.190522,0.157525 -7.50956,7.900027 -0.04169,0.0922 c -0.44712,0.927795 -1.396502,1.568118 -2.495185,1.568118 l -15.7826,0 c -1.528599,0 -2.7682,-1.239492 -2.7682,-2.768179 l 0,-9.706822 7.509292,7.509141 c 0.942808,0.942577 2.195421,1.460965 3.527433,1.460965 1.332113,0 2.584625,-0.518388 3.526133,-1.460965 l 6.756141,-6.755945 0,1.87303 1.784171,-1.637652 -3.935558,-8.377119 c -0.776265,-1.649782 -0.06641,-3.614679 1.583432,-4.390818 l 0.09891,-0.0469 c 0.412486,-0.193685 0.844741,-0.294596 1.273208,-0.311256 z m -9.237307,-3.25104 -3.062482,3.061378 c 1.203093,0.821521 2.178387,0.858022 2.925683,0.110603 0.625096,-0.625016 0.670696,-1.682343 0.136799,-3.171981 z m 2.705785,-7.027479 c -0.522197,-0.0027 -0.968795,0.182304 -1.339893,0.553314 -0.391997,0.393409 -0.605496,0.820421 -0.640696,1.283933 -0.0352,0.463511 0.0912,1.093728 0.378998,1.889347 l 3.173182,-3.17328 c -0.526197,-0.367209 -1.050794,-0.550814 -1.571591,-0.553314 z m 4.473775,-2.348961 1.097792,1.097629 -1.399791,1.399735 c 1.218693,1.282533 1.933589,2.294359 2.144587,3.035278 l -1.70189,1.701942 c -0.225199,-1.073026 -0.859295,-2.164154 -1.904888,-3.273582 l -3.66668,3.666693 c 0.768296,1.849047 1.139294,3.269684 1.113293,4.261909 -0.0274,0.990826 -0.361997,1.807246 -1.002593,2.447863 -0.779996,0.78012 -1.731791,1.131629 -2.858184,1.054726 -1.126194,-0.0768 -2.296787,-0.578114 -3.51038,-1.506438 L 16.944188,31.457 15.846595,30.359272 17.508085,28.69783 C 16.187693,27.376196 15.340097,26.072762 14.969,24.79013 l 1.77329,-1.773445 c 0.0822,0.644516 0.338598,1.372435 0.770995,2.184955 0.430897,0.813821 0.916595,1.490938 1.458192,2.032553 l 3.539079,-3.53909 c -0.826795,-1.983151 -1.203093,-3.424689 -1.128893,-4.325611 0.0742,-0.902323 0.443997,-1.686343 1.113293,-2.35426 0.789096,-0.790321 1.78769,-1.15753 2.993483,-1.101528 1.205693,0.0558 2.352887,0.510412 3.44008,1.363233 z M 26.035416,0 c 0.709476,0 1.419104,0.27081299 1.960756,0.81244278 L 46.553442,19.36985 c 1.083408,1.083403 1.083408,2.838511 0,3.920511 l -8.717957,8.71802 -1.046943,-2.22859 C 36.548048,29.2687 36.220076,28.814073 35.827597,28.43053 L 35.673601,28.290204 42.632998,21.330835 26.03528,4.7330017 4.7329998,26.035172 21.330749,42.633007 l 7.499028,-7.499 1.879845,4.000293 -7.419169,7.419225 c -1.082002,1.083301 -2.837308,1.083301 -3.920713,0 L 0.8125,27.996074 c -1.08333397,-1.083203 -1.08333397,-2.838507 0,-3.920511 L 24.075558,0.81244278 C 24.61661,0.27081299 25.325938,0 26.035416,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 842 B |
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Refresh.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Refresh16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="176.60504"
|
||||
inkscape:cy="121.45998"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,216.72823"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,195.16147"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="195.16147,246.07316"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="155.56349,9.8994949"
|
||||
id="guide2998" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.4855145,0,0,3.4855145,-269.29522,-338.56845)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(30,30.358926)"
|
||||
id="g8">
|
||||
<path
|
||||
id="refresh"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(1.2748416,1.2748416)"
|
||||
d="m 2.7499252,30.299848 15.9200108,7.399017 -4.320004,3.029599 c 3.440003,2.979606 7.820006,4.839359 12.450009,4.839359 8.890005,0 16.670011,-5.809231 18.510012,-14.278107 l 0.29,-0.649914 7.740006,0 -0.360001,1.309826 c -2.220001,12.468346 -13.230007,20.82724 -26.180017,20.82724 -7.260004,0 -13.990009,-2.879619 -18.9200126,-7.838962 L 4.2499259,47.387582 z M 26.539532,0 c 7.269761,-6.8510417e-8 13.989724,2.7602325 18.919564,7.7205935 l 3.629932,-2.6701365 1.499973,16.651367 -15.91962,-6.410551 4.319866,-2.930291 C 35.549249,9.3807617 31.16945,7.7306042 26.539532,7.7306042 c -8.889844,0 -16.6697249,6.1905628 -18.5096555,14.6712278 L 7.7398427,23.832002 0,23.832002 0.3599781,21.681804 C 2.5799068,9.2108264 13.589706,-6.8510417e-8 26.539532,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 814 B |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Sheets.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Sheets16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="150.08452"
|
||||
inkscape:cy="133.53464"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,260.2153"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.78027,253.85133"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="163.69522,246.42671"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="148.13887,9.5459416"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="127.27922,192.33304"
|
||||
id="guide3000" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.4696743,0,0,3.4696743,-268.57249,-337.15834)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(35.446633,30)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Sheets"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(0.94265088,0.94265088)"
|
||||
d="m 22.1575,13.53399 -0.363199,11.771004 c 0,0 -0.470101,7.783701 -9.0469,6.843698 l -7.3515903,-0.1992 0,33.441403 c 0,0.744598 0.6068101,1.348205 1.3515701,1.348205 l 37.7839192,0 c 0.7421,0 1.3489,-0.603607 1.3489,-1.348205 l 0,-50.507804 c 0,-0.7422 -0.6068,-1.349101 -1.3489,-1.349101 z m -0.352799,-5.3969904 22.726599,0 c 3.726502,5e-7 6.748699,3.0219904 6.748699,6.7460914 l 0,50.507804 c 0,3.726601 -3.022197,6.746101 -6.748699,6.746101 l -37.7839192,0 C 3.0208105,72.136996 5.8073994e-7,69.117496 0,65.390895 l 0,-34.248503 2.6718808,-2.819399 0.00262,-0.0766 L 16.6771,13.53399 l -0.0391,0 -3.743501,3.949202 3.921901,-4.154801 0.056,0 0.123699,-0.130401 0.0117,0 z M 30.352,0 l 24.903002,0 5.326,0 0,4.747 0,50.460999 -5.326,0 0,-50.460999 -24.903002,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="Trades.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\Trades16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="192.60776"
|
||||
inkscape:cy="133.53464"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,169.35207"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,225.21351"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="97.580736,246.42671"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="137.88582,9.8994949"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="127.27922,175.71604"
|
||||
id="guide3000" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.4696744,0,0,3.4696744,-268.38273,-337.15835)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(32.20413,30)"
|
||||
id="g8">
|
||||
<path
|
||||
id="Trades"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(1.2541266,1.2541266)"
|
||||
d="m 50.14375,33.389126 c 0.273113,0.0056 0.509746,0.198647 0.562248,0.475491 l -0.690003,11.249771 c -0.2057,1.177074 -0.885601,-0.0169 -0.885601,-0.0169 L 47.65659,42.640538 C 42.747776,49.635197 34.633152,54.221001 25.433924,54.221001 14.884193,54.221001 5.7437552,48.204125 1.2449617,39.419205 0.80087067,38.552021 0.21358696,37.705738 0.05208677,36.736958 -0.49735315,33.490925 3.4507786,32.901036 4.8049124,34.432404 5.3674143,35.067692 6.034036,36.16407 6.5079177,37.026051 10.106778,43.799416 17.2321,48.413819 25.433924,48.413819 c 7.22262,0 13.59244,-3.587124 17.470053,-9.062313 l -2.67461,-0.497391 c 0,0 -1.551903,-0.206997 -0.486901,-0.858082 l 10.282429,-4.597507 c 0.04008,-0.0072 0.07984,-0.01019 0.118855,-0.0094 z M 23.030291,9.0310004 l 4.859627,0 0,3.9972986 c 2.649868,0.177199 4.435014,0.929797 5.574243,1.499995 l 0.500015,0.247499 -1.546741,5.263085 -0.711018,-0.358198 c -1.12643,-0.5611 -2.867176,-1.436097 -5.557344,-1.436097 -2.142157,0 -3.42589,0.877598 -3.42589,2.346293 0,1.303396 1.220131,2.213493 4.828125,3.596289 5.155136,1.937494 7.359692,4.515688 7.359692,8.630176 0,4.075588 -2.820473,7.234379 -7.237389,8.171776 l 0,4.550884 -4.906126,0 0,-4.209587 c -2.514566,-0.174599 -5.071934,-0.906296 -6.665674,-1.925693 l -0.417812,-0.267102 1.53774,-5.406181 0.74732,0.449196 c 1.119929,0.670601 3.433689,1.798096 6.371266,1.798096 2.394561,0 3.936403,-1.057095 3.936403,-2.687394 0,-1.304695 -0.729319,-2.43749 -4.290712,-3.718786 -3.902201,-1.428297 -7.890505,-3.52849 -7.890505,-8.333376 0,-3.958189 2.641868,-6.947779 6.93478,-7.910076 z M 25.268765,0 c 10.550682,2.7347414e-7 19.692684,6.0155495 24.190033,14.804573 0.443897,0.8646 1.031296,1.712399 1.192489,2.679697 0.546994,3.249995 -3.395561,3.834692 -4.749946,2.304795 C 45.336346,19.153567 44.669552,18.051968 44.19566,17.19517 40.5957,10.421881 33.473275,5.8072398 25.268765,5.8072393 c -7.22122,5e-7 -13.590752,3.5845943 -17.4684088,9.0598337 l 2.6742708,0.499999 c 0,0 1.552282,0.2071 0.488294,0.8568 L 0.67933281,20.826762 C 0.36037083,20.880062 0.05702913,20.669165 9.9972012e-4,20.354063 L 0.69093342,9.1118043 C 0.89552094,7.9296158 1.5738537,9.124924 1.5738539,9.124924 l 1.4714233,2.458455 C 7.9566038,4.584462 16.073666,2.7347414e-7 25.268765,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 750 B |
|
After Width: | Height: | Size: 677 B |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="eye.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\eye16.png"
|
||||
inkscape:export-xdpi="5.6300001"
|
||||
inkscape:export-ydpi="5.6300001">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="154.68215"
|
||||
inkscape:cy="120.59151"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,155.56349"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,175.71604"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="102.17693,246.78027"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="152.38151,9.8994949"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="84.499261,127.27922"
|
||||
id="guide2989" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(1.9670053,0,0,1.9670053,-96.31879,-137.87644)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(4,33.653805)"
|
||||
id="g8">
|
||||
<path
|
||||
id="eye"
|
||||
height="120"
|
||||
width="120"
|
||||
transform="scale(1.7418314,1.7418314)"
|
||||
d="m 33.597977,10.759002 c 4.348888,0 7.887985,3.525999 7.887985,7.889998 0,4.351 -3.539097,7.886 -7.887985,7.886 -4.358887,0 -7.887985,-3.535 -7.887985,-7.886 0,-0.865 0.139963,-1.695999 0.399896,-2.474998 0.669831,0.706999 1.599592,1.153 2.649325,1.153 2.019483,0 3.659065,-1.636001 3.659065,-3.659001 0,-1.005 -0.409897,-1.92 -1.069727,-2.580999 0.709818,-0.211001 1.469625,-0.328 2.249426,-0.328 z m 0.0087,-6.3910058 c -7.679272,-5e-7 -13.908617,6.2269598 -13.908617,13.9049338 0,7.680964 6.229345,13.904932 13.908617,13.904932 7.689156,0 13.908493,-6.223968 13.908493,-13.904932 0,-7.677974 -6.219337,-13.9049343 -13.908493,-13.9049338 z M 34.867642,0 c 2.022751,2.6508449e-5 23.837551,0.41938579 34.025364,18.299923 0,0 -11.748806,17.839914 -34.446446,16.468931 0,0 -20.017977,1.830986 -34.44656,-16.468931 0,0 9.0791523,-17.8409211 34.716553,-18.29891181 0,3e-7 0.05161,-0.00101263421 0.151089,-0.00101119 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="reports.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\reports16.png"
|
||||
inkscape:export-xdpi="5.625"
|
||||
inkscape:export-ydpi="5.625">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="162.51276"
|
||||
inkscape:cy="122.65152"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,191.62594"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.07316,196.92924"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="178.19091,246.42671"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="181.01934,9.8994949"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="127.27922,169.70563"
|
||||
id="guide3000" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.464475,0,0,3.464475,-267.70366,-336.28485)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(37.05595,30)"
|
||||
id="g8">
|
||||
<path
|
||||
id="reports"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(0.95934093,0.95934093)"
|
||||
d="m 55.859353,59.282085 c 0.149937,0.0035 0.284122,0.110562 0.312649,0.265522 l -0.382809,6.262886 c -0.114605,0.656189 -0.493614,-0.0079 -0.493614,-0.0079 l -0.821617,-1.37107 C 51.7422,68.327351 47.221295,70.882 42.101273,70.882 c -5.875045,0 -10.965023,-3.350136 -13.468944,-8.243343 -0.250006,-0.480492 -0.572951,-0.951782 -0.662827,-1.492172 -0.308662,-1.808567 1.889389,-2.135361 2.644596,-1.282479 0.312548,0.352795 0.684946,0.963482 0.949223,1.442574 2.003906,3.77473 5.970158,6.342479 10.537952,6.342479 4.021096,0 7.567978,-1.997459 9.726826,-5.046802 l -1.489532,-0.278694 c 0,0 -0.86472,-0.113301 -0.270909,-0.473992 l 5.726734,-2.562454 c 0.0218,-0.0039 0.04354,-0.0055 0.06496,-0.005 z m -15.095276,-13.564086 2.704205,0 0,2.22797 c 1.472595,0.09766 2.471222,0.518203 3.106578,0.835964 l 0.275979,0.137943 -0.861939,2.929749 -0.396969,-0.200409 c -0.626255,-0.312508 -1.597687,-0.799618 -3.094879,-0.799618 -1.190014,0 -1.907463,0.491013 -1.907463,1.306034 0,0.727917 0.679653,1.234432 2.688606,2.004051 2.872196,1.078129 4.098809,2.515667 4.098809,4.80473 0,2.268261 -1.57029,4.027507 -4.028412,4.552318 l 0,2.531266 -2.731705,0 0,-2.341259 c -1.400799,-0.099 -2.825195,-0.506413 -3.714493,-1.07293 l -0.230392,-0.151104 0.856598,-3.007877 0.416679,0.250004 c 0.623653,0.373809 1.911262,1.001426 3.543945,1.001426 1.335903,0 2.195244,-0.589916 2.195244,-1.496139 0,-0.72662 -0.410171,-1.356835 -2.39043,-2.072952 -2.171643,-0.794323 -4.395523,-1.966256 -4.395523,-4.640725 0,-2.20322 1.473934,-3.870014 3.865562,-4.403839 z m 1.24596,-5.026997 c 5.872238,0 10.963097,3.348904 13.467026,8.244518 0.248692,0.477898 0.574184,0.953106 0.662682,1.49215 0.307293,1.809909 -1.890446,2.135402 -2.645829,1.281223 -0.312389,-0.354088 -0.68478,-0.966072 -0.947773,-1.443939 -2.002544,-3.771996 -5.968631,-6.342232 -10.536106,-6.342232 -4.022087,0 -7.567547,1.997261 -9.726417,5.046738 l 1.489547,0.278553 c 0,0 0.863305,0.115966 0.270924,0.476547 l -5.727697,2.56242 c -0.17454,0.0313 -0.346409,-0.0871 -0.376393,-0.260395 l 0.382788,-6.258946 c 0.114651,-0.6627 0.492247,0.0066 0.492247,0.0066 l 0.817716,1.365814 c 2.734185,-3.89442 7.254998,-6.449039 12.377285,-6.449039 z M 21.804616,0 44.531026,0 c 3.726486,0 6.749973,3.0222199 6.749973,6.7460904 l 0,31.5288466 -0.743328,-0.375985 c -1.322449,-0.629314 -2.725094,-1.1203 -4.188694,-1.45396 l -0.469055,-0.100841 0,-29.5980606 c 0,-0.7421803 -0.6068,-1.3488703 -1.348896,-1.3488698 l -22.372313,0 -0.364498,11.7707784 c 0,0 -0.468798,7.783901 -9.046966,6.843701 l -7.3515306,-0.1992 0,33.441399 c 5e-7,0.7448 0.6067782,1.349002 1.3515854,1.349002 l 15.0731182,0 0.03993,0.281853 c 0.255003,1.648312 0.714592,3.230118 1.352373,4.719361 L 23.393945,64 6.7473038,64 C 3.0207885,64 2.9307267e-7,60.980499 0,57.253899 L 0,23.0051 2.6718498,20.1863 2.6743804,20.1094 16.677035,5.3972206 l -0.0391,0 -3.742286,3.9492188 3.921884,-4.1550293 0.0548,0 0.124899,-0.1301313 0.0104,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="256"
|
||||
height="256"
|
||||
sodipodi:docname="risk.svg"
|
||||
inkscape:export-filename="C:\Users\mharding\Desktop\temp_icons\risk16.png"
|
||||
inkscape:export-xdpi="5.6300001"
|
||||
inkscape:export-ydpi="5.6300001">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1858"
|
||||
inkscape:window-height="1178"
|
||||
id="namedview11"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="151.94725"
|
||||
inkscape:cy="112.88731"
|
||||
inkscape:window-x="54"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2">
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="9.8994949,235.113"
|
||||
id="guide2992" />
|
||||
<sodipodi:guide
|
||||
orientation="1,0"
|
||||
position="246.42671,194.45436"
|
||||
id="guide2994" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="81.670833,246.07316"
|
||||
id="guide2996" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="72.124892,9.8994949"
|
||||
id="guide2998" />
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="172.1805,127.27922"
|
||||
id="guide3000" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(3.4800731,0,0,3.4800731,-268.50635,-338.11159)">
|
||||
<g
|
||||
transform="translate(50,70)"
|
||||
id="g6">
|
||||
<g
|
||||
transform="translate(30,36.54978)"
|
||||
id="g8">
|
||||
<path
|
||||
id="risk"
|
||||
height="68"
|
||||
width="68"
|
||||
transform="scale(1.0625,1.0625)"
|
||||
d="m 3.3500004,28.921999 13.0609986,0 0,0.475 0,3.563 0,5.462 9.103001,0 0,4.036001 -0.019,0 0,5.144999 9.203,0 0,4.038 -9.203,0 0,0.03 -4.037,0 0,-9.213 -5.047001,0 -3.957998,0 -0.079,0 0,-9.498001 -9.0240006,0 z M 54.794001,20.069 59.39695,23.324425 64,26.580851 59.39695,29.837375 54.794001,33.094 l 0,-2.443001 -21.211001,0 0,-7.952001 21.211001,0 z M 14.7162,0.3409996 l 10.1979,0 c 1.06295,0 1.951567,0.8336163 2.157113,1.8576317 l 0.01571,0.1044655 0.0377,0.051537 c 0.816371,1.117117 2.757134,3.802496 3.440789,5.0090638 0,0 3.531531,5.9747684 4.312029,7.6980084 l 0.01318,0.0303 5.280214,0 c 1.153579,0 2.087161,1.103043 2.087161,2.304999 0,1.203257 -0.933582,2.305001 -2.087161,2.305001 l -6.719876,0 c -1.080355,0 -1.968408,-0.968329 -2.075195,-2.080823 l -0.0019,-0.03948 -2.142963,-3.618885 -6.969508,4.161118 4.146071,4.253734 c 0.742806,0.76335 0.822794,1.928424 0.246731,2.777334 l -0.01068,0.01414 -0.0071,0.116966 c -0.0083,0.07403 -0.02034,0.148341 -0.03636,0.222723 l -1.748867,8.065249 c -0.259109,1.191293 -1.432354,1.945189 -2.622498,1.68739 -1.19008,-0.256497 -1.948009,-1.43219 -1.6889,-2.621083 l 1.748866,-8.06515 0.02107,-0.08001 -4.821685,-4.947064 -0.0075,-0.0085 -0.227198,-0.01063 c -0.886488,-0.08344 -1.663946,-0.510282 -2.174545,-1.134781 l -0.0044,-0.006 -2.792185,3.589718 -0.06563,-0.07613 -0.104162,0.09246 C 11.720974,22.306216 11.1803,22.469 10.5833,22.469 l -8.4206394,0 C 0.96679688,22.469 0,21.817864 0,20.624998 0,19.428434 0.96679688,18.779999 2.1626606,18.779999 l 7.3625889,0 -0.1402493,-0.162688 5.2150328,-7.069283 c 0,0 0.527664,-0.422667 0.9991,-0.749189 l 0.01542,-0.01048 -0.01055,-0.01233 8.545192,-5.1723521 -0.346008,-0.6526737 -9.086984,0 c -1.216101,0 -2.201201,-1.0886803 -2.201201,-2.3037224 0,-1.217474 0.9851,-2.3062782 2.201201,-2.3062782 z M 34.6091,0 c 2.303566,0 4.170901,1.8671761 4.170901,4.1704998 0,2.3034534 -1.867335,4.1704998 -4.170901,4.1704998 -2.304765,0 -4.1721,-1.8670464 -4.1721,-4.1704998 C 30.437,1.8671761 32.304335,0 34.6091,0 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#0b0b0b" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,386 @@
|
||||
<ResourceDictionary
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" >
|
||||
<DrawingImage x:Key="FavoritesGold">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Geometry="M1540.22,2082.07L1546.95,2102.78 1568.73,2102.78 1551.11,2115.58 1557.84,2136.29 1540.22,2123.49 1522.6,2136.29 1529.33,2115.58 1511.71,2102.78 1533.49,2102.78 1540.22,2082.07z">
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Thickness="1" Brush="Black" />
|
||||
</GeometryDrawing.Pen>
|
||||
<GeometryDrawing.Brush>
|
||||
<SolidColorBrush Color="#ffd932" />
|
||||
</GeometryDrawing.Brush>
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="FavoritesWhite">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Geometry="M1540.22,2082.07L1546.95,2102.78 1568.73,2102.78 1551.11,2115.58 1557.84,2136.29 1540.22,2123.49 1522.6,2136.29 1529.33,2115.58 1511.71,2102.78 1533.49,2102.78 1540.22,2082.07z">
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Thickness="1" Brush="Black" />
|
||||
</GeometryDrawing.Pen>
|
||||
<GeometryDrawing.Brush>
|
||||
<SolidColorBrush Color="#ffd932" />
|
||||
</GeometryDrawing.Brush>
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Window">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Geometry="
|
||||
M 32.868601,3.8869994 C31.026201,3.8869996 29.534,5.3791947 29.534,7.2190399 29.534,9.0588851 31.026201,10.553 32.868601,10.553 34.7085,10.553 36.202,9.0588851 36.202,7.2190399 36.202,5.3791947 34.7085,3.8869996 32.868601,3.8869994z
|
||||
M 42.868601,3.8869994 C41.026201,3.8869996 39.534,5.3791947 39.534,7.2190399 39.534,9.0588851 41.026201,10.553 42.868601,10.553 44.7085,10.553 46.202,9.0588851 46.202,7.2190399 46.202,5.3791947 44.7085,3.8869996 42.868601,3.8869994z
|
||||
M 52.868601,3.8869994 C51.026201,3.8869996 49.534,5.3791947 49.534,7.2190399 49.534,9.0588851 51.026201,10.553 52.868601,10.553 54.7085,10.553 56.202,9.0588851 56.202,7.2190399 56.202,5.3791947 54.7085,3.8869996 52.868601,3.8869994z
|
||||
M5.2010002,14.812L5.2010002,43.573997 56.098,43.573997 56.098,14.812z
|
||||
M0,0L63.999001,0 63.999001,48.792999 0,48.792999z">
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Thickness="1" Brush="Black" />
|
||||
</GeometryDrawing.Pen>
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="ActiveWindow">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="
|
||||
M 32.868601,3.8869994 C31.026201,3.8869996 29.534,5.3791947 29.534,7.2190399 29.534,9.0588851 31.026201,10.553 32.868601,10.553 34.7085,10.553 36.202,9.0588851 36.202,7.2190399 36.202,5.3791947 34.7085,3.8869996 32.868601,3.8869994z
|
||||
M 42.868601,3.8869994 C41.026201,3.8869996 39.534,5.3791947 39.534,7.2190399 39.534,9.0588851 41.026201,10.553 42.868601,10.553 44.7085,10.553 46.202,9.0588851 46.202,7.2190399 46.202,5.3791947 44.7085,3.8869996 42.868601,3.8869994z
|
||||
M 52.868601,3.8869994 C51.026201,3.8869996 49.534,5.3791947 49.534,7.2190399 49.534,9.0588851 51.026201,10.553 52.868601,10.553 54.7085,10.553 56.202,9.0588851 56.202,7.2190399 56.202,5.3791947 54.7085,3.8869996 52.868601,3.8869994z
|
||||
M5.2010002,14.812L5.2010002,43.573997 56.098,43.573997 56.098,14.812z
|
||||
M0,0L63.999001,0 63.999001,48.792999 0,48.792999z">
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Thickness="1" Brush="Black" />
|
||||
</GeometryDrawing.Pen>
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Trash">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M33.978,27.679999L33.978,58.098995 41.374,58.098995 41.374,27.679999z M14.841001,27.679999L14.841001,58.098995 22.237,58.098995 22.237,27.679999z M4.0320003,22.430001L52.183002,22.430001 52.183002,63.995998 4.0320003,63.995998z M15.974001,0L40.194999,0 40.194999,7.7200003 56.166999,7.7200003 56.166999,15.995 0,15.995 0,7.7200003 15.974001,7.7200003z">
|
||||
<!--<GeometryDrawing.Pen>
|
||||
<Pen Thickness="1" Brush="Black" />
|
||||
</GeometryDrawing.Pen>-->
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Undo">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="F1M-198.67,4280.19C-197.609,4277.78 -197.035,4275.17 -197.035,4272.46 -197.035,4267.33 -199.032,4262.51 -202.665,4258.88 -206.286,4255.25 -211.107,4253.26 -216.235,4253.26 -221.365,4253.26 -226.186,4255.25 -229.811,4258.88 -232.498,4261.57 -234.282,4264.92 -235.032,4268.56L-225.835,4278.86 -252.503,4278.86 -250.373,4251.38 -241.577,4261.22C-240.214,4258.14 -238.303,4255.3 -235.844,4252.85 -230.61,4247.61 -223.644,4244.72 -216.235,4244.72 -208.822,4244.72 -201.861,4247.61 -196.627,4252.85 -191.39,4258.08 -188.503,4265.05 -188.503,4272.46 -188.503,4275.11 -188.894,4277.71 -189.617,4280.19L-198.67,4280.19z">
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Crucible">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="m 430.4375 225.625 c -1.92352 0.0276 -3.82501 0.82944 -5.1875 2.1875 L 330.0625 323 288 280.9375 c -1.38915 -1.39371 -3.34472 -2.2056 -5.3125 -2.2056 -1.96778 0 -3.92335 0.81189 -5.3125 2.2056 l -23.9375 23.9375 c -1.3844 1.38804 -2.18997 3.33646 -2.18997 5.29687 0 1.96042 0.80557 3.90884 2.18997 5.29688 l 71.3125 71.3125 c 1.38804 1.3844 3.33646 2.18997 5.29687 2.18997 1.96042 0 3.90884 -0.80557 5.29688 -2.18997 l 4.34375 -4.34375 19.59375 -19.59375 100.5 -100.5 c 1.3844 -1.38804 2.18997 -3.33646 2.18997 -5.29688 0 -1.96041 -0.80557 -3.90883 -2.18997 -5.29687 l -23.9375 -23.9375 c -1.41413 -1.40955 -3.40982 -2.21706 -5.40625 -2.1875 z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Cube">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M37.063741,37.405188L33.240929,50.771959 33.345182,50.829412C33.743126,51.061163,34.109612,51.337603,34.437061,51.651468L34.468327,51.682901 44.707291,44.003126 44.641921,43.880777C44.347813,43.295671,44.183001,42.63962,44.183001,41.946699L44.185978,41.833834z M24.591099,31.982382L10.519234,39.24213 10.504738,39.424831C10.479679,39.661278,10.436295,39.892527,10.375957,40.117252L10.337856,40.24584 10.451912,40.307037C10.495525,40.332783,10.538376,40.360497,10.58033,40.390192L26.361021,51.547636 26.448517,51.467699C27.339916,50.69132,28.485014,50.17779,29.750544,50.054647L30.015249,50.035364 34.145618,35.590685 29.192999,32.51112C29.04261,32.417593,28.908485,32.31176,28.79232,32.197899L28.716364,32.117622 28.685419,32.139805C28.132467,32.49791 27.465902,32.706999 26.748449,32.706999 26.030621,32.706999 25.363836,32.49791 24.810755,32.139805z M28.780092,24.040133L28.448082,26.492748 28.685419,26.630915C29.607006,27.227547 30.212999,28.238197 30.212999,29.385599 30.212999,29.614918 30.188759,29.838802 30.142603,30.055031L30.080193,30.287708 30.111809,30.297695C30.268356,30.353413,30.424189,30.42791,30.574446,30.521399L34.837221,33.172018 35.327473,31.457518C35.410911,31.165865,35.525216,30.895145,35.662153,30.652515L35.756067,30.497255 35.710442,30.474535C33.991901,29.570229,32.844,27.933699,32.844,26.065052L32.845716,26.006275z M53.770291,20.119031L44.688253,25.319921 44.720247,25.537884C44.740581,25.711212 44.750998,25.887079 44.750998,26.065052 44.750998,28.912514 42.084275,31.221001 38.797749,31.221001L38.67025,31.218208 38.672958,31.305962C38.671358,31.615515,38.625373,31.944508,38.53014,32.277802L37.755445,34.986586 44.966217,39.470285 44.977812,39.451984C45.814164,38.264851 47.230547,37.483999 48.837201,37.483999 49.078189,37.483999 49.314904,37.501568 49.546028,37.535442L49.656656,37.554392 54.505396,20.597714 54.402527,20.541037C54.290171,20.475618,54.180146,20.40689,54.0726,20.334991z M9.6452522,14.786494L9.5807686,14.857854C9.0475883,15.420187,8.3894768,15.871748,7.6484566,16.172216L7.5149994,16.222663 7.5149994,34.615192 7.5420074,34.625397C8.4930382,35.010883,9.2904701,35.676405,9.8216705,36.51416L9.9140587,36.668142 23.306246,29.758877 23.300888,29.725224C23.289059,29.61356 23.282999,29.500257 23.282999,29.385599 23.282999,27.893976 24.307062,26.633465 25.717823,26.213213L26.001564,26.143343 26.439465,22.908201z M25.594164,6.962996L10.989891,11.757046 10.982574,11.849259C10.963779,12.026639,10.935814,12.201424,10.899147,12.373173L10.896881,12.382581 26.821791,20.083639 28.28179,9.2974239 28.12504,9.2381914C27.074772,8.8124379,26.207533,8.0535914,25.667171,7.0996943z M34.637348,6.8116302L34.599276,6.8923512C33.894737,8.2938632,32.502018,9.3174334,30.841724,9.5606082L30.738474,9.5731842 29.162455,21.21555 33.69524,23.407539 33.705906,23.391473C34.750082,21.903184 36.639784,20.909001 38.797749,20.909001 40.441011,20.909001 41.929324,21.486123 43.006821,22.41919L43.020344,22.431472 51.760321,17.426437 51.737371,17.368303C51.521266,16.762437 51.403998,16.112631 51.403998,15.436536 51.403998,14.921415 51.472072,14.421554 51.600069,13.944759L51.681425,13.670171z M30.077951,0C32.588049,0,34.668222,1.7676992,35.036192,4.0752702L35.064489,4.2886443 52.961684,11.489869 53.021899,11.423252C54.161165,10.222043 55.804663,9.4679997 57.631995,9.4679992 61.070987,9.4680003 63.858998,12.139764 63.858998,15.436536 63.858998,18.733305 61.070987,21.405001 57.631995,21.405001L57.456546,21.40075 52.402265,39.080206 52.428996,39.108406C53.093061,39.879898 53.492,40.868822 53.492,41.946699 53.492,44.410421 51.407745,46.407999 48.837201,46.407999 48.033874,46.407999 47.278115,46.212923 46.618644,45.869505L46.615751,45.867823 35.872695,53.925859 35.950705,54.189234C36.069708,54.632677 36.132998,55.097586 36.132998,55.5767 36.132998,58.641745 33.540598,61.126001 30.342699,61.126001 27.144098,61.126001 24.550999,58.641745 24.550999,55.5767 24.550999,55.193407 24.591516,54.819208 24.668669,54.457815L24.711109,54.281561 8.605793,42.894129C8.5577812,42.860109,8.5120659,42.824305,8.4686737,42.786901L8.4553757,42.77429 8.3729744,42.833338C7.5921974,43.338846 6.6510086,43.634001 5.6380043,43.634001 2.935627,43.634001 0.74499893,41.535135 0.74499893,38.9454 0.74499893,36.841322 2.1911545,35.061296 4.1829567,34.467758L4.2889977,34.438908 4.2889977,16.456114 4.1295319,16.420828C1.7547989,15.835048 0,13.768469 0,11.309781 0,8.3958501 2.4649048,6.0340006 5.5053978,6.0339997 7.5959015,6.0340006 9.4142189,7.1503434 10.346516,8.7949429L10.425873,8.9434187 25.113558,4.1221313 25.119768,4.0752702C25.48749,1.7676992,27.566404,0,30.077951,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Risk">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M3.3500004,28.921999L16.410999,28.921999 16.410999,29.396999 16.410999,32.959999 16.410999,38.421999 25.514,38.421999 25.514,42.458 25.495,42.458 25.495,47.602999 34.698,47.602999 34.698,51.640999 25.495,51.640999 25.495,51.671 21.458,51.671 21.458,42.458 16.410999,42.458 12.453001,42.458 12.374001,42.458 12.374001,32.959999 3.3500004,32.959999z M54.794001,20.069L59.39695,23.324425 64,26.580851 59.39695,29.837375 54.794001,33.094 54.794001,30.650999 33.583,30.650999 33.583,22.698998 54.794001,22.698998z M14.7162,0.3409996L24.9141,0.3409996C25.97705,0.3409996,26.865667,1.1746159,27.071213,2.1986313L27.086924,2.3030968 27.124624,2.3546333C27.940995,3.4717503 29.881758,6.1571293 30.565413,7.3636971 30.565413,7.3636971 34.096944,13.338465 34.877442,15.061705L34.890623,15.092 40.170837,15.092C41.324416,15.092 42.257998,16.195044 42.257998,17.396999 42.257998,18.600256 41.324416,19.702 40.170837,19.702L33.450961,19.702C32.370606,19.702,31.482553,18.733671,31.375766,17.621177L31.37387,17.581701 29.230907,13.962816 22.261399,18.123934 26.40747,22.377669C27.150276,23.141019,27.230264,24.306093,26.654201,25.155003L26.643522,25.169146 26.636381,25.286112C26.628118,25.36014,26.616044,25.434453,26.600019,25.508835L24.851152,33.574084C24.592043,34.765377 23.418798,35.519273 22.228654,35.261475 21.03861,35.004976 20.280681,33.829283 20.53979,32.64039L22.288656,24.57524 22.309726,24.495231 17.488041,19.548167 17.480572,19.539678 17.253374,19.529043C16.366886,19.445599,15.589428,19.018761,15.078829,18.394262L15.074381,18.388281 12.282196,21.977999 12.216562,21.901865 12.1124,21.994324C11.720974,22.306216,11.1803,22.469,10.5833,22.469L2.1626606,22.469C0.96679688,22.469 0,21.817864 0,20.624998 0,19.428434 0.96679688,18.779999 2.1626606,18.779999L9.5252495,18.779999 9.3850002,18.617311 14.600033,11.548028C14.600033,11.548028,15.127697,11.125361,15.599133,10.798839L15.614553,10.78836 15.604,10.776026 24.149192,5.6036739 23.803184,4.9510002 14.7162,4.9510002C13.500099,4.9510002 12.514999,3.8623199 12.514999,2.6472778 12.514999,1.4298038 13.500099,0.3409996 14.7162,0.3409996z M34.6091,0C36.912666,0 38.780001,1.8671761 38.780001,4.1704998 38.780001,6.4739532 36.912666,8.3409996 34.6091,8.3409996 32.304335,8.3409996 30.437,6.4739532 30.437,4.1704998 30.437,1.8671761 32.304335,0 34.6091,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Reports">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M55.859353,59.282085C56.00929,59.285538,56.143475,59.392647,56.172002,59.547607L55.789193,65.810493C55.674588,66.466682,55.295579,65.802589,55.295579,65.802589L54.473962,64.431519C51.7422,68.327347 47.221295,70.881996 42.101273,70.881996 36.226228,70.881996 31.13625,67.53186 28.632329,62.638653 28.382323,62.158161 28.059378,61.686871 27.969502,61.146481 27.66084,59.337914 29.858891,59.01112 30.614098,59.864002 30.926646,60.216797 31.299044,60.827484 31.563321,61.306576 33.567227,65.081306 37.533479,67.649055 42.101273,67.649055 46.122369,67.649055 49.669251,65.651596 51.828099,62.602253L50.338567,62.323559C50.338567,62.323559,49.473847,62.210258,50.067658,61.849567L55.794392,59.287113C55.816193,59.283215,55.837933,59.28159,55.859353,59.282085z M40.764077,45.717999L43.468282,45.717999 43.468282,47.945969C44.940877,48.043633,45.939504,48.464172,46.57486,48.781933L46.850839,48.919876 45.9889,51.849625 45.591931,51.649216C44.965676,51.336708 43.994244,50.849598 42.497052,50.849598 41.307038,50.849598 40.589589,51.340611 40.589589,52.155632 40.589589,52.883549 41.269242,53.390064 43.278195,54.159683 46.150391,55.237812 47.377004,56.67535 47.377004,58.964413 47.377004,61.232674 45.806714,62.99192 43.348592,63.516731L43.348592,66.047997 40.616887,66.047997 40.616887,63.706738C39.216088,63.607735,37.791692,63.200325,36.902394,62.633808L36.672002,62.482704 37.5286,59.474827 37.945279,59.724831C38.568932,60.09864 39.856541,60.726257 41.489224,60.726257 42.825127,60.726257 43.684468,60.136341 43.684468,59.230118 43.684468,58.503498 43.274297,57.873283 41.294038,57.157166 39.122395,56.362843 36.898515,55.19091 36.898515,52.516441 36.898515,50.313221 38.372449,48.646427 40.764077,48.112602z M42.010037,40.691002C47.882275,40.691002 52.973134,44.039906 55.477063,48.93552 55.725755,49.413418 56.051247,49.888626 56.139745,50.42767 56.447038,52.237579 54.249299,52.563072 53.493916,51.708893 53.181527,51.354805 52.809136,50.742821 52.546143,50.264954 50.543599,46.492958 46.577512,43.922722 42.010037,43.922722 37.98795,43.922722 34.44249,45.919983 32.28362,48.96946L33.773167,49.248013C33.773167,49.248013,34.636472,49.363979,34.044091,49.72456L28.316394,52.28698C28.141854,52.318275,27.969985,52.199879,27.940001,52.026585L28.322789,45.767639C28.43744,45.104939,28.815036,45.774227,28.815036,45.774227L29.632752,47.140041C32.366937,43.245621,36.88775,40.691002,42.010037,40.691002z M21.804616,0L44.531026,0C48.257512,0,51.280999,3.0222199,51.280999,6.7460904L51.280999,38.274937 50.537671,37.898952C49.215222,37.269638,47.812577,36.778652,46.348977,36.444992L45.879922,36.344151 45.879922,6.7460904C45.879922,6.0039101,45.273122,5.3972201,44.531026,5.3972206L22.158713,5.3972206 21.794215,17.167999C21.794215,17.167999,21.325417,24.9519,12.747249,24.0117L5.3957184,23.8125 5.3957184,57.253899C5.3957189,57.998699,6.0024966,58.602901,6.7473038,58.602901L21.820422,58.602901 21.860354,58.884754C22.115357,60.533066,22.574946,62.114872,23.212727,63.604115L23.393945,64 6.7473038,64C3.0207885,64,2.9307267E-07,60.980499,0,57.253899L0,23.0051 2.6718498,20.1863 2.6743804,20.1094 16.677035,5.3972206 16.637936,5.3972206 12.89565,9.3464394 16.817534,5.1914101 16.872334,5.1914101 16.997233,5.0612788 17.007634,5.0612788z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Spreads">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="F1M70.546875,54.3758316040039L77.484375,54.3758316040039 77.484375,89.0633316040039 70.546875,89.0633316040039 70.546875,54.3758316040039z M48.5625,54.3758316040039L65.90625,71.7195816040039 48.5625,89.0633316040039 48.5625,75.1883316040039 8.109375,75.1883316040039 8.109375,68.2508316040039 48.5625,68.2508316040039 48.5625,54.3758316040039z M37.03125,19.6883316040039L37.03125,33.5633316040039 77.484375,33.5633316040039 77.484375,40.5008316040039 37.03125,40.5008316040039 37.03125,54.3758316040039 19.6875,37.0320816040039 37.03125,19.6883316040039z M8.109375,19.6883316040039L15.046875,19.6883316040039 15.046875,54.3758316040039 8.109375,54.3758316040039 8.109375,19.6883316040039z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Depth">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M0,27.006001L37.806999,27.006001 37.806999,31.806 0,31.806z M0,18.003L37.806999,18.003 37.806999,22.806 0,22.806z M0,8.9999999L37.806999,8.9999999 37.806999,13.803 0,13.803z M0,0L37.806999,0 37.806999,4.8030009 0,4.8030009z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Trades">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M50.14375,33.389126C50.416863,33.394688,50.653496,33.587773,50.705998,33.864617L50.015995,45.114388C49.810295,46.291462,49.130394,45.097489,49.130394,45.097489L47.65659,42.640538C42.747776,49.635197 34.633152,54.221001 25.433924,54.221001 14.884193,54.221001 5.7437552,48.204125 1.2449617,39.419205 0.80087067,38.552021 0.21358696,37.705738 0.052086769,36.736958 -0.49735315,33.490925 3.4507786,32.901036 4.8049124,34.432404 5.3674143,35.067692 6.034036,36.16407 6.5079177,37.026051 10.106778,43.799416 17.2321,48.413819 25.433924,48.413819 32.656544,48.413819 39.026364,44.826695 42.903977,39.351506L40.229367,38.854115C40.229367,38.854115,38.677464,38.647118,39.742466,37.996033L50.024895,33.398526C50.064972,33.391365,50.104733,33.388333,50.14375,33.389126z M23.030291,9.0310004L27.889918,9.0310004 27.889918,13.028299C30.539786,13.205498,32.324932,13.958096,33.464161,14.528294L33.964176,14.775793 32.417435,20.038878 31.706417,19.68068C30.579987,19.11958 28.839241,18.244583 26.149073,18.244583 24.006916,18.244583 22.723183,19.122181 22.723183,20.590876 22.723183,21.894272 23.943314,22.804369 27.551308,24.187165 32.706444,26.124659 34.911,28.702853 34.911,32.817341 34.911,36.892929 32.090527,40.05172 27.673611,40.989117L27.673611,45.540001 22.767485,45.540001 22.767485,41.330414C20.252919,41.155815,17.695551,40.424118,16.101811,39.404721L15.683999,39.137619 17.221739,33.731438 17.969059,34.180634C19.088988,34.851235 21.402748,35.97873 24.340325,35.97873 26.734886,35.97873 28.276728,34.921635 28.276728,33.291336 28.276728,31.986641 27.547409,30.853846 23.986016,29.57255 20.083815,28.144253 16.095511,26.04406 16.095511,21.239174 16.095511,17.280985 18.737379,14.291395 23.030291,13.329098z M25.268765,0C35.819447,2.7347414E-07 44.961449,6.0155495 49.458798,14.804573 49.902695,15.669173 50.490094,16.516972 50.651287,17.48427 51.198281,20.734265 47.255726,21.318962 45.901341,19.789065 45.336346,19.153567 44.669552,18.051968 44.19566,17.19517 40.5957,10.421881 33.473275,5.8072398 25.268765,5.8072393 18.047545,5.8072398 11.678013,9.3918336 7.8003562,14.867073L10.474627,15.367072C10.474627,15.367072,12.026909,15.574172,10.962921,16.223872L0.67933281,20.826762C0.36037083,20.880062,0.057029126,20.669165,0.00099972012,20.354063L0.69093342,9.1118043C0.89552094,7.9296158,1.5738537,9.124924,1.5738539,9.124924L3.0452772,11.583379C7.9566038,4.584462,16.073666,2.7347414E-07,25.268765,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Sheets">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M22.1575,13.53399L21.794301,25.304994C21.794301,25.304994,21.3242,33.088695,12.747401,32.148692L5.3958107,31.949492 5.3958107,65.390895C5.3958107,66.135493,6.0026208,66.7391,6.7473808,66.7391L44.5313,66.7391C45.2734,66.7391,45.8802,66.135493,45.8802,65.390895L45.8802,14.883091C45.8802,14.140891,45.2734,13.53399,44.5313,13.53399z M21.804701,8.1369996L44.5313,8.1369996C48.257802,8.1370001,51.279999,11.15899,51.279999,14.883091L51.279999,65.390895C51.279999,69.117496,48.257802,72.136996,44.5313,72.136996L6.7473808,72.136996C3.0208105,72.136996,5.8073994E-07,69.117496,0,65.390895L0,31.142392 2.6718808,28.322993 2.6745006,28.246392 16.6771,13.53399 16.638001,13.53399 12.8945,17.483192 16.816401,13.328391 16.872401,13.328391 16.9961,13.19799 17.0078,13.19799z M30.352,0L55.255002,0 60.581002,0 60.581002,4.747 60.581002,55.207999 55.255002,55.207999 55.255002,4.747 30.352,4.747z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Surface">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="m 127.71875,0.03125 c 1.96953,0.68706766 3.77873,1.728511 5.53125,2.84375 5.68444,-0.1664634 11.35972,0.1351305 17.03125,0.46875 -1.73194,-1.1492389 -3.57847,-2.1023993 -5.53125,-2.8125 -5.6651,-0.45913017 -11.34995,-0.58354857 -17.03125,-0.5 z m -4.25,0.125 c -5.70361,0.2336956 -11.37548,0.81394241 -17.03125,1.5625 1.95847,0.6900238 3.78385,1.7005175 5.53125,2.8125 C 117.61899,3.7613446 123.30363,3.2513106 129,3 127.28567,1.8094865 125.39256,0.94326338 123.46875,0.15625 z M 149,0.90625 c 1.96418,0.6694319 3.78573,1.7017145 5.53125,2.8125 5.71276,0.5944911 11.3908,1.4529283 17.03125,2.53125 C 169.85207,5.0455955 167.95676,4.1939604 166.03125,3.40625 160.39919,2.2891664 154.71106,1.4856327 149,0.90625 z m -46.8125,1.4375 C 96.464888,3.3096165 90.767826,4.4520829 85.15625,5.9375 87.106815,6.6380546 88.941831,7.6391195 90.6875,8.75 96.310308,7.3225043 101.99157,6.1139557 107.71875,5.1875 106.00019,4.0048872 104.11138,3.1307925 102.1875,2.34375 z m 32.46875,1.5 c 2.00275,1.4247295 3.75993,3.1494432 5.53125,4.84375 5.68351,-0.080003 11.36274,0.089238 17.03125,0.5 -1.73044,-1.7529327 -3.58348,-3.3699033 -5.53125,-4.875 -5.66508,-0.4641114 -11.35053,-0.55229 -17.03125,-0.46875 z m -4.28125,0.125 C 124.103,4.2953783 119.00738,4.7504024 113.34375,5.5 c 1.99941,1.4415661 3.79164,3.1353901 5.53125,4.875 5.65135,-0.7706117 11.33386,-1.2798945 17.03125,-1.53125 -1.66132,-1.8295873 -3.58341,-3.3698478 -5.53125,-4.875 z m 39.9375,0.34375 c 1.96346,0.6759081 3.78484,1.7011488 5.53125,2.8125 5.74468,1.2638733 11.4064,2.8505892 17.03125,4.5625 -1.72987,-1.168721 -3.60534,-2.0558794 -5.53125,-2.84375 C 181.73627,7.0795573 176.0521,5.5785891 170.3125,4.3125 z m -14.375,0.375 c 1.9717,1.4743322 3.79243,3.136185 5.53125,4.875 5.71797,0.542825 11.39215,1.453188 17.03125,2.53125 -1.6913,-1.79287 -3.58414,-3.3704114 -5.53125,-4.875 C 167.33901,6.0657565 161.63964,5.35834 155.9375,4.6875 z m -46.84375,1.46875 c -5.72932,0.9221197 -11.402883,2.1554082 -17.03125,3.5625 1.99347,1.451281 3.791265,3.135015 5.53125,4.875 5.62016,-1.451631 11.30209,-2.635724 17.03125,-3.5625 -1.69439,-1.7852366 -3.54058,-3.4272419 -5.53125,-4.875 z M 80.90625,7.0625 c -5.768034,1.593637 -11.417957,3.561289 -17.03125,5.625 1.930762,0.74325 3.819326,1.676529 5.53125,2.84375 5.568779,-2.194858 11.293752,-3.937501 17.03125,-5.625 C 84.697913,8.7506893 82.833288,7.8508336 80.90625,7.0625 z m 96.3125,1.03125 c 2.01998,1.5283684 3.9853,3.332564 5.53125,4.875 5.75001,1.241656 11.41327,2.827536 17.03125,4.5625 -1.70386,-1.770251 -3.54256,-3.428678 -5.53125,-4.875 -5.59469,-1.822363 -11.3081,-3.215876 -17.03125,-4.5625 z M 141.5625,10.1875 c 1.98812,2.171216 3.79154,4.502672 5.53125,6.875 5.68335,-0.07635 11.3631,0.08322 17.03125,0.5 -1.70296,-2.41177 -3.58181,-4.690977 -5.53125,-6.90625 -5.82598,-0.440889 -11.98586,-0.537879 -17.03125,-0.46875 z m -4.25,0.125 c -5.69916,0.210199 -11.37949,0.783222 -17.03125,1.53125 1.96864,2.199545 3.78641,4.526916 5.53125,6.90625 5.65033,-0.779208 11.33395,-1.279899 17.03125,-1.53125 -1.7175,-2.400101 -3.58197,-4.691155 -5.53125,-6.90625 z m -49.5,0.5625 c -5.756209,1.627414 -11.443914,3.488666 -17.03125,5.625 1.986252,1.443163 3.797302,3.109802 5.53125,4.84375 C 81.914775,19.260145 87.586406,17.35867 93.34375,15.75 91.661607,13.944308 89.760517,12.380286 87.8125,10.875 z m 75.03125,0.15625 c 1.99219,2.183637 3.78522,4.525295 5.53125,6.90625 6.28774,0.687745 11.37979,1.450824 17.03125,2.53125 -1.68349,-2.427307 -3.58184,-4.691013 -5.53125,-6.90625 -5.63506,-1.107989 -11.31933,-1.943258 -17.03125,-2.53125 z M 116,12.5 c -5.73799,0.878008 -11.39825,2.174659 -17.03125,3.5625 2.03956,2.148921 3.76403,4.56042 5.5625,6.90625 5.61994,-1.453285 11.29946,-2.648737 17.03125,-3.5625 C 119.8176,17.015603 118.00451,14.67882 116,12.5 z m -56.40625,1.84375 c -5.792814,2.278458 -11.419014,4.940887 -17.03125,7.625 1.967004,0.694041 3.777949,1.728013 5.53125,2.84375 5.58415,-2.744879 11.247417,-5.328478 17.03125,-7.625 -1.725645,-1.141384 -3.572016,-2.162277 -5.53125,-2.84375 z M 184.125,14.4375 c 2.02152,2.155746 3.78605,4.526439 5.53125,6.90625 5.75343,1.228401 11.41327,2.827536 17.03125,4.5625 C 205.01516,23.467587 203.10649,21.216187 201.15625,19 195.55578,17.209943 189.86603,15.703904 184.125,14.4375 z m -89.40625,2.78125 c -5.757378,1.612569 -11.421181,3.531225 -17.03125,5.59375 2.013414,2.164294 3.785804,4.526096 5.53125,6.90625 C 88.826875,27.652066 94.492577,25.733692 100.25,24.125 98.572893,21.691803 96.66853,19.434409 94.71875,17.21875 z m -28.1875,0.9375 c -5.809395,2.239258 -11.434051,4.908712 -17.03125,7.625 1.996367,1.448111 3.791108,3.134858 5.53125,4.875 C 60.587618,27.843081 66.305928,25.370353 72.0625,23 70.325483,21.271546 68.515383,19.599256 66.53125,18.15625 z m 81.9375,0.90625 C 150.4643,21.946692 152.27759,24.946629 154,28 c 5.68473,-0.186058 11.35951,0.135118 17.03125,0.46875 -1.70966,-3.061344 -3.58704,-6.02118 -5.53125,-8.9375 -5.66815,-0.423667 -11.34913,-0.552311 Line truncated
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Brush="White" Thickness="2" />
|
||||
</GeometryDrawing.Pen>
|
||||
</GeometryDrawing>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Analytics">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M17.9349,52.632801L13.5176,60.285198 22.3529,60.285198z M4.1452103,50.3647L4.1452103,52.622398 59.855499,52.622398 59.855499,50.3647z M17.062819,7.9790001L21.601147,36.012657 25.301687,19.424307 28.011845,37.14275 33.26696,12.41387 36.744106,37.14275 40.357449,27.929331 43.067604,37.14275 46.822746,19.489307 50.89698,37.14275 56.015999,23.676769 56.015999,42.608997 8.1710005,42.608997 8.1710005,23.135174 13.86557,31.999594z M4.1452103,3.8098803L4.1452103,45.6199 59.855499,45.6199 59.855499,3.8098803z M0,0L64,0 64,64 0,64z"/>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Orders">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M50.14375,33.389126C50.416863,33.394688,50.653496,33.587773,50.705998,33.864617L50.015995,45.114388C49.810295,46.291462,49.130394,45.097489,49.130394,45.097489L47.65659,42.640538C42.747776,49.635197 34.633152,54.221001 25.433924,54.221001 14.884193,54.221001 5.7437552,48.204125 1.2449617,39.419205 0.80087067,38.552021 0.21358696,37.705738 0.052086769,36.736958 -0.49735315,33.490925 3.4507786,32.901036 4.8049124,34.432404 5.3674143,35.067692 6.034036,36.16407 6.5079177,37.026051 10.106778,43.799416 17.2321,48.413819 25.433924,48.413819 32.656544,48.413819 39.026364,44.826695 42.903977,39.351506L40.229367,38.854115C40.229367,38.854115,38.677464,38.647118,39.742466,37.996033L50.024895,33.398526C50.064972,33.391365,50.104733,33.388333,50.14375,33.389126z M23.030291,9.0310004L27.889918,9.0310004 27.889918,13.028299C30.539786,13.205498,32.324932,13.958096,33.464161,14.528294L33.964176,14.775793 32.417435,20.038878 31.706417,19.68068C30.579987,19.11958 28.839241,18.244583 26.149073,18.244583 24.006916,18.244583 22.723183,19.122181 22.723183,20.590876 22.723183,21.894272 23.943314,22.804369 27.551308,24.187165 32.706444,26.124659 34.911,28.702853 34.911,32.817341 34.911,36.892929 32.090527,40.05172 27.673611,40.989117L27.673611,45.540001 22.767485,45.540001 22.767485,41.330414C20.252919,41.155815,17.695551,40.424118,16.101811,39.404721L15.683999,39.137619 17.221739,33.731438 17.969059,34.180634C19.088988,34.851235 21.402748,35.97873 24.340325,35.97873 26.734886,35.97873 28.276728,34.921635 28.276728,33.291336 28.276728,31.986641 27.547409,30.853846 23.986016,29.57255 20.083815,28.144253 16.095511,26.04406 16.095511,21.239174 16.095511,17.280985 18.737379,14.291395 23.030291,13.329098z M25.268765,0C35.819447,2.7347414E-07 44.961449,6.0155495 49.458798,14.804573 49.902695,15.669173 50.490094,16.516972 50.651287,17.48427 51.198281,20.734265 47.255726,21.318962 45.901341,19.789065 45.336346,19.153567 44.669552,18.051968 44.19566,17.19517 40.5957,10.421881 33.473275,5.8072398 25.268765,5.8072393 18.047545,5.8072398 11.678013,9.3918336 7.8003562,14.867073L10.474627,15.367072C10.474627,15.367072,12.026909,15.574172,10.962921,16.223872L0.67933281,20.826762C0.36037083,20.880062,0.057029126,20.669165,0.00099972012,20.354063L0.69093342,9.1118043C0.89552094,7.9296158,1.5738537,9.124924,1.5738539,9.124924L3.0452772,11.583379C7.9566038,4.584462,16.073666,2.7347414E-07,25.268765,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Admin">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M18.660349,20.393C14.879011,20.393 11.806,23.468643 11.806,27.249899 11.806,31.026154 14.879011,34.103001 18.660349,34.103001 22.444386,34.103001 25.519998,31.026154 25.519998,27.249899 25.519998,23.468643 22.444386,20.393 18.660349,20.393z M50.07317,8.7561953C49.408178,8.7706149 48.735172,8.9156297 48.090648,9.2053407 45.51765,10.359123 44.36155,13.394207 45.51765,15.96858 46.671449,18.541552 49.709146,19.691384 52.283444,18.540251 54.856342,17.378819 56.012442,14.352736 54.856342,11.771862 53.990993,9.8450501 52.068145,8.7129386 50.07317,8.7561953z M15.597473,8.6000007L21.868224,8.6000007 22.20032,14.327933 22.20032,14.531032C23.236712,14.816134,24.218506,15.221134,25.133898,15.736836L25.253695,15.615635 29.675461,11.900828 34.111725,16.338337 30.296556,20.624846 30.165057,20.758946C30.683352,21.674349,31.08955,22.659951,31.378649,23.696451L31.544045,23.696451 37.293999,24.196451 37.293999,30.468565 31.566147,30.803267 31.378649,30.803267C31.08955,31.836972,30.683352,32.821373,30.165057,33.736874L30.280955,33.853974 33.993225,38.274582 29.558261,42.709496 25.271895,38.896988 25.133898,38.758988C24.218506,39.274586,23.236712,39.678185,22.20032,39.963387L22.20032,40.146988 21.868224,45.897 15.597473,45.897 15.093578,40.166485 15.093578,39.959488C14.064985,39.671688,13.084595,39.265385,12.174301,38.749787L12.040102,38.881485 7.7381763,42.709496 3.3033104,38.274582 6.9999428,33.869675 7.1522102,33.721176C6.6379356,32.807072,6.2343292,31.83057,5.9464817,30.803267L5.7499523,30.803267 0,30.468565 0,24.196451 5.7278118,23.696451 5.9464817,23.696451C6.2343292,22.665051,6.6379356,21.687248,7.1522102,20.775946L7.0128822,20.640444 3.1874237,16.338337 7.6209869,11.900828 12.027203,15.600036 12.174301,15.744536C13.084595,15.231535,14.064985,14.825334,15.093578,14.537533L15.093578,14.350033z M52.888157,0L57.259197,1.6601361 56.091211,5.7941664 56.035212,5.937414C56.665401,6.3971274,57.240894,6.9413698,57.753986,7.5533617L57.878984,7.4947021 61.949226,6.0845716 63.865797,10.35405 60.071657,12.331821 59.933659,12.393021C60.053354,13.18731,60.075457,13.977598,60.003952,14.758987L60.12245,14.803286 63.999998,16.682059 62.337223,21.053194 58.253977,19.771912 58.12108,19.721113C57.656389,20.352705,57.112095,20.928097,56.496105,21.441189L56.549604,21.556988 57.962284,25.627228 53.691446,27.541302 51.712375,23.744456 51.653774,23.615557C50.862186,23.736756,50.066597,23.760056,49.285309,23.687157L49.241009,23.800455 47.366036,27.678 42.991099,26.017823 44.277584,21.928082 44.325682,21.799183C43.696789,21.334391,43.121297,20.784899,42.607106,20.171606L42.487208,20.225006 38.469066,21.753483 36.553693,17.486847 40.297138,15.390477 40.441637,15.327978C40.321941,14.53499,40.299839,13.744601,40.372736,12.963413L40.24384,12.915114 36.321998,11.158738 37.984774,6.7851217 42.113513,7.9530752 42.263212,8.009104C42.728206,7.3840535,43.269797,6.8124616,43.879186,6.3033789L43.82189,6.1652506 42.29051,2.1496897 46.562749,0.22918414 48.656518,3.977782 48.722916,4.1289099C49.511906,4.0091622,50.299695,3.9843827,51.075585,4.0534113L51.127785,3.9218233z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Eye">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M33.597977,10.759002C37.946865,10.759002 41.485962,14.285001 41.485962,18.649 41.485962,23 37.946865,26.535 33.597977,26.535 29.23909,26.535 25.709992,23 25.709992,18.649 25.709992,17.784 25.849955,16.953001 26.109888,16.174002 26.779719,16.881001 27.70948,17.327002 28.759213,17.327002 30.778696,17.327002 32.418278,15.691001 32.418278,13.668001 32.418278,12.663001 32.008381,11.748001 31.348551,11.087002 32.058369,10.876001 32.818176,10.759002 33.597977,10.759002z M33.606682,4.3679962C25.92741,4.3679957 19.698065,10.594956 19.698065,18.27293 19.698065,25.953894 25.92741,32.177862 33.606682,32.177862 41.295838,32.177862 47.515175,25.953894 47.515175,18.27293 47.515175,10.594956 41.295838,4.3679957 33.606682,4.3679962z M34.867642,1.546141E-09C36.890393,2.6508449E-05 58.705193,0.41938579 68.893006,18.299923 68.893006,18.299923 57.1442,36.139837 34.44656,34.768854 34.44656,34.768854 14.428583,36.59984 0,18.299923 0,18.299923 9.0791523,0.4590019 34.716553,0.0010111886 34.716553,0.0010114873 34.768162,-1.4442128E-06 34.867642,1.546141E-09z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Coins">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M3.3390064,47.374004L26.00104,47.374004C26.17504,47.881321 26.361041,48.388939 26.575041,48.889757 27.610043,51.333344 29.086045,53.523722 30.968048,55.406689 31.135048,55.573593 31.309048,55.733997 31.476048,55.894005L3.3390064,55.894005C1.4960022,55.894005,0,54.398552,0,52.555387L0,50.712622C0,48.869556,1.4960022,47.374004,3.3390064,47.374004z M8.6740417,35.422004L25.713049,35.422004C25.220049,37.198282 24.972049,39.03446 24.972049,40.910738 24.972049,41.932125 25.046049,42.947113 25.193049,43.942001L8.6740417,43.942001C6.8310413,43.942001,5.3350391,42.44632,5.3350391,40.60354L5.3350391,38.760464C5.3350391,36.917886,6.8310413,35.422004,8.6740417,35.422004z M44.333998,28.91725L44.333998,31.014374C42.649975,31.25297 41.419993,31.901375 40.634958,32.963784 39.852975,34.026392 39.458993,35.225903 39.458993,36.554114 39.458993,37.565422 39.677987,38.455833 40.118966,39.221838 40.555979,39.98354 41.125986,40.573252 41.829967,40.99555 42.53297,41.425255 43.508984,41.850658 44.758986,42.28466 46.149979,42.776463 47.048965,43.183067 47.451004,43.502871 47.852982,43.819578 48.055986,44.291979 48.055986,44.913282 48.055986,45.51469 47.852982,46.022491 47.451004,46.448399 47.048965,46.874603 46.41597,47.0849 45.560011,47.0849 43.728954,47.0849 42.649975,46.093193 42.325999,44.11248L38.810005,45.030586C39.521005,48.178713,41.360971,49.909225,44.333998,50.214329L44.333998,52.91765 46.607986,52.91765 46.607986,50.202824C48.391985,50.015223 49.755999,49.390217 50.701008,48.33131 51.646992,47.273104 52.118979,45.952789 52.118979,44.36648 52.118979,43.331467 51.888998,42.429262 51.431965,41.65526 50.970966,40.886349 50.360981,40.276442 49.59096,39.839542 48.826006,39.401939 47.763016,38.933239 46.41597,38.440628 45.185011,37.991329 44.384962,37.612823 44.008986,37.307821 43.633984,36.999621 43.446972,36.561912 43.446972,35.991115 43.446972,35.429106 43.641979,34.952402 44.032972,34.558096 44.419996,34.163196 44.935011,33.967896 45.576002,33.967896 46.85701,33.967896 47.797989,34.850602 48.407976,36.612617L51.545002,35.327107C50.795002,32.756988,49.14699,31.319575,46.607986,31.015068L46.607986,28.91725z M3.3390026,23.690004L34.347016,23.690004C33.139015,24.471167 32.010015,25.379241 30.975014,26.414426 29.286014,28.103764 27.917013,30.053523 26.909013,32.203998L3.3390026,32.203998C1.4960022,32.203998,0,30.708376,0,28.865226L0,27.028776C0,25.185925,1.4960022,23.690004,3.3390026,23.690004z M45.470961,22.415C55.686974,22.415 63.96701,30.694868 63.959991,40.924053 63.959991,51.140034 55.680992,59.419998 45.464003,59.419998 41.41096,59.419998 37.659003,58.110893 34.613955,55.900974 31.696961,53.777658 29.412962,50.819633 28.130979,47.380901 27.716977,46.285692 27.408993,45.137482 27.215939,43.948774 27.055966,42.96047 26.96899,41.952459 26.968991,40.917248 26.96899,39.007633 27.255978,37.164823 27.796994,35.428709 28.150998,34.306995 28.597959,33.23199 29.145994,32.210482 31.195984,28.371248 34.553958,25.346428 38.626961,23.723612 40.743967,22.882503 43.053967,22.415 45.470961,22.415z M3.3390045,11.952L38.153052,11.952C39.996056,11.952,41.492057,13.448001,41.492057,15.290001L41.492057,17.133002C41.492057,18.976003,39.996056,20.472003,38.153052,20.472004L3.3390045,20.472004C1.4960022,20.472003,0,18.976003,0,17.133002L0,15.290001C0,13.448001,1.4960022,11.952,3.3390045,11.952z M8.6735134,0L43.487543,0C45.330534,0,46.826027,1.4958782,46.826027,3.3386841L46.826027,5.1814384C46.826027,7.0245428,45.330534,8.5200005,43.487543,8.5200005L8.6735134,8.5200005C6.8304424,8.5200005,5.3350277,7.0245428,5.3350277,5.1814384L5.3350277,3.3386841C5.3350277,1.4958782,6.8304424,0,8.6735134,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="BombIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black"
|
||||
Geometry="M14.200889,0C15.299896,0 16.59991,0.50000046 17.998923,1.4989944 19.597936,2.5990016 20.397944,4.5970043 21.196948,6.4960083 22.495954,9.6950015 23.495961,11.693005 26.093989,11.594006 26.793992,11.594006 27.293996,12.093014 27.293996,12.693005 27.293996,13.393002 26.793992,13.892012 26.193997,13.892012 21.896949,14.092009 20.297938,10.394007 19.097932,7.3960032 18.398921,5.6969966 17.698918,4.0979957 16.699916,3.3979983 15.899907,2.8979978 14.600901,1.9989949 13.700884,2.4989952 12.701883,2.9980039 12.30187,5.0970048 12.20188,6.3960022L13.900898,6.2959961C14.600901,6.2959961,15.100904,6.6960057,15.199904,7.3960032L15.399903,9.6950015C16.799909,10.19401 18.098929,10.894008 19.197938,11.893001 23.995965,15.991012 24.494979,23.287025 20.397944,28.084026 16.099906,32.78203 8.8038569,33.381029 4.0068054,29.184019 -0.79122243,25.086023 -1.3902263,17.79001 2.8067985,12.993009 3.9068136,11.693005 5.405819,10.594005 7.0048309,9.9940128L6.9048391,7.9960098C6.9048391,7.3960032,7.3048363,6.7959966,8.0038471,6.6960057L9.9028645,6.5959992C9.9028645,5.3970083 10.302861,1.6989915 12.701883,0.50000046 13.10188,0.099990942 13.700884,0 14.200889,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="CancelOrders">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M10.659519,13.581999C10.787763,13.581999 10.916255,13.630751 11.01375,13.728755 11.207739,13.924762 11.207739,14.241775 11.01175,14.435782L8.5898266,16.850518 11.012901,19.265967C11.20889,19.460974 11.20889,19.776986 11.013901,19.972994 10.916906,20.070997 10.787913,20.119999 10.65992,20.119999 10.531927,20.119999 10.403934,20.070997 10.30694,19.973994L7.8819971,17.556247 5.4570541,19.973994C5.3600597,20.070997 5.2320671,20.119999 5.1040735,20.119999 4.9760809,20.119999 4.8470879,20.070997 4.7500935,19.972994 4.5551033,19.776986 4.5551033,19.460974 4.7510929,19.265967L7.1741672,16.850518 4.752244,14.435782C4.5562544,14.241775 4.5562544,13.924762 4.7502441,13.728755 4.9452333,13.532748 5.2642155,13.533748 5.4572048,13.727755L7.8819966,16.144916 10.306789,13.727755C10.403284,13.630751,10.531276,13.582,10.659519,13.581999z M7.7229891,10.151996C4.0159941,10.151996 0.99999809,13.156997 0.99999809,16.850998 0.99999809,20.544999 4.0159941,23.55 7.7229891,23.55 10.503235,23.55 12.895357,21.859687 13.917652,19.456124L14.034025,19.162648 14.034025,18.772999 14.164453,18.772999 14.191419,18.682897C14.357855,18.100457 14.44698,17.485905 14.44698,16.850998 14.44698,13.156997 11.429984,10.151996 7.7229891,10.151996z M28.477001,10.135L31.999016,13.663 28.424001,17.244999 27.716998,16.538999 29.693872,14.558 21.322995,14.558 21.322995,13.558 30.482195,13.558 27.769998,10.841z M7.4592972,5.1720018L15.45899,8.869 22.849004,5.1720018z M4.6849804,4.1720018L25.465012,4.1720018 25.465012,10.408002 24.465011,10.408002 24.465011,5.4821377 15.476991,9.9780006 5.6849813,5.4540205 5.6849813,9.4246554 5.7953281,9.3948154C6.4117265,9.2363219 7.0576777,9.1519957 7.7229891,9.1519957 11.981983,9.1519957 15.446978,12.605997 15.446978,16.850998 15.446978,17.514279 15.362384,18.158249 15.203383,18.772749L24.465023,18.772999 24.465023,16.665997 25.465026,16.665997 25.465026,19.772997 14.868521,19.772997 14.839026,19.844827C13.664856,22.607125 10.917235,24.550001 7.7229891,24.550001 3.4649954,24.550001 0,21.095999 0,16.850998 0,13.733575 1.8686953,11.042744 4.5478315,9.8331947L4.6849804,9.7732801z M7.8089724,0L29.631012,0 29.631012,7.2790012 28.63101,7.2790012 28.63101,1 8.8089738,1 8.8089738,3.1080008 7.8089724,3.1080008z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Display">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M2,2L2,25 30,25 30,2z M1,0L31,0C31.552002,0,32,0.44702148,32,1L32,26C32,26.552979,31.552002,27,31,27L17,27 17,30 25,30 25,32 7,32 7,30 15,30 15,27 1,27C0.44799805,27,0,26.552979,0,26L0,1C0,0.44702148,0.44799805,0,1,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Target">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M16.2,11.1C19,11.1 21.2,13.3 21.2,16.1 21.2,18.9 19,21.1 16.2,21.1 13.4,21.1 11.2,18.9 11.2,16.1 11.2,13.4 13.4,11.1 16.2,11.1z M16.2,6C10.6,6 6,10.6 6,16.1 6,21.7 10.5,26.2 16.1,26.2 21.7,26.2 26.2,21.7 26.2,16.1 26.3,10.6 21.7,6 16.2,6z M15.3,0L16.8,0 16.8,5.1999998C22.2,5.5,26.6,9.6999998,27.1,15L32,15 32,16.5 27.1,16.5 27.1,16.7C26.8,22.3,22.3,26.8,16.7,27.1L16.7,32 15.2,32 15.2,27.1 15.5,27.1 16,27.1C10.2,27,5.5,22.5,5.1999998,16.7L5.1999998,16.5 5.1999998,16.4 0,16.4 0,15 5.3000002,15C5.9000001,9.6999998,10.3,5.5,15.7,5.1999998L15.6,5.1999998 15.3,5.1999998z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Wrench">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M5.5803752,0C7.1813383,0 8.8833761,0.6000061 10.084373,1.8009948 11.785374,3.5029907 12.285377,5.8049927 11.685397,7.9060059L24.094478,20.31601C26.096505,19.714996 28.398524,20.216003 30.099524,21.916992 31.500535,23.317993 32.101552,25.320007 31.901538,27.121002L28.998504,24.118988C27.69753,22.817993 25.496465,22.817993 24.094478,24.118988 22.693467,25.519989 22.693467,27.622009 24.094478,29.02301L26.997514,31.924988C25.195498,32.225006 23.194447,31.625 21.793437,30.123993 20.191436,28.522003 19.591456,26.119995 20.191436,24.118988L7.7823553,11.709015C5.6803512,12.309998 3.3783338,11.80899 1.6773333,10.108002 0.37629925,8.7070007 -0.224718,6.8049927 0.076309212,5.0039978L2.978307,7.9060059C4.2793407,9.2070007 6.4813823,9.2070007 7.8823928,7.9060059 9.2834034,6.605011 9.2834034,4.4030151 7.8823928,3.0020142L4.9803342,0.10000607C5.1803479,0,5.3803615,0,5.5803752,0z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Clock">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M25.700012,16.000016L28.800019,16.000016 28.800019,17.099989 25.700012,17.099989z M23.200012,8.599998L17.200012,16.300004C17.200012,16.500016,17.100006,16.800002,17,17.000014L20.100006,22.50001 15.700012,17.699965C15,17.599989 14.5,17.000014 14.5,16.300004 14.5,15.599991 15,15.000017 15.700012,14.89998L15.800019,14.89998z M15.700012,2.9999971C8.7000124,3.2000091,3.0000002,9.0000224,3,16.000016L6.1000063,16.000016 6.1000063,17.099989 3.1000061,17.099989 3.1000061,17.300002C3.7000124,23.699959,9.1000063,28.79999,15.700012,29.000002L15.800019,29.000002 15.800019,26.000006 16.900025,26.000006 16.900025,29.000002 17.100006,29.000002C23.800019,28.500004 29.100006,22.899971 29.100006,16.099991 29.100006,9.3000092 23.800019,3.7000086 17.100006,3.2000089L16.900025,3.2000089 16.900025,6.2000065 15.800019,6.2000065 15.800019,2.9999971z M16,0C24.800019,0 32,7.2000055 32,16.000016 32,24.799994 24.800019,32 16,32 7.2000124,32 2.3106986E-07,24.799994 0,16.000016 2.3106986E-07,7.2000055 7.2000124,0 16,0z"/>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Payment">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M28.000001,6.0000026L28.000001,15 6.0010006,15 6.0010006,17.000003 30.001,17.000003 30.001,6.0000026z M14.231,2.9540056L14.979999,2.9540056 14.979999,3.987005C15.704998,4.009005,16.200997,4.178005,16.550998,4.3600049L16.248998,5.0620046C15.994998,4.9340047 15.499998,4.7010047 14.725999,4.7010047 13.796,4.7010047 13.445001,5.1900046 13.445001,5.6160046 13.445001,6.1710043 13.893,6.4470041 14.943999,6.8310037 16.187998,7.2780037 16.816998,7.8320036 16.816998,8.7800031 16.816998,9.6210027 16.151998,10.409003 14.907999,10.591002L14.907999,11.698002 14.146,11.698002 14.146,10.622003C13.445001,10.611002,12.720001,10.420002,12.297002,10.154003L12.587001,9.4400029C13.022001,9.696003 13.651,9.8980026 14.328,9.8980026 15.185999,9.8980026 15.765998,9.4620028 15.765998,8.8540034 15.765998,8.2680035 15.293999,7.9060035 14.4,7.5870035 13.167001,7.1610038 12.406001,6.6710041 12.406001,5.7440041 12.406001,4.8600047 13.119,4.189005 14.231,4.0290052z M2,2.0000002L2,13 26.000001,13 26.000001,2.0000002z M0,0L28.000001,0 28.000001,4.0000031 32.001,4.0000031 32.001,19.000003 4.0010006,19.000003 4.0010006,15 0,15z"/>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="Accounting">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black" Geometry="M7,26L19,26 19,28 7,28z M12.732999,14.533003L13.867999,14.533003 13.867999,15.486002C14.643999,15.519002,15.164999,15.671002,15.546999,15.844003L15.210999,17.068001C14.909999,16.949001 14.376999,16.700003 13.543999,16.700003 12.790999,16.700003 12.547999,17.003002 12.547999,17.307001 12.547999,17.664001 12.952999,17.892002 13.936999,18.238001 15.315999,18.693001 15.870998,19.289001 15.870998,20.264 15.870998,21.228001 15.141998,22.052 13.809999,22.268999L13.809999,23.372999 12.674999,23.372999 12.674999,22.344C11.898999,22.310999,11.146,22.116999,10.705999,21.878L11.052999,20.610001C11.539999,20.860001 12.223,21.087999 12.975999,21.087999 13.635999,21.087999 14.087999,20.85 14.087999,20.416 14.087999,20.004 13.716999,19.744001 12.859999,19.474001 11.620999,19.083 10.775999,18.542002 10.775999,17.490002 10.775999,16.537003 11.492999,15.790002 12.732999,15.562002z M2,12L2,30 24,30 24,12z M2,7L2,10 24,10 24,7z M2,2L2,5 24,5 24,2z M0,0L26,0 26,32 0,32z"/>
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="CancelIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<GeometryDrawing>
|
||||
<GeometryDrawing.Pen>
|
||||
<Pen Brush="Black" Thickness="1" />
|
||||
</GeometryDrawing.Pen>
|
||||
<GeometryDrawing.Geometry>
|
||||
<GeometryGroup>
|
||||
<EllipseGeometry Center="3.5,3.5" RadiusX="7" RadiusY="7" />
|
||||
<LineGeometry StartPoint="0.5,0.5" EndPoint="7,7" />
|
||||
<LineGeometry StartPoint="0.5,7" EndPoint="7,0.5" />
|
||||
</GeometryGroup>
|
||||
</GeometryDrawing.Geometry>
|
||||
</GeometryDrawing>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="ModifyIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black"
|
||||
Geometry="M14.594219,18.460856C14.849983,18.450356,15.109747,18.537357,15.312757,18.724861L20.011005,23.059948 15.413763,27.330033C15.220753,27.510036 14.97674,27.598038 14.732727,27.598038 14.464713,27.598038 14.196698,27.491035 14.000689,27.279032 13.624668,26.874024 13.64767,26.241012 14.051691,25.866004L15.992919,24.062022 7.989006,24.062022C7.4370065,24.062022 6.9890068,23.614022 6.989007,23.062022 6.9890068,22.510022 7.4370065,22.062022 7.989006,22.062022L15.97902,22.062022 13.955686,20.194891C13.549664,19.820883 13.524663,19.187871 13.899683,18.781862 14.086693,18.579358 14.338456,18.471356 14.594219,18.460856z M9.3027391,11.460688C9.5584774,11.470064 9.8107157,11.577314 9.9987097,11.780311 10.374683,12.184289 10.351689,12.817263 9.9477019,13.193288L8.0072365,14.996028 16.01,14.996028C16.562,14.996028 17.01,15.444028 17.01,15.996028 17.01,16.548028 16.562,16.996028 16.01,16.996028L8.0192065,16.996028 10.043705,18.863081C10.448685,19.238069 10.474684,19.870067 10.099703,20.276059 9.9037132,20.490042 9.6347136,20.598009 9.364738,20.598009 9.1227455,20.598009 8.8797612,20.511037 8.6867623,20.333064L3.9889941,15.998187 8.5857692,11.728311C8.7877626,11.53981,9.0470009,11.451312,9.3027391,11.460688z M7,3.4140005L3.3829875,7.0310125 7,7.0310125z M9.0000005,2L9.0000005,9.0310111 2,9.0310111 2,30 22,30 22,2z M7.586,0L22,0C23.103001,0,24,0.89700031,24,2L24,30C24,31.103001,23.103001,32,22,32L2,32C0.89700031,32,2.3841858E-07,31.103001,0,30L0,7.586z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="PauseIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black"
|
||||
Geometry="M18.51899,0L29.981999,0 29.981999,32 18.51899,32z M0,0L11.464992,0 11.464992,32 0,32z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<DrawingImage x:Key="PlayIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup>
|
||||
<DrawingGroup.Children>
|
||||
<GeometryDrawing Brush="Black"
|
||||
Geometry="M0,0L25.194,16 0,32z" />
|
||||
</DrawingGroup.Children>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
|
||||
<!-- Pin
|
||||
<Path Data="F1M3,11L3,7 0,7 0,6 1,6 1,1 1,0 6,0 6,1 6,6 7,6 7,7 4,7 4,11 3,11z M2,1L2,6 4,6 4,1 2,1z" />
|
||||
Unpin
|
||||
<Path Data="F1M0,3L4,3 4,0 5,0 5,1 10,1 11,1 11,6 10,6 5,6 5,7 4,7 4,4 0,4 0,3z M10,2L5,2 5,4 10,4 10,2z" />
|
||||
-->
|
||||
|
||||
</ResourceDictionary>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace mbts.ui.native
|
||||
{
|
||||
public static class BTSUINativeMethods
|
||||
{
|
||||
[DllImport("bts_nview")]
|
||||
public static extern void enable_limits();
|
||||
|
||||
[DllImport("bts_nview", CharSet = CharSet.Unicode)]
|
||||
public static extern void set_window_app_id(IntPtr hwnd, string stack_id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
namespace mbts.ui.native
|
||||
{
|
||||
public enum HT : int
|
||||
{
|
||||
ERROR = (-2),
|
||||
TRANSPARENT = (-1),
|
||||
NOWHERE = 0,
|
||||
CLIENT = 1,
|
||||
CAPTION = 2,
|
||||
SYSMENU = 3,
|
||||
GROWBOX = 4,
|
||||
SIZE = GROWBOX,
|
||||
MENU = 5,
|
||||
HSCROLL = 6,
|
||||
VSCROLL = 7,
|
||||
MINBUTTON = 8,
|
||||
MAXBUTTON = 9,
|
||||
LEFT = 10,
|
||||
RIGHT = 11,
|
||||
TOP = 12,
|
||||
TOPLEFT = 13,
|
||||
TOPRIGHT = 14,
|
||||
BOTTOM = 15,
|
||||
BOTTOMLEFT = 16,
|
||||
BOTTOMRIGHT = 17,
|
||||
BORDER = 18,
|
||||
REDUCE = MINBUTTON,
|
||||
ZOOM = MAXBUTTON,
|
||||
// SIZEFIRST = LEFT,
|
||||
// SIZELAST = BOTTOMRIGHT,
|
||||
OBJECT = 19,
|
||||
CLOSE = 20,
|
||||
HELP = 21,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,599 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
namespace mbts.ui.native
|
||||
{
|
||||
public static class NativeMethods
|
||||
{
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool PostThreadMessage(int threadid, uint msg, IntPtr wparam, IntPtr lparam);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool GetMessage(ref MSG msg, IntPtr hwnd, uint filter_mind, uint filter_max);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool DispatchMessage(ref MSG msg);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool TranslateMessage(ref MSG msg);
|
||||
|
||||
#region Windows Message Loop Stuff
|
||||
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr SendMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr SendNotifyMessage(IntPtr hwnd, WM msg, Int64 wparam, Int64 lparam);
|
||||
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern bool AllocConsole();
|
||||
|
||||
public delegate IntPtr WndProcDelegate(IntPtr hwnd, uint msg, IntPtr wparam, IntPtr lparam);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr SetWindowLongPtr(IntPtr hWnd, GWL nIndex, WndProcDelegate dwNewLong);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr SetWindowLongPtr(IntPtr hwnd, GWL index, WS_EX style);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
public delegate IntPtr HookProc(int code, IntPtr wparam, IntPtr lparam);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern IntPtr SetWindowsHookEx(HookType hookType, IntPtr lpfn, IntPtr hMod, uint dwThreadId);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern bool UnhookWindowsHookEx(IntPtr hhook);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern IntPtr CallNextHookEx(IntPtr hhk, int code, IntPtr wparam, IntPtr lparam);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct WINDOWPOS
|
||||
{
|
||||
public IntPtr hwnd;
|
||||
public IntPtr hwndInsertAfter;
|
||||
public int x;
|
||||
public int y;
|
||||
public int cx;
|
||||
public int cy;
|
||||
public int flags;
|
||||
|
||||
public override string ToString() {
|
||||
return "{0},{1} {2},{3}".fmt(x, y, cx, cy);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern uint GetCurrentThreadId();
|
||||
|
||||
#endregion
|
||||
|
||||
#region Window Flashing API Stuff
|
||||
|
||||
private const UInt32 FLASHW_STOP = 0; //Stop flashing. The system restores the window to its original state.
|
||||
private const UInt32 FLASHW_CAPTION = 1; //Flash the window caption.
|
||||
private const UInt32 FLASHW_TRAY = 2; //Flash the taskbar button.
|
||||
private const UInt32 FLASHW_ALL = 3; //Flash both the window caption and taskbar button.
|
||||
private const UInt32 FLASHW_TIMER = 4; //Flash continuously, until the FLASHW_STOP flag is set.
|
||||
private const UInt32 FLASHW_TIMERNOFG = 12; //Flash continuously until the window comes to the foreground.
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
private struct FLASHWINFO
|
||||
{
|
||||
public UInt32 cbSize; //The size of the structure in bytes.
|
||||
public IntPtr hwnd; //A Handle to the Window to be Flashed. The window can be either opened or minimized.
|
||||
public UInt32 dwFlags; //The Flash Status.
|
||||
public UInt32 uCount; // number of times to flash the window
|
||||
public UInt32 dwTimeout; //The rate at which the Window is to be flashed, in milliseconds. If Zero, the function uses the default cursor blink rate.
|
||||
}
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
private static extern bool FlashWindowEx(ref FLASHWINFO pwfi);
|
||||
|
||||
public static void FlashWindow(IntPtr hwnd, uint count = UInt32.MaxValue)
|
||||
{
|
||||
FLASHWINFO fwi = new FLASHWINFO()
|
||||
{
|
||||
hwnd = hwnd,
|
||||
dwFlags = FLASHW_ALL | FLASHW_TIMERNOFG,
|
||||
uCount = count,
|
||||
dwTimeout = 0,
|
||||
};
|
||||
|
||||
fwi.cbSize = (uint)Marshal.SizeOf(fwi);
|
||||
bool ret = FlashWindowEx(ref fwi);
|
||||
Console.WriteLine(ret);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public static System.Windows.Point GetCursorPos() {
|
||||
Win32Point pt;
|
||||
GetCursorPos(out pt);
|
||||
return new System.Windows.Point(pt.x, pt.y);
|
||||
}
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool GetCursorPos(out Win32Point pt);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool SetWindowPos(IntPtr hwnd, IntPtr hwnd_insert_after, int x, int y, int cx, int cy, SWP flags);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool GetWindowRect(IntPtr hwnd, out Win32Rect lpRect);
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern bool GetWindowPlacement(IntPtr hwnd, ref WINDOWPLACEMENT lpwndpl);
|
||||
|
||||
public static readonly IntPtr HWND_BROADCAST = new IntPtr(0xffff);
|
||||
public static readonly WM WM_SHOWME = RegisterWindowMessage("SHOW_ME");
|
||||
public static readonly WM WM_SHELL_TERMINATE = RegisterWindowMessage("SHELL_TERMINATE");
|
||||
public static readonly WM WM_URL = RegisterWindowMessage("BTS_URL");
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern WM RegisterWindowMessage(string name);
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr DefWindowProc(IntPtr hWnd, int uMsg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
[DllImport("dwmapi", PreserveSig = true)]
|
||||
public static extern int DwmExtendFrameIntoClientArea(IntPtr hwnd, ref Win32Rect margins);
|
||||
|
||||
#region Bitmap / Device context related
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr GetDC(IntPtr hwnd);
|
||||
[DllImport("user32")]
|
||||
public static extern int ReleaseDC(IntPtr hwnd, IntPtr hdc);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern IntPtr CreateBitmap(int width, int height, uint planes, uint bits_per_pixel, IntPtr bits);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern bool DeleteObject(IntPtr hObject);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern IntPtr CreateCompatibleBitmap(IntPtr hdc, int nWidth, int nHeight);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern bool BitBlt(IntPtr hdc, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop = 0x00CC0020/*SRCCOPY*/);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern int SetStretchBltMode(IntPtr hdc, int mode);
|
||||
|
||||
[DllImport("gdi32")]
|
||||
public static extern bool StretchBlt(IntPtr hdc_dest, int x_dest, int y_dest, int width_dest, int height_dest, IntPtr hdc_src, int x_src, int y_src, int width_src, int height_src, int dwRop = 0x00CC0020/*SRCCOPY*/);
|
||||
|
||||
#endregion
|
||||
|
||||
#region Monitor/Workarea related
|
||||
|
||||
public const int MONITOR_DEFAULTONPRIMARY = 1;
|
||||
public const int MONITOR_DEFAULTONNEAREST = 2;
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr MonitorFromWindow(IntPtr hwnd, int flags);
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern bool GetMonitorInfo(IntPtr hMonitor, ref MONITORINFO lpmi);
|
||||
|
||||
[DllImport("user32", EntryPoint = "SystemParametersInfo", SetLastError=true)]
|
||||
private static extern bool SetWorkArea_SystemParametersInfo(SPI action, uint zero, Win32Rect param, uint winini);
|
||||
|
||||
public static void SetWorkArea(Rect workarea) {
|
||||
var dpi_ratio = config.Configuration.get<bts.config.System>().dpi_ratio;
|
||||
workarea = new Rect(workarea.Left * dpi_ratio, workarea.Top * dpi_ratio, (workarea.Right - workarea.Left) * dpi_ratio, (workarea.Bottom - workarea.Top) * dpi_ratio);
|
||||
//const uint SPIF_SENDWININICHANGE = 2;
|
||||
const uint SPIF_UPDATEINIFILE = 1;
|
||||
|
||||
Win32Rect rect = new Win32Rect(workarea);
|
||||
// Sending SPIF_SENDWININICHANGE causes this to block until all top level windows have acknowledged the settings change
|
||||
// Since we want to do that during shutdown this could cause a long delay.
|
||||
bool result = SetWorkArea_SystemParametersInfo(SPI.SETWORKAREA, 1, rect, SPIF_UPDATEINIFILE);
|
||||
if (!result) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.ui, "Failed to set work area. {0} - {1}".fmt(Marshal.GetLastWin32Error(), new System.ComponentModel.Win32Exception().Message));
|
||||
}
|
||||
SendNotifyMessage(HWND_BROADCAST, WM.SETTINGCHANGE, (Int64)SPI.SETWORKAREA, 0);
|
||||
}
|
||||
|
||||
// Get the work area for monitor where the specified window is currently.
|
||||
// The work area is the area of the window not covered by the task bar or a docked shell
|
||||
public static Rect GetWorkArea(IntPtr window) {
|
||||
var dpi_ratio = config.Configuration.get<bts.config.System>().dpi_ratio;
|
||||
IntPtr monitor = MonitorFromWindow(window, MONITOR_DEFAULTONNEAREST);
|
||||
MONITORINFO info = new MONITORINFO();
|
||||
info.cbSize = Marshal.SizeOf(info);
|
||||
GetMonitorInfo(monitor, ref info);
|
||||
return new Rect(info.rcWork.Left/dpi_ratio, info.rcWork.Top/dpi_ratio, (info.rcWork.Right - info.rcWork.Left)/dpi_ratio, (info.rcWork.Bottom - info.rcWork.Top)/dpi_ratio);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr GetForegroundWindow();
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern bool IsWindow(IntPtr handle);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public enum GWL
|
||||
{
|
||||
WNDPROC = -4,
|
||||
EXSTYLE = -20,
|
||||
}
|
||||
|
||||
public enum WS_EX
|
||||
{
|
||||
TRANSPARENT = 0x20
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum SWP : uint
|
||||
{
|
||||
SWP_NOSIZE = 1,
|
||||
SWP_NOMOVE = 2,
|
||||
SWP_FRAMECHANGED = 0x20
|
||||
}
|
||||
|
||||
public enum SPI : uint
|
||||
{
|
||||
GETBEEP = 0x0001,
|
||||
SETBEEP = 0x0002,
|
||||
GETMOUSE = 0x0003,
|
||||
SETMOUSE = 0x0004,
|
||||
GETBORDER = 0x0005,
|
||||
SETBORDER = 0x0006,
|
||||
GETKEYBOARDSPEED = 0x000A,
|
||||
SETKEYBOARDSPEED = 0x000B,
|
||||
LANGDRIVER = 0x000C,
|
||||
ICONHORIZONTALSPACING = 0x000D,
|
||||
GETSCREENSAVETIMEOUT = 0x000E,
|
||||
SETSCREENSAVETIMEOUT = 0x000F,
|
||||
GETSCREENSAVEACTIVE = 0x0010,
|
||||
SETSCREENSAVEACTIVE = 0x0011,
|
||||
GETGRIDGRANULARITY = 0x0012,
|
||||
SETGRIDGRANULARITY = 0x0013,
|
||||
SETDESKWALLPAPER = 0x0014,
|
||||
SETDESKPATTERN = 0x0015,
|
||||
GETKEYBOARDDELAY = 0x0016,
|
||||
SETKEYBOARDDELAY = 0x0017,
|
||||
ICONVERTICALSPACING = 0x0018,
|
||||
GETICONTITLEWRAP = 0x0019,
|
||||
SETICONTITLEWRAP = 0x001A,
|
||||
GETMENUDROPALIGNMENT = 0x001B,
|
||||
SETMENUDROPALIGNMENT = 0x001C,
|
||||
SETDOUBLECLKWIDTH = 0x001D,
|
||||
SETDOUBLECLKHEIGHT = 0x001E,
|
||||
GETICONTITLELOGFONT = 0x001F,
|
||||
SETDOUBLECLICKTIME = 0x0020,
|
||||
SETMOUSEBUTTONSWAP = 0x0021,
|
||||
SETICONTITLELOGFONT = 0x0022,
|
||||
GETFASTTASKSWITCH = 0x0023,
|
||||
SETFASTTASKSWITCH = 0x0024,
|
||||
SETDRAGFULLWINDOWS = 0x0025,
|
||||
GETDRAGFULLWINDOWS = 0x0026,
|
||||
GETNONCLIENTMETRICS = 0x0029,
|
||||
SETNONCLIENTMETRICS = 0x002A,
|
||||
GETMINIMIZEDMETRICS = 0x002B,
|
||||
SETMINIMIZEDMETRICS = 0x002C,
|
||||
GETICONMETRICS = 0x002D,
|
||||
SETICONMETRICS = 0x002E,
|
||||
SETWORKAREA = 0x002F,
|
||||
GETWORKAREA = 0x0030,
|
||||
SETPENWINDOWS = 0x0031,
|
||||
GETHIGHCONTRAST = 0x0042,
|
||||
SETHIGHCONTRAST = 0x0043,
|
||||
GETKEYBOARDPREF = 0x0044,
|
||||
SETKEYBOARDPREF = 0x0045,
|
||||
GETSCREENREADER = 0x0046,
|
||||
SETSCREENREADER = 0x0047,
|
||||
GETANIMATION = 0x0048,
|
||||
SETANIMATION = 0x0049,
|
||||
GETFONTSMOOTHING = 0x004A,
|
||||
SETFONTSMOOTHING = 0x004B,
|
||||
SETDRAGWIDTH = 0x004C,
|
||||
SETDRAGHEIGHT = 0x004D,
|
||||
SETHANDHELD = 0x004E,
|
||||
GETLOWPOWERTIMEOUT = 0x004F,
|
||||
GETPOWEROFFTIMEOUT = 0x0050,
|
||||
SETLOWPOWERTIMEOUT = 0x0051,
|
||||
SETPOWEROFFTIMEOUT = 0x0052,
|
||||
GETLOWPOWERACTIVE = 0x0053,
|
||||
GETPOWEROFFACTIVE = 0x0054,
|
||||
SETLOWPOWERACTIVE = 0x0055,
|
||||
SETPOWEROFFACTIVE = 0x0056,
|
||||
SETCURSORS = 0x0057,
|
||||
SETICONS = 0x0058,
|
||||
GETDEFAULTINPUTLANG = 0x0059,
|
||||
SETDEFAULTINPUTLANG = 0x005A,
|
||||
SETLANGTOGGLE = 0x005B,
|
||||
GETWINDOWSEXTENSION = 0x005C,
|
||||
SETMOUSETRAILS = 0x005D,
|
||||
GETMOUSETRAILS = 0x005E,
|
||||
SETSCREENSAVERRUNNING = 0x0061,
|
||||
SCREENSAVERRUNNING = SETSCREENSAVERRUNNING,
|
||||
GETFILTERKEYS = 0x0032,
|
||||
SETFILTERKEYS = 0x0033,
|
||||
GETTOGGLEKEYS = 0x0034,
|
||||
SETTOGGLEKEYS = 0x0035,
|
||||
GETMOUSEKEYS = 0x0036,
|
||||
SETMOUSEKEYS = 0x0037,
|
||||
GETSHOWSOUNDS = 0x0038,
|
||||
SETSHOWSOUNDS = 0x0039,
|
||||
GETSTICKYKEYS = 0x003A,
|
||||
SETSTICKYKEYS = 0x003B,
|
||||
GETACCESSTIMEOUT = 0x003C,
|
||||
SETACCESSTIMEOUT = 0x003D,
|
||||
GETSERIALKEYS = 0x003E,
|
||||
SETSERIALKEYS = 0x003F,
|
||||
GETSOUNDSENTRY = 0x0040,
|
||||
SETSOUNDSENTRY = 0x0041,
|
||||
GETSNAPTODEFBUTTON = 0x005F,
|
||||
SETSNAPTODEFBUTTON = 0x0060,
|
||||
GETMOUSEHOVERWIDTH = 0x0062,
|
||||
SETMOUSEHOVERWIDTH = 0x0063,
|
||||
GETMOUSEHOVERHEIGHT = 0x0064,
|
||||
SETMOUSEHOVERHEIGHT = 0x0065,
|
||||
GETMOUSEHOVERTIME = 0x0066,
|
||||
SETMOUSEHOVERTIME = 0x0067,
|
||||
GETWHEELSCROLLLINES = 0x0068,
|
||||
SETWHEELSCROLLLINES = 0x0069,
|
||||
GETMENUSHOWDELAY = 0x006A,
|
||||
SETMENUSHOWDELAY = 0x006B,
|
||||
GETWHEELSCROLLCHARS = 0x006C,
|
||||
SETWHEELSCROLLCHARS = 0x006D,
|
||||
GETSHOWIMEUI = 0x006E,
|
||||
SETSHOWIMEUI = 0x006F,
|
||||
GETMOUSESPEED = 0x0070,
|
||||
SETMOUSESPEED = 0x0071,
|
||||
GETSCREENSAVERRUNNING = 0x0072,
|
||||
GETDESKWALLPAPER = 0x0073,
|
||||
GETAUDIODESCRIPTION = 0x0074,
|
||||
SETAUDIODESCRIPTION = 0x0075,
|
||||
GETSCREENSAVESECURE = 0x0076,
|
||||
SETSCREENSAVESECURE = 0x0077,
|
||||
GETHUNGAPPTIMEOUT = 0x0078,
|
||||
SETHUNGAPPTIMEOUT = 0x0079,
|
||||
GETWAITTOKILLTIMEOUT = 0x007A,
|
||||
SETWAITTOKILLTIMEOUT = 0x007B,
|
||||
GETWAITTOKILLSERVICETIMEOUT = 0x007C,
|
||||
SETWAITTOKILLSERVICETIMEOUT = 0x007D,
|
||||
GETMOUSEDOCKTHRESHOLD = 0x007E,
|
||||
SETMOUSEDOCKTHRESHOLD = 0x007F,
|
||||
GETPENDOCKTHRESHOLD = 0x0080,
|
||||
SETPENDOCKTHRESHOLD = 0x0081,
|
||||
GETWINARRANGING = 0x0082,
|
||||
SETWINARRANGING = 0x0083,
|
||||
GETMOUSEDRAGOUTTHRESHOLD = 0x0084,
|
||||
SETMOUSEDRAGOUTTHRESHOLD = 0x0085,
|
||||
GETPENDRAGOUTTHRESHOLD = 0x0086,
|
||||
SETPENDRAGOUTTHRESHOLD = 0x0087,
|
||||
GETMOUSESIDEMOVETHRESHOLD = 0x0088,
|
||||
SETMOUSESIDEMOVETHRESHOLD = 0x0089,
|
||||
GETPENSIDEMOVETHRESHOLD = 0x008A,
|
||||
SETPENSIDEMOVETHRESHOLD = 0x008B,
|
||||
GETDRAGFROMMAXIMIZE = 0x008C,
|
||||
SETDRAGFROMMAXIMIZE = 0x008D,
|
||||
GETSNAPSIZING = 0x008E,
|
||||
SETSNAPSIZING = 0x008F,
|
||||
GETDOCKMOVING = 0x0090,
|
||||
SETDOCKMOVING = 0x0091,
|
||||
GETACTIVEWINDOWTRACKING = 0x1000,
|
||||
SETACTIVEWINDOWTRACKING = 0x1001,
|
||||
GETMENUANIMATION = 0x1002,
|
||||
SETMENUANIMATION = 0x1003,
|
||||
GETCOMBOBOXANIMATION = 0x1004,
|
||||
SETCOMBOBOXANIMATION = 0x1005,
|
||||
GETLISTBOXSMOOTHSCROLLING = 0x1006,
|
||||
SETLISTBOXSMOOTHSCROLLING = 0x1007,
|
||||
GETGRADIENTCAPTIONS = 0x1008,
|
||||
SETGRADIENTCAPTIONS = 0x1009,
|
||||
GETKEYBOARDCUES = 0x100A,
|
||||
SETKEYBOARDCUES = 0x100B,
|
||||
GETMENUUNDERLINES = GETKEYBOARDCUES,
|
||||
SETMENUUNDERLINES = SETKEYBOARDCUES,
|
||||
GETACTIVEWNDTRKZORDER = 0x100C,
|
||||
SETACTIVEWNDTRKZORDER = 0x100D,
|
||||
GETHOTTRACKING = 0x100E,
|
||||
SETHOTTRACKING = 0x100F,
|
||||
GETMENUFADE = 0x1012,
|
||||
SETMENUFADE = 0x1013,
|
||||
GETSELECTIONFADE = 0x1014,
|
||||
SETSELECTIONFADE = 0x1015,
|
||||
GETTOOLTIPANIMATION = 0x1016,
|
||||
SETTOOLTIPANIMATION = 0x1017,
|
||||
GETTOOLTIPFADE = 0x1018,
|
||||
SETTOOLTIPFADE = 0x1019,
|
||||
GETCURSORSHADOW = 0x101A,
|
||||
SETCURSORSHADOW = 0x101B,
|
||||
GETMOUSESONAR = 0x101C,
|
||||
SETMOUSESONAR = 0x101D,
|
||||
GETMOUSECLICKLOCK = 0x101E,
|
||||
SETMOUSECLICKLOCK = 0x101F,
|
||||
GETMOUSEVANISH = 0x1020,
|
||||
SETMOUSEVANISH = 0x1021,
|
||||
GETFLATMENU = 0x1022,
|
||||
SETFLATMENU = 0x1023,
|
||||
GETDROPSHADOW = 0x1024,
|
||||
SETDROPSHADOW = 0x1025,
|
||||
GETBLOCKSENDINPUTRESETS = 0x1026,
|
||||
SETBLOCKSENDINPUTRESETS = 0x1027,
|
||||
GETUIEFFECTS = 0x103E,
|
||||
SETUIEFFECTS = 0x103F,
|
||||
GETDISABLEOVERLAPPEDCONTENT = 0x1040,
|
||||
SETDISABLEOVERLAPPEDCONTENT = 0x1041,
|
||||
GETCLIENTAREAANIMATION = 0x1042,
|
||||
SETCLIENTAREAANIMATION = 0x1043,
|
||||
GETCLEARTYPE = 0x1048,
|
||||
SETCLEARTYPE = 0x1049,
|
||||
GETSPEECHRECOGNITION = 0x104A,
|
||||
SETSPEECHRECOGNITION = 0x104B,
|
||||
GETFOREGROUNDLOCKTIMEOUT = 0x2000,
|
||||
SETFOREGROUNDLOCKTIMEOUT = 0x2001,
|
||||
GETACTIVEWNDTRKTIMEOUT = 0x2002,
|
||||
SETACTIVEWNDTRKTIMEOUT = 0x2003,
|
||||
GETFOREGROUNDFLASHCOUNT = 0x2004,
|
||||
SETFOREGROUNDFLASHCOUNT = 0x2005,
|
||||
GETCARETWIDTH = 0x2006,
|
||||
SETCARETWIDTH = 0x2007,
|
||||
GETMOUSECLICKLOCKTIME = 0x2008,
|
||||
SETMOUSECLICKLOCKTIME = 0x2009,
|
||||
GETFONTSMOOTHINGTYPE = 0x200A,
|
||||
SETFONTSMOOTHINGTYPE = 0x200B,
|
||||
GETFONTSMOOTHINGCONTRAST = 0x200C,
|
||||
SETFONTSMOOTHINGCONTRAST = 0x200D,
|
||||
GETFOCUSBORDERWIDTH = 0x200E,
|
||||
SETFOCUSBORDERWIDTH = 0x200F,
|
||||
GETFOCUSBORDERHEIGHT = 0x2010,
|
||||
SETFOCUSBORDERHEIGHT = 0x2011,
|
||||
GETFONTSMOOTHINGORIENTATION = 0x2012,
|
||||
SETFONTSMOOTHINGORIENTATION = 0x2013,
|
||||
GETMINIMUMHITRADIUS = 0x2014,
|
||||
SETMINIMUMHITRADIUS = 0x2015,
|
||||
GETMESSAGEDURATION = 0x2016,
|
||||
SETMESSAGEDURATION = 0x2017,
|
||||
}
|
||||
|
||||
#region supporting structures
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct CWPSTRUCT
|
||||
{
|
||||
public IntPtr lparam;
|
||||
public IntPtr wparam;
|
||||
public WM message;
|
||||
public IntPtr hwnd;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct DEBUGHOOKINFO
|
||||
{
|
||||
public uint idThread;
|
||||
public uint idThreadInstaller;
|
||||
public IntPtr lParam;
|
||||
public IntPtr wParam;
|
||||
public int code;
|
||||
};
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct MSG
|
||||
{
|
||||
public IntPtr hwnd;
|
||||
public WM msg;
|
||||
public IntPtr wparam;
|
||||
public IntPtr lparam;
|
||||
public uint time;
|
||||
}
|
||||
|
||||
public enum HookType
|
||||
{
|
||||
WH_GETMESSAGE = 3,
|
||||
WH_CALLWNDPROC = 4,
|
||||
WH_CALLWNDPROCRET = 12,
|
||||
WH_DEBUG = 9,
|
||||
WH_MOUSE = 7,
|
||||
WH_SHELL = 10,
|
||||
}
|
||||
|
||||
public enum SysCommand
|
||||
{
|
||||
SC_CLOSE = 0xf060,
|
||||
SC_MINIMIZE = 0XF020,
|
||||
SC_MAXIMIZE = 0xF030,
|
||||
SC_RESTORE = 0xF120,
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Win32Point
|
||||
{
|
||||
public override string ToString() {
|
||||
return x + "," + y;
|
||||
}
|
||||
public Int32 x;
|
||||
public Int32 y;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Win32Rect
|
||||
{
|
||||
public int Left;
|
||||
public int Top;
|
||||
public int Right;
|
||||
public int Bottom;
|
||||
public Win32Rect(Rect r) {
|
||||
Left = (int)r.Left;
|
||||
Top = (int)r.Top;
|
||||
Right = ((int)(r.Left + r.Width));
|
||||
Bottom = ((int)(r.Top + r.Height));
|
||||
}
|
||||
public int Width {
|
||||
get { return Right - Left; }
|
||||
set { Right = Left + value; }
|
||||
}
|
||||
public int Height {
|
||||
get { return Bottom - Top; }
|
||||
set { Bottom = Top = value; }
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct WINDOWPLACEMENT
|
||||
{
|
||||
public int Length;
|
||||
public int Flags;
|
||||
public int showCmd;
|
||||
public Win32Point MinPosition;
|
||||
public Win32Point MaxPosition;
|
||||
public Win32Rect NormalPosition;
|
||||
public static WINDOWPLACEMENT Default {
|
||||
get {
|
||||
var result = new WINDOWPLACEMENT();
|
||||
result.Length = Marshal.SizeOf(result);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct MINMAXINFO
|
||||
{
|
||||
public Win32Point ptReserved;
|
||||
public Win32Point ptMaxSize;
|
||||
public Win32Point ptMaxPosition;
|
||||
public Win32Point ptMinTrackSize;
|
||||
public Win32Point ptMaxTrackSize;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct MONITORINFO
|
||||
{
|
||||
public int cbSize;
|
||||
public Win32Rect rcMonitor;
|
||||
public Win32Rect rcWork;
|
||||
public uint dwFlags;
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
namespace mbts.ui.native
|
||||
{
|
||||
public enum WM : uint
|
||||
{
|
||||
ACTIVATE = 0x0006,
|
||||
ACTIVATEAPP = 0x001C,
|
||||
AFXFIRST = 0x0360,
|
||||
AFXLAST = 0x037F,
|
||||
APP = 0x8000,
|
||||
ASKCBFORMATNAME = 0x030C,
|
||||
CANCELJOURNAL = 0x004B,
|
||||
CANCELMODE = 0x001F,
|
||||
CAPTURECHANGED = 0x0215,
|
||||
CHANGECBCHAIN = 0x030D,
|
||||
CHANGEUISTATE = 0x0127,
|
||||
CHAR = 0x0102,
|
||||
CHARTOITEM = 0x002F,
|
||||
CHILDACTIVATE = 0x0022,
|
||||
CLEAR = 0x0303,
|
||||
CLOSE = 0x0010,
|
||||
COMMAND = 0x0111,
|
||||
COMPACTING = 0x0041,
|
||||
COMPAREITEM = 0x0039,
|
||||
CONTEXTMENU = 0x007B,
|
||||
COPY = 0x0301,
|
||||
COPYDATA = 0x004A,
|
||||
CREATE = 0x0001,
|
||||
CTLCOLORBTN = 0x0135,
|
||||
CTLCOLORDLG = 0x0136,
|
||||
CTLCOLOREDIT = 0x0133,
|
||||
CTLCOLORLISTBOX = 0x0134,
|
||||
CTLCOLORMSGBOX = 0x0132,
|
||||
CTLCOLORSCROLLBAR = 0x0137,
|
||||
CTLCOLORSTATIC = 0x0138,
|
||||
CUT = 0x0300,
|
||||
DEADCHAR = 0x0103,
|
||||
DELETEITEM = 0x002D,
|
||||
DESTROY = 0x0002,
|
||||
DESTROYCLIPBOARD = 0x0307,
|
||||
DEVICECHANGE = 0x0219,
|
||||
DEVMODECHANGE = 0x001B,
|
||||
DISPLAYCHANGE = 0x007E,
|
||||
DRAWCLIPBOARD = 0x0308,
|
||||
DRAWITEM = 0x002B,
|
||||
DROPFILES = 0x0233,
|
||||
ENABLE = 0x000A,
|
||||
ENDSESSION = 0x0016,
|
||||
ENTERIDLE = 0x0121,
|
||||
ENTERMENULOOP = 0x0211,
|
||||
ENTERSIZEMOVE = 0x0231,
|
||||
ERASEBKGND = 0x0014,
|
||||
EXITMENULOOP = 0x0212,
|
||||
EXITSIZEMOVE = 0x0232,
|
||||
FONTCHANGE = 0x001D,
|
||||
GETDLGCODE = 0x0087,
|
||||
GETFONT = 0x0031,
|
||||
GETHOTKEY = 0x0033,
|
||||
GETICON = 0x007F,
|
||||
GETMINMAXINFO = 0x0024,
|
||||
GETOBJECT = 0x003D,
|
||||
GETTEXT = 0x000D,
|
||||
GETTEXTLENGTH = 0x000E,
|
||||
HANDHELDFIRST = 0x0358,
|
||||
HANDHELDLAST = 0x035F,
|
||||
HELP = 0x0053,
|
||||
HOTKEY = 0x0312,
|
||||
HSCROLL = 0x0114,
|
||||
HSCROLLCLIPBOARD = 0x030E,
|
||||
ICONERASEBKGND = 0x0027,
|
||||
IME_CHAR = 0x0286,
|
||||
IME_COMPOSITION = 0x010F,
|
||||
IME_COMPOSITIONFULL = 0x0284,
|
||||
IME_CONTROL = 0x0283,
|
||||
IME_ENDCOMPOSITION = 0x010E,
|
||||
IME_KEYDOWN = 0x0290,
|
||||
IME_KEYLAST = 0x010F,
|
||||
IME_KEYUP = 0x0291,
|
||||
IME_NOTIFY = 0x0282,
|
||||
IME_REQUEST = 0x0288,
|
||||
IME_SELECT = 0x0285,
|
||||
IME_SETCONTEXT = 0x0281,
|
||||
IME_STARTCOMPOSITION = 0x010D,
|
||||
INITDIALOG = 0x0110,
|
||||
INITMENU = 0x0116,
|
||||
INITMENUPOPUP = 0x0117,
|
||||
INPUTLANGCHANGE = 0x0051,
|
||||
INPUTLANGCHANGEREQUEST = 0x0050,
|
||||
KEYDOWN = 0x0100,
|
||||
KEYFIRST = 0x0100,
|
||||
KEYLAST = 0x0108,
|
||||
KEYUP = 0x0101,
|
||||
KILLFOCUS = 0x0008,
|
||||
LBUTTONDBLCLK = 0x0203,
|
||||
LBUTTONDOWN = 0x0201,
|
||||
LBUTTONUP = 0x0202,
|
||||
MBUTTONDBLCLK = 0x0209,
|
||||
MBUTTONDOWN = 0x0207,
|
||||
MBUTTONUP = 0x0208,
|
||||
MDIACTIVATE = 0x0222,
|
||||
MDICASCADE = 0x0227,
|
||||
MDICREATE = 0x0220,
|
||||
MDIDESTROY = 0x0221,
|
||||
MDIGETACTIVE = 0x0229,
|
||||
MDIICONARRANGE = 0x0228,
|
||||
MDIMAXIMIZE = 0x0225,
|
||||
MDINEXT = 0x0224,
|
||||
MDIREFRESHMENU = 0x0234,
|
||||
MDIRESTORE = 0x0223,
|
||||
MDISETMENU = 0x0230,
|
||||
MDITILE = 0x0226,
|
||||
MEASUREITEM = 0x002C,
|
||||
MENUCHAR = 0x0120,
|
||||
MENUCOMMAND = 0x0126,
|
||||
MENUDRAG = 0x0123,
|
||||
MENUGETOBJECT = 0x0124,
|
||||
MENURBUTTONUP = 0x0122,
|
||||
MENUSELECT = 0x011F,
|
||||
MOUSEACTIVATE = 0x0021,
|
||||
MOUSEFIRST = 0x0200,
|
||||
MOUSEHOVER = 0x02A1,
|
||||
MOUSELAST = 0x020D,
|
||||
MOUSELEAVE = 0x02A3,
|
||||
MOUSEMOVE = 0x0200,
|
||||
MOUSEWHEEL = 0x020A,
|
||||
MOUSEHWHEEL = 0x020E,
|
||||
MOVE = 0x0003,
|
||||
MOVING = 0x0216,
|
||||
NCACTIVATE = 0x0086,
|
||||
NCCALCSIZE = 0x0083,
|
||||
NCCREATE = 0x0081,
|
||||
NCDESTROY = 0x0082,
|
||||
NCHITTEST = 0x0084,
|
||||
NCLBUTTONDBLCLK = 0x00A3,
|
||||
NCLBUTTONDOWN = 0x00A1,
|
||||
NCLBUTTONUP = 0x00A2,
|
||||
NCMBUTTONDBLCLK = 0x00A9,
|
||||
NCMBUTTONDOWN = 0x00A7,
|
||||
NCMBUTTONUP = 0x00A8,
|
||||
NCMOUSEMOVE = 0x00A0,
|
||||
NCPAINT = 0x0085,
|
||||
NCRBUTTONDBLCLK = 0x00A6,
|
||||
NCRBUTTONDOWN = 0x00A4,
|
||||
NCRBUTTONUP = 0x00A5,
|
||||
NCUAHDRAWCAPTION = 0x00AE,
|
||||
NCUAHDRAWFRAME = 0x00AF,
|
||||
NEXTDLGCTL = 0x0028,
|
||||
NEXTMENU = 0x0213,
|
||||
NOTIFY = 0x004E,
|
||||
NOTIFYFORMAT = 0x0055,
|
||||
NULL = 0x0000,
|
||||
PAINT = 0x000F,
|
||||
PAINTCLIPBOARD = 0x0309,
|
||||
PAINTICON = 0x0026,
|
||||
PALETTECHANGED = 0x0311,
|
||||
PALETTEISCHANGING = 0x0310,
|
||||
PARENTNOTIFY = 0x0210,
|
||||
PASTE = 0x0302,
|
||||
PENWINFIRST = 0x0380,
|
||||
PENWINLAST = 0x038F,
|
||||
POWER = 0x0048,
|
||||
POWERBROADCAST = 0x0218,
|
||||
PRINT = 0x0317,
|
||||
PRINTCLIENT = 0x0318,
|
||||
QUERYDRAGICON = 0x0037,
|
||||
QUERYENDSESSION = 0x0011,
|
||||
QUERYNEWPALETTE = 0x030F,
|
||||
QUERYOPEN = 0x0013,
|
||||
QUEUESYNC = 0x0023,
|
||||
QUIT = 0x0012,
|
||||
RBUTTONDBLCLK = 0x0206,
|
||||
RBUTTONDOWN = 0x0204,
|
||||
RBUTTONUP = 0x0205,
|
||||
RENDERALLFORMATS = 0x0306,
|
||||
RENDERFORMAT = 0x0305,
|
||||
SETCURSOR = 0x0020,
|
||||
SETFOCUS = 0x0007,
|
||||
SETFONT = 0x0030,
|
||||
SETHOTKEY = 0x0032,
|
||||
SETICON = 0x0080,
|
||||
SETREDRAW = 0x000B,
|
||||
SETTEXT = 0x000C,
|
||||
SETTINGCHANGE = 0x001A,
|
||||
SHOWWINDOW = 0x0018,
|
||||
SIZE = 0x0005,
|
||||
SIZECLIPBOARD = 0x030B,
|
||||
SIZING = 0x0214,
|
||||
SPOOLERSTATUS = 0x002A,
|
||||
STYLECHANGED = 0x007D,
|
||||
STYLECHANGING = 0x007C,
|
||||
SYNCPAINT = 0x0088,
|
||||
SYSCHAR = 0x0106,
|
||||
SYSCOLORCHANGE = 0x0015,
|
||||
SYSCOMMAND = 0x0112,
|
||||
SYSDEADCHAR = 0x0107,
|
||||
SYSKEYDOWN = 0x0104,
|
||||
SYSKEYUP = 0x0105,
|
||||
TCARD = 0x0052,
|
||||
TIMECHANGE = 0x001E,
|
||||
TIMER = 0x0113,
|
||||
UNDO = 0x0304,
|
||||
UNINITMENUPOPUP = 0x0125,
|
||||
USER = 0x0400,
|
||||
USERCHANGED = 0x0054,
|
||||
VKEYTOITEM = 0x002E,
|
||||
VSCROLL = 0x0115,
|
||||
VSCROLLCLIPBOARD = 0x030A,
|
||||
WINDOWPOSCHANGED = 0x0047,
|
||||
WINDOWPOSCHANGING = 0x0046,
|
||||
WININICHANGE = 0x001A,
|
||||
XBUTTONDBLCLK = 0x020D,
|
||||
XBUTTONDOWN = 0x020B,
|
||||
XBUTTONUP = 0x020C,
|
||||
THEMECHANGED = 0x031A,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.ui.shell;
|
||||
|
||||
namespace mbts.ui.settings
|
||||
{
|
||||
public interface ISavedWindowFactory
|
||||
{
|
||||
Task<IShellWindow> restore(WindowState window);
|
||||
}
|
||||
|
||||
[Export(typeof(ISavedWindowFactory))]
|
||||
public class WindowFactory : ISavedWindowFactory
|
||||
{
|
||||
IEnumerable<IShellModule> _modules;
|
||||
IShellWindowMigrationRule[] _compat;
|
||||
|
||||
[ImportingConstructor]
|
||||
public WindowFactory(ObservableCollection<IShellModule> modules, [ImportMany]IShellWindowMigrationRule[] migration) {
|
||||
_modules = modules;
|
||||
_compat = migration;
|
||||
}
|
||||
|
||||
public Task<IShellWindow> restore(WindowState window) {
|
||||
bool changed;
|
||||
int count = 0;
|
||||
do {
|
||||
count++;
|
||||
changed = apply_compatability_migrations(ref window);
|
||||
} while (count < 100 && changed);
|
||||
|
||||
if (count == 100) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.Persist, "Error: Window state migration still changing after 100 iterations. Please check IShellWindowMigrationRule logic.");
|
||||
}
|
||||
|
||||
return restore(window.owner, window.app_data, window.position);
|
||||
}
|
||||
|
||||
/// When we apply the migration changes to a window we stop as soon as one "matches" and updates the state
|
||||
/// Since it's possible that we have multiple levels of migration we run this function until the data stops changing (or 100 iterations)
|
||||
/// ex: If change the data format twice from A to B to C then we would write 2 IShellWindowMigration instances.
|
||||
/// Starting in state A one of the _compat tests changes to state B. Now we need to re-run
|
||||
/// the migrations because state B will match a different rule and be converted to state C.
|
||||
private bool apply_compatability_migrations(ref WindowState window) {
|
||||
foreach (var test in _compat) {
|
||||
try {
|
||||
if (test.apply(ref window)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch(Exception e) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.Persist, "Exception running compat rule {0}.\n{1}".fmt(test.GetType().Name, e.ToString()));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private async Task<IShellWindow> restore(string owner_name, byte[] state, WindowPosition windowPosition) {
|
||||
IShellModule owner = _modules.SingleOrDefault(m => m.key() == owner_name);
|
||||
if (owner == null) {
|
||||
Logger.log(bts.log.Level.Warn, bts.log.Subsystem.ui, "Could not locate module '{0}'".fmt(owner_name));
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
Task<IShellWindow> task = owner.create(new MemoryStream(state));
|
||||
if (task != null) {
|
||||
IShellWindow window = await task;
|
||||
if (window != null) {
|
||||
window.set_start_position(windowPosition);
|
||||
Logger.log(bts.log.Level.Info, bts.log.Subsystem.ui, "Restoring window {0} - {1}".fmt(owner_name, window.Title));
|
||||
}
|
||||
return window;
|
||||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.ui,
|
||||
"Failure to re-create window for module {0}. Error: {1}".fmt(owner_name, e.Message));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//private static async Task<T> await_with_timeout<T>(Task<T> task) {
|
||||
// if (task.IsCompleted) {
|
||||
// return task.Result;
|
||||
// }
|
||||
// else {
|
||||
// if (await Task.WhenAny(task, Task.Delay(4096)) == task) {
|
||||
// return task.Result;
|
||||
// }
|
||||
// else {
|
||||
// Logger.log(bts.log.Level.Warn, bts.log.Subsystem.ui, "Timed out waiting to load saved window");
|
||||
// }
|
||||
// }
|
||||
// return default(T);
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using bts.log;
|
||||
using mbts.ui.shell;
|
||||
|
||||
namespace mbts.ui.settings
|
||||
{
|
||||
public interface ISettingsCollector
|
||||
{
|
||||
// Get the save state for every open window
|
||||
IEnumerable<WindowState> get_window_state();
|
||||
WindowState get_window_state(IShellWindow window);
|
||||
IEnumerable<ModuleState> get_module_state();
|
||||
WindowPosition get_launcher_state();
|
||||
}
|
||||
|
||||
[Export(typeof(ISettingsCollector))]
|
||||
class SettingsCollector : ISettingsCollector
|
||||
{
|
||||
IEnumerable<IShellModule> _modules;
|
||||
IWindowsInterop _interop;
|
||||
IWindowManager _wm;
|
||||
ILauncher _launcher;
|
||||
|
||||
[ImportingConstructor]
|
||||
public SettingsCollector(ObservableCollection<IShellModule> modules, IWindowManager wm, IWindowsInterop interop, ILauncher launcher) {
|
||||
_modules = modules;
|
||||
_wm = wm;
|
||||
_interop = interop;
|
||||
_launcher = launcher;
|
||||
}
|
||||
|
||||
public IEnumerable<WindowState> get_window_state() {
|
||||
foreach (var window in _wm.Windows.ToArray()) {
|
||||
// Check that the window is still open since we might be iterating asyncronously
|
||||
if (_wm.Windows.Contains(window)) {
|
||||
var state = get_window_state(window);
|
||||
if (state != null) {
|
||||
yield return state;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<ModuleState> get_module_state() {
|
||||
//Note: I'm assuming that the list of modules is stable and I don't have to protect against it changing here
|
||||
foreach (var module in _modules) {
|
||||
string name = module.key();
|
||||
MemoryStream out_stream = new MemoryStream();
|
||||
module.get_state(out_stream);
|
||||
yield return new ModuleState() {
|
||||
name = module.key(),
|
||||
app_data = out_stream.ToArray(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public WindowPosition get_launcher_state() {
|
||||
return _launcher.get_position();
|
||||
}
|
||||
|
||||
public WindowState get_window_state(IShellWindow window) {
|
||||
try {
|
||||
if (window == null || window.Owner == null) return null;
|
||||
MemoryStream out_stream = new MemoryStream();
|
||||
window.GetState(out_stream);
|
||||
var state = new WindowState() {
|
||||
owner = window.Owner.key(),
|
||||
app_data = out_stream.ToArray(),
|
||||
position = _interop.GetPosition(window),
|
||||
title = window.Title
|
||||
};
|
||||
return state;
|
||||
}
|
||||
catch (Exception e) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.ui, "Error saving window state for type {0}.\n {1}".fmt(window.GetType(), e.Message));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.ui.settings;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace mbts.ui.tests
|
||||
{
|
||||
[TestFixture]
|
||||
class SettingsTests
|
||||
{
|
||||
[Test]
|
||||
public void TestRestoreWindowFromSaved() {
|
||||
//ObservableCollection<IShellModule> modules = new ObservableCollection<IShellModule>();
|
||||
//modules.Add(new TestShellModule() {
|
||||
// create_method = stream => {
|
||||
// ShellSerializationHeader header = ProtoBuf.Serializer.DeserializeWithLengthPrefix<ShellSerializationHeader>(stream, ProtoBuf.PrefixStyle.Fixed32);
|
||||
// return null;
|
||||
// }
|
||||
//});
|
||||
//WindowFactory factory = new WindowFactory(modules, new IShellWindowMigrationRule[0]);
|
||||
//TestPersist tp = new TestPersist();
|
||||
|
||||
//Task test = Task.Run(() => {
|
||||
|
||||
|
||||
|
||||
//});
|
||||
//test.Wait();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestMigrationRulesMigrate() {
|
||||
// Test renaming an IShellModule - windows still re-created
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.persist;
|
||||
|
||||
namespace mbts.ui.tests
|
||||
{
|
||||
// Stub persistance store for shell unit tests
|
||||
public class TestPersist : IPersist, IUserPersist
|
||||
{
|
||||
public Dictionary<string, Dictionary<string, object>> Values = new Dictionary<string, Dictionary<string, object>>();
|
||||
|
||||
public Task set<T>(string ns, string key, T value) {
|
||||
TaskCompletionSource<object> source = new TaskCompletionSource<object>();
|
||||
try {
|
||||
Values[ns][key] = value;
|
||||
source.TrySetResult(null);
|
||||
}
|
||||
catch (Exception e) {
|
||||
source.TrySetException(e);
|
||||
}
|
||||
|
||||
return source.Task;
|
||||
}
|
||||
|
||||
public Task clear(string ns, string key) {
|
||||
TaskCompletionSource<object> source = new TaskCompletionSource<object>();
|
||||
try {
|
||||
Values[ns].Remove(key);
|
||||
source.TrySetResult(null);
|
||||
}
|
||||
catch (Exception e) {
|
||||
source.TrySetException(e);
|
||||
}
|
||||
return source.Task;
|
||||
}
|
||||
|
||||
public Task<T> get<T>(string ns, string key) {
|
||||
TaskCompletionSource<T> source = new TaskCompletionSource<T>();
|
||||
try {
|
||||
T result = (T)Values[ns][key];
|
||||
source.TrySetResult(result);
|
||||
}
|
||||
catch (Exception e) {
|
||||
source.TrySetException(e);
|
||||
}
|
||||
return source.Task;
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<Tuple<T, DateTime>>> get_history<T>(string ns, string key) {
|
||||
var res = await get<T>(ns, key);
|
||||
return new Tuple<T,DateTime>[] { Tuple.Create(res, DateTime.Today) };
|
||||
}
|
||||
|
||||
public Task<IEnumerable<PersistResult<T>>> query<T>(string ns, string pattern) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IDisposable subscribe<T>(string ns, string pattern, Action<IEnumerable<PersistResult<T>>> callback) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Dispose() { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui.tests
|
||||
{
|
||||
class TestShellModule : IShellModule
|
||||
{
|
||||
public System.Windows.Media.ImageSource icon {get { return Icons.ActiveWindow; } }
|
||||
public string name { get; set; }
|
||||
public int priority { get; set; }
|
||||
|
||||
public IShellWindow launch_ui { get { throw new NotImplementedException(); } }
|
||||
public void load_state(System.IO.Stream state = null) {}
|
||||
public void get_state(System.IO.Stream save_here) { throw new NotImplementedException(); }
|
||||
public void start() { }
|
||||
|
||||
public Func<Stream, IShellWindow> create_method { get; set; }
|
||||
public Task<IShellWindow> create(Stream load_stream) {
|
||||
TaskCompletionSource<IShellWindow> ts = new TaskCompletionSource<IShellWindow>();
|
||||
ts.SetResult(create_method(load_stream));
|
||||
return ts.Task;
|
||||
}
|
||||
public void Dispose() { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
syntax="proto3";
|
||||
package mbts.ui;
|
||||
option csharp_namespace="mbts.ui";
|
||||
//import "core/bts_sys/api/services/MarketDataService.proto";
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
|
||||
//
|
||||
// Custom Options
|
||||
//
|
||||
extend google.protobuf.MessageOptions {
|
||||
string header = 10000;
|
||||
}
|
||||
message Validation {
|
||||
string pattern = 1;
|
||||
uint32 max_length = 2;
|
||||
int64 min_value = 3;
|
||||
int64 max_value = 4;
|
||||
}
|
||||
extend google.protobuf.FieldOptions {
|
||||
string name = 20000;
|
||||
string comment = 20001;
|
||||
Validation validation = 30000;
|
||||
}
|
||||
|
||||
//
|
||||
// Special settings objects
|
||||
//
|
||||
message SettingsFont {
|
||||
string family = 1;
|
||||
float size = 2 [(validation).min_value = 4, (validation).max_value=20];
|
||||
bool bold = 3;
|
||||
bool italic = 4;
|
||||
bool oblique = 5;
|
||||
bool underline = 6;
|
||||
bool strikeout = 7;
|
||||
string script = 8;
|
||||
}
|
||||
|
||||
message SettingsColor {
|
||||
uint32 A = 1;
|
||||
uint32 R = 2;
|
||||
uint32 G = 3;
|
||||
uint32 B = 4;
|
||||
}
|
||||
|
||||
message CalculatorButtons {
|
||||
string buttons = 1 [(validation).pattern = "^([0-9]+[ ,;]*)*$"];
|
||||
}
|
||||
|
||||
//
|
||||
// Global settings container. Put your application settings in here for them to be visible in the UI
|
||||
//
|
||||
message ApplicationSettings {
|
||||
// oneof => radio button
|
||||
// color,font => custom control
|
||||
GeneralSettings general = 1;
|
||||
map<string, LadderSettings> ladder_settings = 2;
|
||||
}
|
||||
|
||||
//
|
||||
// General settings
|
||||
//
|
||||
|
||||
message GeneralSettings {
|
||||
double tab_width = 1;
|
||||
double tab_height = 2;
|
||||
}
|
||||
|
||||
//
|
||||
// Ladder settings
|
||||
//
|
||||
|
||||
message LadderSettings {
|
||||
option (header) = "Ladder Settings";
|
||||
double row_height = 1;
|
||||
SettingsColor grid_line_color = 2;
|
||||
CalculatorButtons calculator_buttons = 3;
|
||||
bool show_scroll_bar = 4;
|
||||
int32 ticks_until_recenter = 5 [(validation).min_value = 3, (validation).max_value=10];
|
||||
int32 seconds_until_recenter = 6 [(validation).min_value = 10, (validation).max_value=3600];
|
||||
string initial_algo = 7;
|
||||
string initial_time_in_force = 8;
|
||||
uint32 default_order_size = 9;
|
||||
bool animate_recenter = 10;
|
||||
|
||||
LadderColumnSettings orders_column = 50;
|
||||
LadderColumnSettings bid_column = 51;
|
||||
LadderColumnSettings ask_column = 52;
|
||||
LadderColumnSettings price_column = 53;
|
||||
LadderColumnSettings last_column = 54;
|
||||
|
||||
}
|
||||
message LadderColumnSettings {
|
||||
bool show = 1;
|
||||
uint32 width = 2;
|
||||
SettingsColor background = 3;
|
||||
SettingsColor foreground = 4;
|
||||
SettingsFont font = 5;
|
||||
}
|
||||
|
||||
//
|
||||
// OrderBook settings
|
||||
//
|
||||
message OrderBookSettings {
|
||||
CalculatorButtons calculator_buttons = 1;
|
||||
ColumnOrder column_visibility = 100;
|
||||
}
|
||||
message ColumnOrder {
|
||||
bool security = 100;
|
||||
bool time = 101;
|
||||
bool user = 102;
|
||||
bool account = 103;
|
||||
bool exchange = 104;
|
||||
bool orders = 105;
|
||||
bool side = 106;
|
||||
bool status = 107;
|
||||
bool price = 108;
|
||||
bool quantity = 109;
|
||||
bool filled= 110;
|
||||
bool average_price = 111;
|
||||
bool flat_order_params = 112 [(name)="Misc"];
|
||||
bool bts_order = 113 [(name)="BTS Order"];
|
||||
bool exchange_order = 114;
|
||||
bool details = 115;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui {
|
||||
|
||||
partial class SettingsFont {
|
||||
partial void OnConstruction() {
|
||||
Family = "Segoe UI";
|
||||
Size = 10;
|
||||
Script = "Western";
|
||||
}
|
||||
}
|
||||
|
||||
partial class LadderColumnSettings {
|
||||
partial void OnConstruction() {
|
||||
// put default values here
|
||||
Show = true;
|
||||
Width = 50;
|
||||
}
|
||||
}
|
||||
|
||||
partial class LadderSettings {
|
||||
partial void OnConstruction() {
|
||||
var white = BTSCoreColors.white;
|
||||
var black = BTSCoreColors.black;
|
||||
var grayish = BTSCoreColors.gray_lighter;
|
||||
|
||||
OrdersColumn.Background = grayish;
|
||||
|
||||
BidColumn.Foreground = white;
|
||||
BidColumn.Background = BTSColors.MarketData.bid;
|
||||
|
||||
AskColumn.Foreground = white;
|
||||
AskColumn.Background = BTSColors.MarketData.ask;
|
||||
|
||||
PriceColumn.Foreground = black;
|
||||
PriceColumn.Background = grayish;
|
||||
|
||||
LastColumn.Foreground = black;
|
||||
LastColumn.Background = grayish;
|
||||
|
||||
InitialAlgo = "LimitOrder";
|
||||
}
|
||||
}
|
||||
|
||||
partial class CalculatorButtons {
|
||||
static char[] splitter = new[] { ' ', ';', ',' };
|
||||
partial void OnConstruction() {
|
||||
Buttons = "";
|
||||
}
|
||||
public int[] Tokens => Buttons.Split(splitter).Select(Int32.Parse).ToArray();
|
||||
}
|
||||
|
||||
partial class OrderBookSettings {
|
||||
partial void OnConstruction() {
|
||||
CalculatorButtons = new CalculatorButtons() { Buttons = "1 1 2 3 5 9" };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.config;
|
||||
using mbts.pubsub;
|
||||
using mbts.persist;
|
||||
|
||||
namespace mbts.ui.settings
|
||||
{
|
||||
[Export(typeof(IUserPersistFactory))]
|
||||
class UISettingsFactory : IUserPersistFactory
|
||||
{
|
||||
private string[] _users;
|
||||
private PubsubHub _hub;
|
||||
|
||||
[ImportingConstructor]
|
||||
public UISettingsFactory([Import("username")] string current_user, PubsubHub hub) {
|
||||
// Get the list of all UI visible users
|
||||
_hub = hub;
|
||||
_users = Configuration.get<bts.user.UserConfiguration>().users
|
||||
.Where(u => u.ui_visible && u.login.login_name != current_user)
|
||||
.Select(u => u.login.login_name)
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
public IEnumerable<string> users() { return _users; }
|
||||
|
||||
public IUserPersist get_persist_for(string user) {
|
||||
return new UserUISettings(user, _hub);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
public class ErrorShellWindow : IShellWindow
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
public event Action TitleChanged = () => { };
|
||||
|
||||
public System.Windows.Media.ImageSource Icon { get; set; }
|
||||
|
||||
public event Action IconChanged = () => { };
|
||||
|
||||
public IShellModule Owner {
|
||||
get { return null; }
|
||||
set { }
|
||||
}
|
||||
|
||||
public ShellWindowUI Content { get; set; }
|
||||
|
||||
public ShellWindowUI GetContent() {
|
||||
return Content;
|
||||
}
|
||||
|
||||
public void GetState(System.IO.Stream save_here) {
|
||||
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
public interface IFavorites
|
||||
{
|
||||
void add_favorite(IShellWindow window);
|
||||
void remove_favorite(IShellWindow window);
|
||||
bool is_favorite(IShellWindow window);
|
||||
}
|
||||
|
||||
[Export(typeof(IFavorites))]
|
||||
public class FavoritesModel : IFavorites
|
||||
{
|
||||
private const string WORKSPACE_NAMESPACE = "shell_saved_windows";
|
||||
[ImportingConstructor]
|
||||
public FavoritesModel() {
|
||||
FavoriteWindows = new ObservableCollection<string>();
|
||||
}
|
||||
|
||||
public ObservableCollection<string> FavoriteWindows { get; set; }
|
||||
|
||||
public void add_favorite(IShellWindow window) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void remove_favorite(IShellWindow window) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool is_favorite(IShellWindow window) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ICommand restore_favorite {
|
||||
get {
|
||||
return new DelegateCommand(name => {
|
||||
throw new NotImplementedException();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Threading;
|
||||
using mbts.config;
|
||||
using mbts.logon;
|
||||
using mbts.pubsub;
|
||||
using mbts.ui.native;
|
||||
using mbts.utils;
|
||||
using bts.co2;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
// The LoginContainer participates in the startup Import/Export dependency system
|
||||
// Since the login form should not depend on *anything* it will be shown before this is created
|
||||
// Once this is created it access the global LoginModel and retrieves the username
|
||||
internal class LoginContainer
|
||||
{
|
||||
[ImportingConstructor]
|
||||
public LoginContainer(PubsubHub hub, [Import("autologin", AllowDefault=true)]string auto_login) {
|
||||
if (string.IsNullOrEmpty(auto_login)) {
|
||||
var model = LoginModel.instance;
|
||||
model.provide_hub(hub);
|
||||
// await_login pumps the dispatcher but doesn't allow control to return to MEF until the username and workspace are available
|
||||
model.await_login();
|
||||
UserName = model.get_username();
|
||||
Workspace = model.get_workspace();
|
||||
model.Dispose();
|
||||
}
|
||||
else {
|
||||
UserName = auto_login;
|
||||
Environment.SetEnvironmentVariable("BTS_USER", UserName);
|
||||
Workspace = string.Empty;
|
||||
LoginModel.instance.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
[Export("username")]
|
||||
public string UserName { get; private set; }
|
||||
|
||||
[Export("workspace")]
|
||||
public string Workspace { get; private set; }
|
||||
}
|
||||
|
||||
public class LoginModel : IDisposable
|
||||
{
|
||||
// Singleton to help bootstrap the system
|
||||
private static LoginModel _instance = new LoginModel();
|
||||
public static LoginModel instance { get { return _instance; } }
|
||||
private string _username;
|
||||
private string _workspace;
|
||||
private PreloginWorkspaceEnumerator _enum_workspace;
|
||||
|
||||
Logon _logon;
|
||||
DispatcherFrame _frame = new DispatcherFrame();
|
||||
|
||||
private LoginModel() {
|
||||
init();
|
||||
}
|
||||
|
||||
// Properties used in binding to the UI
|
||||
public event Action Ready;
|
||||
public string ErrorMessage { get; private set; }
|
||||
public bool HasFatalError { get; set; }
|
||||
public string[] UserNames { get; private set; }
|
||||
|
||||
|
||||
// The final username
|
||||
public string get_username() {
|
||||
Logger.assert_d(!string.IsNullOrEmpty(_username));
|
||||
return _username;
|
||||
}
|
||||
public string get_workspace() {
|
||||
return _workspace;
|
||||
}
|
||||
public Task<IEnumerable<string>> workspaces_for(string user) {
|
||||
return _enum_workspace.get_workspaces(user);
|
||||
}
|
||||
|
||||
#region Init
|
||||
// Check that the logon dependencies are valid.
|
||||
// Initialization is complete when UserNames is populated
|
||||
private async void init() {
|
||||
// Make sure config is initialized and working
|
||||
try {
|
||||
Configuration.initialize();
|
||||
}
|
||||
catch (ApplicationException e) {
|
||||
ErrorMessage = e.Message;
|
||||
HasFatalError = true;
|
||||
return;
|
||||
}
|
||||
|
||||
// Wait for the hub to create the login doodad
|
||||
var hub = await _hub_src.Task;
|
||||
_enum_workspace = new PreloginWorkspaceEnumerator(hub);
|
||||
_logon = new Logon(hub);
|
||||
// Populate the UI
|
||||
UserNames = _logon.get_all_logins();
|
||||
Array.Sort(UserNames);
|
||||
if (Ready != null) {
|
||||
Ready();
|
||||
}
|
||||
}
|
||||
|
||||
public Task preload_securities() {
|
||||
return mbts.co2.Co2RelayControl.instance.preload_securities((MDRequest.Flags)0xFF);
|
||||
}
|
||||
#endregion
|
||||
|
||||
public bool do_login(string username, string workspace, string password, out string info) {
|
||||
if (UserNames.Contains(username)) {
|
||||
if (_logon.logon(username, password ?? string.Empty, out info)) {
|
||||
_workspace = workspace;
|
||||
set_authenticated_user(username);
|
||||
return true;
|
||||
}
|
||||
//#if DEBUG
|
||||
// set_authenticated_user(username);
|
||||
// return true;
|
||||
//#else
|
||||
return false;
|
||||
//#endif
|
||||
}
|
||||
info = "Invalid username";
|
||||
return false;
|
||||
}
|
||||
|
||||
private void set_authenticated_user(string name) {
|
||||
Logger.assert(!string.IsNullOrEmpty(name));
|
||||
Logger.assert(UserNames.Contains(name));
|
||||
_username = name;
|
||||
Environment.SetEnvironmentVariable("BTS_USER", name);
|
||||
_frame.Continue = false;
|
||||
}
|
||||
|
||||
public void await_login() {
|
||||
if (string.IsNullOrEmpty(_username)) {
|
||||
Dispatcher.PushFrame(_frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#region provide hub
|
||||
public void provide_hub(PubsubHub hub) {
|
||||
_hub_src.TrySetResult(hub);
|
||||
}
|
||||
private TaskCompletionSource<PubsubHub> _hub_src = new TaskCompletionSource<PubsubHub>();
|
||||
#endregion
|
||||
|
||||
#region Dispose
|
||||
public void Dispose() {
|
||||
_frame.Continue = false;
|
||||
UserNames = null;
|
||||
_instance = null;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.pubsub;
|
||||
using mbts.ui.settings;
|
||||
using mbts.persist;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
class PreloginWorkspaceEnumerator
|
||||
{
|
||||
private Dictionary<string, string[]> _cache = new Dictionary<string, string[]>();
|
||||
private IPersist _persist;
|
||||
|
||||
public PreloginWorkspaceEnumerator(PubsubHub hub) {
|
||||
_persist = new UserUISettings(".*", hub);
|
||||
}
|
||||
|
||||
private string sort_key(string name) {
|
||||
if (name.StartsWith(WorkspacesModel.ACTIVE_WORKSPACE_PREFIX)) {
|
||||
// Move active workspaces to the end to the end of the list
|
||||
return (char)0xff + name;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<string>> get_workspaces(string username) {
|
||||
if (_persist != null) {
|
||||
var query_result = await _persist.query<WorkspaceDefinition>(WorkspacesModel.WORKSPACE_NAMESPACE, ".*");
|
||||
foreach (var set in query_result.GroupBy(t => t.user)) {
|
||||
_cache[set.Key] = set.Select(x => x.key).OrderBy(sort_key).ToArray();
|
||||
}
|
||||
_persist = null;
|
||||
}
|
||||
|
||||
string[] result;
|
||||
if (_cache.TryGetValue(username, out result)) {
|
||||
return result;
|
||||
}
|
||||
return new string[]{};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
public interface ISettingsLauncher
|
||||
{
|
||||
void launch_settings_editor();
|
||||
void launch_tick_settings_editor();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using mbts.ui.settings;
|
||||
using BCG;
|
||||
using System.Reflection;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
//
|
||||
// This shell module is responsible for helping the user manage other aspects of the shell
|
||||
//
|
||||
// 1. Keeps a list of saved workspaces
|
||||
// 2. Keeps a list of saved windows
|
||||
// 3. Keeps a list of recently closed windows
|
||||
// 4. Owns web browser IShellWindows
|
||||
//
|
||||
[Export(typeof(IShellModule))]
|
||||
public class MetaShellMenuModule : IShellModule
|
||||
{
|
||||
MetaShellMenuViewModel _viewmodel;
|
||||
IViewLocator _viewfinder;
|
||||
IBrowserWindowManager _bwm;
|
||||
|
||||
[ImportingConstructor]
|
||||
public MetaShellMenuModule(IViewLocator view, WorkspacesModel model, [Import("workspace")]string initial_workspace, IUndoActions undo, IBrowserWindowManager ibwm)
|
||||
{
|
||||
_viewfinder = view;
|
||||
_viewmodel = new MetaShellMenuViewModel(model, null, undo as UndoModel, ibwm);
|
||||
var unused = model.init(initial_workspace);
|
||||
_bwm = ibwm;
|
||||
}
|
||||
|
||||
#region IShellModule members
|
||||
public System.Windows.Media.ImageSource icon { get { return Icons.FavoriteWindow; } }
|
||||
public string name {get { return "Windows"; } }
|
||||
public int priority { get { return -1024; } }
|
||||
public void start() { }
|
||||
public void load_state(System.IO.Stream state = null) { }
|
||||
public void get_state(System.IO.Stream save_here) { }
|
||||
public Task<IShellWindow> create(System.IO.Stream load_stream) {
|
||||
var header = ProtoBuf.Serializer.DeserializeWithLengthPrefix<ShellSerializationHeader>(load_stream, PrefixStyle.Fixed32);
|
||||
if (header != null && header.name == "Browser") {
|
||||
var state = ProtoBuf.Serializer.DeserializeWithLengthPrefix<BrowserWindowState>(load_stream, PrefixStyle.Fixed32);
|
||||
var window = _bwm.create_hidden(new Uri(state.uri, UriKind.RelativeOrAbsolute));
|
||||
return Task.FromResult(window);
|
||||
}
|
||||
throw new ArgumentException("load_stream");
|
||||
}
|
||||
public IShellWindow launch_ui {
|
||||
get { return _viewfinder.window_for(_viewmodel); }
|
||||
}
|
||||
#endregion
|
||||
|
||||
public void Dispose() { }
|
||||
}
|
||||
|
||||
#region Browser window SaveState
|
||||
[ProtoContract]
|
||||
public class BrowserWindowState
|
||||
{
|
||||
[ProtoMember(10)]
|
||||
public string uri;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
public class MetaShellMenuViewModel : ViewModelBaseWithValidation
|
||||
{
|
||||
private WorkspacesModel _work_model;
|
||||
private FavoritesModel _fav_model;
|
||||
private UndoModel _undo_model;
|
||||
|
||||
public MetaShellMenuViewModel(WorkspacesModel wmodel, FavoritesModel fmodel, UndoModel umodel, IBrowserWindowManager browser) {
|
||||
_work_model = wmodel;
|
||||
_fav_model = fmodel;
|
||||
_undo_model = umodel;
|
||||
ShowWorkspaces = true;
|
||||
ShowUndo = true;
|
||||
manual_command = new DelegateCommand(_ => browser.Pages.Add(new Uri("bts://m/")));
|
||||
}
|
||||
|
||||
#region Workspaces
|
||||
public ObservableCollection<WorkspaceViewModel> Workspaces { get { return _work_model.Workspaces; } }
|
||||
public string SaveName { get; set; }
|
||||
public bool IsPublicWorkspace { get; set; }
|
||||
public bool ShowWorkspaces { get; set; }
|
||||
|
||||
public ICommand SaveWorkspace {
|
||||
get {
|
||||
return new DelegateCommand(arg => {
|
||||
// Check for errors in the input
|
||||
if (string.IsNullOrEmpty(SaveName)) {
|
||||
set_error("SaveName", "Workspace must be named");
|
||||
return;
|
||||
}
|
||||
if (SaveName.Contains(WorkspacesModel.ACTIVE_WORKSPACE_PREFIX)) {
|
||||
set_error("SaveName", "Workspace name cannot contains '{0}'".fmt(WorkspacesModel.ACTIVE_WORKSPACE_PREFIX));
|
||||
return;
|
||||
}
|
||||
else {
|
||||
clear_error("SaveName");
|
||||
}
|
||||
// Save
|
||||
_work_model.save_workspace(SaveName, ispublic: IsPublicWorkspace);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
public ICommand launch_settings_editor { get; private set; }
|
||||
|
||||
public ICommand launch_tick_settings_editor { get; private set; }
|
||||
|
||||
public ICommand manual_command { get; private set; }
|
||||
|
||||
|
||||
public FavoritesModel Favorites { get; private set; }
|
||||
#region Favorites
|
||||
#endregion
|
||||
|
||||
|
||||
public ObservableCollection<UndoModel.UndoItem> UndoItems { get { return _undo_model == null ? null : _undo_model.Items; } }
|
||||
public bool ShowUndo { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.ComponentModel.Composition.Hosting;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using mbts.config;
|
||||
using bts.config;
|
||||
using bts.log;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
// Models a generic multi-window host
|
||||
public class ShellModel : IDisposable
|
||||
{
|
||||
[ImportMany(typeof(IInitializable))]
|
||||
List<IInitializable> _initializers = new List<IInitializable>();
|
||||
[ImportMany(typeof(IShellModule))]
|
||||
IShellModule[] _rawmodules = null;
|
||||
ObservableCollection<IShellModule> _modules = new ObservableCollection<IShellModule>();
|
||||
|
||||
[Export]
|
||||
public ObservableCollection<IShellModule> Modules => _modules;
|
||||
[Export]
|
||||
public ObservableCollection<IShellWindow> Windows { get; private set; }
|
||||
|
||||
public ShellModel() {
|
||||
Windows = new ObservableCollection<IShellWindow>();
|
||||
}
|
||||
|
||||
public void Initialize() {
|
||||
PerformMEFComposition();
|
||||
TidyModuleList();
|
||||
InitInitializers();
|
||||
}
|
||||
|
||||
private Lazy<CompositionContainer> _container = new Lazy<CompositionContainer>(create_container);
|
||||
[Export]
|
||||
private CompositionContainer Container => _container.Value;
|
||||
|
||||
private static CompositionContainer create_container() {
|
||||
var component_catalog = new AggregateCatalog();
|
||||
component_catalog.Catalogs.Add(new AssemblyCatalog(typeof(ShellModel).Assembly));
|
||||
component_catalog.Catalogs.Add(new AssemblyCatalog(Assembly.GetEntryAssembly()));
|
||||
component_catalog.Catalogs.Add(new AssemblyCatalog(Assembly.Load("bts_view")));
|
||||
component_catalog.Catalogs.Add(new AssemblyCatalog(Assembly.Load("TickConversion")));
|
||||
|
||||
// Add plugin path
|
||||
string plugin_path = Configuration.get<bts.config.System>().installation_specific_data_path + "/plugins/";
|
||||
if (Directory.Exists(plugin_path)) {
|
||||
component_catalog.Catalogs.Add(new DirectoryCatalog(plugin_path));
|
||||
}
|
||||
|
||||
// Add configures modules
|
||||
foreach (string module_name in Configuration.get<Shell>().modules) {
|
||||
try {
|
||||
if (module_name.ToLower() == "bts_shell") continue; // save us from a really irritating error message
|
||||
Assembly assembly = Assembly.Load(module_name);
|
||||
component_catalog.Catalogs.Add(new AssemblyCatalog(assembly));
|
||||
}
|
||||
catch (FileNotFoundException) {
|
||||
Logger.log(bts.log.Level.Warn, bts.log.Subsystem.ui, "Failed to load shell plugin '" + module_name + "'. Not found.");
|
||||
}
|
||||
}
|
||||
|
||||
return new CompositionContainer(component_catalog);
|
||||
}
|
||||
|
||||
public T create<T>() where T : class {
|
||||
T value = Container.GetExportedValue<T>();
|
||||
return value;
|
||||
}
|
||||
|
||||
private void PerformMEFComposition() {
|
||||
// Initialize MEF to populate Modules and windows
|
||||
Logger.log(Level.Info, Subsystem.ui, "Beginning bts_shell module composition.");
|
||||
|
||||
// Add specific instances
|
||||
Container.ComposeExportedValue<ShellModel>(this);
|
||||
try {
|
||||
Container.ComposeParts(this);
|
||||
}
|
||||
catch (ReflectionTypeLoadException rtlex) {
|
||||
System.Text.StringBuilder message = new System.Text.StringBuilder(rtlex.ToString());
|
||||
foreach (var e in rtlex.LoaderExceptions) {
|
||||
message.AppendLine("============================");
|
||||
message.AppendLine(e.ToString());
|
||||
}
|
||||
Logger.assert(false, message.ToString());
|
||||
}
|
||||
catch (CompositionException cex) {
|
||||
Logger.assert(false, cex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void TidyModuleList() {
|
||||
// Sort the modules and remove any hidden ones
|
||||
var lookup = _rawmodules.ToLookup(m => IsHidden(m));
|
||||
_rawmodules = null;
|
||||
foreach (var m in lookup[true]) {
|
||||
m.Dispose();
|
||||
}
|
||||
_modules.AddRange(lookup[false].OrderBy(m => m.priority));
|
||||
}
|
||||
|
||||
private void InitInitializers() {
|
||||
foreach (IInitializable i in _initializers.OrderBy(i => i.priority)) {
|
||||
Logger.log(Level.Info, Subsystem.ui, "Initializing {0} prority {1}".fmt(i.GetType().ToString(), i.priority));
|
||||
i.initialize();
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsHidden(IShellModule module) {
|
||||
var props = Configuration.get<IShellModuleProps>();
|
||||
string name = module.GetType().Name;
|
||||
foreach (var p in props.module) {
|
||||
if (p.name.ToLower() == name.ToLower()) {
|
||||
return !p.visible;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
foreach (IShellModule module in _modules.OrderBy(m => m.priority).Reverse()) {
|
||||
module.Dispose();
|
||||
}
|
||||
_modules.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using mbts.ui.shell;
|
||||
|
||||
namespace mbts.ui
|
||||
{
|
||||
[Export(typeof(IUndoActions))]
|
||||
public class UndoModel : IUndoActions
|
||||
{
|
||||
ObservableCollection<UndoItem> _undo = new ObservableCollection<UndoItem>();
|
||||
public ObservableCollection<UndoItem> Items { get { return _undo; } }
|
||||
|
||||
public IDisposable push(string title, Action undo) {
|
||||
if (undo == null) return Disposable.Create(() => { });
|
||||
var item = new UndoItem(this, title, undo);
|
||||
_undo.Insert(0, item);
|
||||
if (_undo.Count > 10) {
|
||||
_undo.Remove(_undo.Last());
|
||||
}
|
||||
return item;
|
||||
}
|
||||
|
||||
public class UndoItem : IDisposable
|
||||
{
|
||||
private UndoModel _owner;
|
||||
private Action _undo;
|
||||
internal UndoItem(UndoModel owner, string name, Action undo) {
|
||||
_owner = owner;
|
||||
_undo = undo;
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public string Name { get; private set; }
|
||||
public ICommand Execute {
|
||||
get {
|
||||
return new DelegateCommand((arg) => {
|
||||
try {
|
||||
_undo();
|
||||
}
|
||||
catch (Exception e) {
|
||||
Logger.log(bts.log.Level.Error, bts.log.Subsystem.ui, "Failed to undo : {0} - {1}".fmt(Name, e.ToString()));
|
||||
throw;
|
||||
}
|
||||
finally {
|
||||
this.Dispose();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
if (_owner._undo.Contains(this)) {
|
||||
_owner._undo.Remove(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Composition;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// All Views reachable through the IViewLocator must
|
||||
// - implement IView
|
||||
// - tagged with the ViewAttribute specifying the type they want to visualize
|
||||
|
||||
namespace mbts.ui.shell
|
||||
{
|
||||
public interface IView { object DataContext { get; set; } }
|
||||
|
||||
[MetadataAttribute]
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple=true)]
|
||||
public class ViewAttribute : ExportAttribute
|
||||
{
|
||||
public ViewAttribute() : base(typeof(IView)) {}
|
||||
public Type Model { get; set; }
|
||||
}
|
||||
|
||||
public interface IViewProps
|
||||
{
|
||||
Type[] Model { get; }
|
||||
}
|
||||
|
||||
[Export(typeof(IViewLocator))]
|
||||
class ViewLocator : IViewLocator
|
||||
{
|
||||
Dictionary<Type, Func<object>> _overrides = new Dictionary<Type, Func<object>>();
|
||||
|
||||
[ImportMany]
|
||||
ExportFactory<IView, IViewProps>[] Views { get; set; }
|
||||
|
||||
private object create_view<T>(T viewmodel) {
|
||||
string type_name = typeof(T).Name;
|
||||
Logger.log(bts.log.Level.Info, bts.log.Subsystem.ui, "Creating view for {0}".fmt(type_name));
|
||||
|
||||
// Check for an override
|
||||
Func<object> factory;
|
||||
if (_overrides.TryGetValue(typeof(T), out factory)) {
|
||||
Logger.log(bts.log.Level.Info, bts.log.Subsystem.ui, "Found OVERRIDE view for {0}".fmt(type_name));
|
||||
var result = factory();
|
||||
set_datacontext(viewmodel, result);
|
||||
return result;
|
||||
}
|
||||
|
||||
foreach (var view in Views) {
|
||||
if (view.Metadata.Model.Contains(typeof(T))) {
|
||||
var result = view.CreateExport().Value;
|
||||
Logger.log(bts.log.Level.Info, bts.log.Subsystem.ui, "Found {0} to view {1}".fmt(result.GetType(), type_name));
|
||||
result.DataContext = viewmodel;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Logger.log(bts.log.Level.Warn, bts.log.Subsystem.ui, "Failed to find view for {0}".fmt(type_name));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static void set_datacontext<T>(T viewmodel, object result) {
|
||||
// Use Duck typing to set the DataContext so Views don't have to be UIElement
|
||||
if (result != null) {
|
||||
var property = result.GetType().GetProperty("DataContext");
|
||||
if (property != null) {
|
||||
property.SetValue(result, viewmodel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public IShellWindow window_for<T>(T viewmodel) {
|
||||
return create_view(viewmodel) as IShellWindow;
|
||||
}
|
||||
|
||||
public object view_for<T>(T viewmodel) {
|
||||
return create_view(viewmodel);
|
||||
}
|
||||
|
||||
public void set_override<T>(Func<object> factory) {
|
||||
_overrides.Add(typeof(T), factory);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace mbts.ui.shell.tests
|
||||
{
|
||||
[TestFixture]
|
||||
class WorkspaceTests
|
||||
{
|
||||
[Test]
|
||||
public void test_favorites() {
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void test_workspaces() {
|
||||
}
|
||||
}
|
||||
}
|
||||