2021-10-15 04:20:27 +00:00
|
|
|
using Avalonia.Controls.Mixins;
|
|
|
|
using ReactiveUI;
|
2021-10-12 03:49:01 +00:00
|
|
|
using Wabbajack.App.Views;
|
|
|
|
|
|
|
|
namespace Wabbajack.App.Screens;
|
|
|
|
|
|
|
|
public partial class CompilationView : ScreenBase<CompilationViewModel>
|
|
|
|
{
|
|
|
|
public CompilationView()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
2021-10-15 04:20:27 +00:00
|
|
|
|
|
|
|
this.WhenActivated(disposables =>
|
|
|
|
{
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.StatusText, view => view.StatusText.Text)
|
|
|
|
.DisposeWith(disposables);
|
|
|
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.StepsProgress, view => view.StepsProgress.Value, p => p.Value * 1000)
|
|
|
|
.DisposeWith(disposables);
|
|
|
|
|
|
|
|
this.OneWayBind(ViewModel, vm => vm.StepProgress, view => view.StepProgress.Value, p => p.Value * 10000)
|
|
|
|
.DisposeWith(disposables);
|
|
|
|
});
|
2021-10-12 03:49:01 +00:00
|
|
|
}
|
2021-10-23 16:51:17 +00:00
|
|
|
}
|