2021-02-10 12:27:29 +01:00
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "inc/cppwinrt_utils.h"
|
|
|
|
|
#include "TerminalTabStatus.g.h"
|
|
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::implementation
|
|
|
|
|
{
|
|
|
|
|
struct TerminalTabStatus : TerminalTabStatusT<TerminalTabStatus>
|
|
|
|
|
{
|
|
|
|
|
TerminalTabStatus() = default;
|
|
|
|
|
|
|
|
|
|
WINRT_CALLBACK(PropertyChanged, Windows::UI::Xaml::Data::PropertyChangedEventHandler);
|
2021-03-04 20:27:03 +01:00
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(bool, IsPaneZoomed, _PropertyChangedHandlers);
|
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(bool, IsProgressRingActive, _PropertyChangedHandlers);
|
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(bool, IsProgressRingIndeterminate, _PropertyChangedHandlers);
|
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(bool, BellIndicator, _PropertyChangedHandlers);
|
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(bool, IsReadOnlyActive, _PropertyChangedHandlers);
|
|
|
|
|
WINRT_OBSERVABLE_PROPERTY(uint32_t, ProgressValue, _PropertyChangedHandlers);
|
2021-02-10 12:27:29 +01:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::factory_implementation
|
|
|
|
|
{
|
|
|
|
|
BASIC_FACTORY(TerminalTabStatus);
|
|
|
|
|
}
|