2020-05-04 22:57:12 +02:00
|
|
|
#pragma once
|
|
|
|
#include "ColorPickupFlyout.g.h"
|
|
|
|
#include "../cascadia/inc/cppwinrt_utils.h"
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::implementation
|
|
|
|
{
|
|
|
|
struct ColorPickupFlyout : ColorPickupFlyoutT<ColorPickupFlyout>
|
|
|
|
{
|
|
|
|
ColorPickupFlyout();
|
|
|
|
|
|
|
|
void ColorButton_Click(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args);
|
|
|
|
void ShowColorPickerButton_Click(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args);
|
|
|
|
void CustomColorButton_Click(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args);
|
|
|
|
void ClearColorButton_Click(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args);
|
2021-06-10 17:49:52 +02:00
|
|
|
void ColorPicker_ColorChanged(const Microsoft::UI::Xaml::Controls::ColorPicker&, const Microsoft::UI::Xaml::Controls::ColorChangedEventArgs& args);
|
2020-05-04 22:57:12 +02:00
|
|
|
|
|
|
|
WINRT_CALLBACK(ColorCleared, TerminalApp::ColorClearedArgs);
|
|
|
|
WINRT_CALLBACK(ColorSelected, TerminalApp::ColorSelectedArgs);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace winrt::TerminalApp::factory_implementation
|
|
|
|
{
|
|
|
|
struct ColorPickupFlyout : ColorPickupFlyoutT<ColorPickupFlyout, implementation::ColorPickupFlyout>
|
|
|
|
{
|
|
|
|
};
|
|
|
|
}
|