using Avalonia.Controls;
using LibationFileManager;
using LibationUiBase.Forms;

namespace LibationAvalonia.Dialogs
{
	public partial class SetupDialog : Window
	{
		public bool IsNewUser { get; private set; }
		public bool IsReturningUser { get; private set; }
		public ComboBoxItem SelectedTheme { get; set; }
		public Configuration Config { get; init; }
		public SetupDialog()
		{
			InitializeComponent();
			DataContext = this;
		}

		public void NewUser_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e)
		{
			IsNewUser = true;
			Close(DialogResult.OK);
		}

		public void ReturningUser_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e)
		{
			IsReturningUser = true;
			Close(DialogResult.OK);
		}
	}
}
