mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 06:36:31 +00:00
20 lines
664 B
C#
20 lines
664 B
C#
using System.Collections.ObjectModel;
|
|
using System.Windows;
|
|
using Azaion.Common.Database;
|
|
|
|
namespace Azaion.Common.DTO;
|
|
|
|
public class FormState
|
|
{
|
|
public MediaFile? CurrentMedia { get; set; }
|
|
public string CurrentMediaHash => CurrentMedia?.Hash ?? "";
|
|
public string CurrentMediaName => CurrentMedia?.Name ?? "";
|
|
|
|
public Size CurrentMediaSize { get; set; }
|
|
public TimeSpan CurrentVideoLength { get; set; }
|
|
|
|
public TimeSpan? BackgroundTime { get; set; }
|
|
public int CurrentVolume { get; set; } = 100;
|
|
public ObservableCollection<Annotation> AnnotationResults { get; set; } = [];
|
|
public WindowEnum ActiveWindow { get; set; }
|
|
} |