﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace DesktopWidgets.WidgetBase.Settings
{
    public class WidgetClockSettingsBase : WidgetSettingsBase
    {
        protected WidgetClockSettingsBase()
        {
            Style.FontSettings.FontSize = 24;
        }

        [Category("General")]
        [DisplayName("Refresh Interval")]
        public int UpdateInterval { get; set; } = -1;

        [Category("Style")]
        [DisplayName("Time Format")]
        public List<string> DateTimeFormat { get; set; } = new List<string> {"{hh}:{mm} {tt}"};

        [Category("General")]
        [DisplayName("Time Offset")]
        public TimeSpan TimeOffset { get; set; }

        [Category("Behavior")]
        [DisplayName("Copy Time On Double Click")]
        public bool CopyTextOnDoubleClick { get; set; } = true;
    }
}
﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace DesktopWidgets.WidgetBase.Settings
{
    public class WidgetClockSettingsBase : WidgetSettingsBase
    {
        protected WidgetClockSettingsBase()
        {
            Style.FontSettings.FontSize = 24;
        }

        [Category("General")]
        [DisplayName("Update Interval")]
        public int UpdateInterval { get; set; } = -1;

        [Category("Style")]
        [DisplayName("Date/Time Format")]
        public List<string> DateTimeFormat { get; set; } = new List<string> {"{hh}:{mm} {tt}"};

        [Category("General")]
        [DisplayName("Date/Time Offset")]
        public TimeSpan TimeOffset { get; set; }

        [Category("Behavior")]
        [DisplayName("Copy Text On Double Click")]
        public bool CopyTextOnDoubleClick { get; set; } = true;
    }
}
Change some clock widget settings names
Change some clock widget settings names
