-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnftitem.cs
36 lines (32 loc) · 1.11 KB
/
nftitem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlockClocksWindows
{
[System.Configuration.SettingsSerializeAsAttribute(System.Configuration.SettingsSerializeAs.String)]
public class NFTItem
{
public string Asset { get; set; }
public string NFT { get; set; }
public int Opacity { get; set; }
public bool BackgroundStyle { get; set; }
public bool ShowUTC { get; set; }
public double Left { get; set; }
public double Top { get; set; }
public double Width { get; set; }
public double Height { get; set; }
public NFTItem()
{
Left = System.Windows.SystemParameters.PrimaryScreenHeight / 4;
Top = System.Windows.SystemParameters.PrimaryScreenHeight / 4;
Height = System.Windows.SystemParameters.PrimaryScreenHeight / 2;
Width = System.Windows.SystemParameters.PrimaryScreenHeight / 2;
}
public override string ToString()
{
return NFT??"Unassigned";
}
}
}