PowerToys/src/modules/colorPicker/ColorPickerUI/Views/ColorEditorView.xaml

193 lines
9.5 KiB
Plaintext
Raw Normal View History

Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<UserControl x:Class="ColorPicker.Views.ColorEditorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
xmlns:p="clr-namespace:ColorPicker.Properties"
mc:Ignorable="d"
xmlns:ui="http://schemas.modernwpf.com/2019"
xmlns:e="http://schemas.microsoft.com/xaml/behaviors"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
xmlns:controls="clr-namespace:ColorPicker.Controls"
xmlns:behaviors="clr-namespace:ColorPicker.Behaviors"
WindowChrome.IsHitTestVisibleInChrome="True"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
x:Name="colorEditorControl">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="64"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- Side bar -->
<Grid Background="{DynamicResource SecondaryBackgroundBrush}">
2021-03-25 12:11:36 +01:00
<ui:ListView x:Name="HistoryColors"
Margin="0,48,0,0"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
Grid.Row="1"
Padding="0"
TabIndex="2"
KeyboardNavigation.DirectionalNavigation="Contained"
Width="64"
AutomationProperties.Name="{x:Static p:Resources.Color_History}"
HorizontalAlignment="Center"
ui:FocusVisualHelper.UseSystemFocusVisuals="True"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
ItemsSource="{Binding ColorsHistory}"
SelectedIndex="{Binding SelectedColorIndex}"
2021-03-25 12:11:36 +01:00
ItemContainerStyle="{DynamicResource ColorHistoryListViewStyle}"
IsItemClickEnabled="True"
ItemClick="HistoryColors_ItemClick">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<ui:ListView.ContextMenu>
<ContextMenu Visibility="{Binding ColorsHistory.Count, Converter={StaticResource numberToVisibilityConverter}}">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<MenuItem Header="{x:Static p:Resources.Remove}"
Command="{Binding RemoveColorCommand}">
<MenuItem.Icon>
<ui:FontIcon Glyph="&#xE107;" />
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
</ui:ListView.ContextMenu>
<ui:ListView.ItemTemplate>
<DataTemplate>
<Grid Width="64" Height="48">
<Border
Width="26"
Height="26"
CornerRadius="4"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="{Binding Path=., Converter={StaticResource colorToBrushConverter}}">
<Border.Effect>
<DropShadowEffect BlurRadius="6" Opacity="0.32" ShadowDepth="2" />
</Border.Effect>
</Border>
</Grid>
</DataTemplate>
</ui:ListView.ItemTemplate>
</ui:ListView>
</Grid>
<!-- Title bar -->
<Grid Grid.ColumnSpan="2"
Height="32"
Background="Transparent"
VerticalAlignment="Top"
KeyboardNavigation.DirectionalNavigation="Contained"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
IsHitTestVisible="True">
<e:Interaction.Behaviors>
<behaviors:DragWindowBehavior/>
</e:Interaction.Behaviors>
<Border
Background="{DynamicResource TitleBarSecondaryForegroundBrush}"
Grid.ColumnSpan="2"
Width="30"
Height="3"
CornerRadius="1.5"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="0,1,0,0" />
2021-03-25 12:11:36 +01:00
<Button Width="46"
Command="{Binding OpenSettingsCommand}"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
Height="32"
Content="&#xE713;"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
TabIndex="2"
Background="Transparent"
FontFamily="Segoe MDL2 Assets"
HorizontalAlignment="Right"
Margin="0,0,46,0"
ToolTipService.ToolTip="{x:Static p:Resources.Open_settings}"
AutomationProperties.Name="{x:Static p:Resources.Open_settings}" />
2021-03-25 12:11:36 +01:00
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<Button Width="64"
Height="32"
TabIndex="0"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
Command="{Binding OpenColorPickerCommand}"
Background="Transparent"
FontFamily="Segoe MDL2 Assets"
ui:FocusVisualHelper.FocusVisualMargin="-1"
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
ToolTipService.ToolTip="{x:Static p:Resources.Pick_color}"
AutomationProperties.Name="{x:Static p:Resources.Pick_color}">
<Button.Content>
<TextBlock Text="&#xEF3C;" AutomationProperties.Name="{x:Static p:Resources.Pick_color}" />
</Button.Content>
</Button>
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
</Grid>
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<!-- Main grid -->
<Grid Grid.Column="1"
Visibility="{Binding ColorsHistory.Count, Converter={StaticResource numberToVisibilityConverter}}">
<ScrollViewer IsTabStop="False"
Margin="0,90,0,0">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<StackPanel>
<ItemsControl IsTabStop="False"
TabIndex="4"
KeyboardNavigation.DirectionalNavigation="Contained"
FocusManager.IsFocusScope="True"
KeyboardNavigation.TabNavigation="Once"
ItemsSource="{Binding ColorRepresentations}">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<ItemsControl.ItemTemplate>
<DataTemplate>
<controls:ColorFormatControl
ColorFormatModel="{Binding }"
SelectedColor="{Binding ElementName=colorEditorControl, Path=DataContext.SelectedColor}"
ColorCopiedNotificationBorder="{Binding ElementName=CopiedBorderIndicator}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel
Orientation="Vertical"
Margin="0,16,0,16"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
</StackPanel>
</ScrollViewer>
<controls:ColorPickerControl HorizontalAlignment="Left"
Margin="0,44,0,0"
Visibility="{Binding ColorsHistory.Count, Converter={StaticResource numberToVisibilityConverter}}"
IsTabStop="True"
TabIndex="2"
KeyboardNavigation.DirectionalNavigation="Contained"
SelectedColor="{Binding SelectedColor}"
SelectedColorChangedCommand="{Binding SelectedColorChangedCommand}"
Grid.Column="1"
VerticalAlignment="Top" />
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
</Grid>
<!-- Empty history -->
<StackPanel Grid.Column="1" Margin="24, 12" VerticalAlignment="Center" Orientation="Vertical" Visibility="{Binding ColorsHistory.Count, Converter={StaticResource numberToInvertedVisibilityConverter}}">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<TextBlock Text="&#xEF3C;"
FontFamily="Segoe MDL2 Assets"
FontSize="44"
HorizontalAlignment="Center"
Foreground="{DynamicResource SecondaryForegroundBrush}" />
<TextBlock Margin="0,16,0,0"
TextWrapping="Wrap"
TextAlignment="Center"
HorizontalAlignment="Center"
Foreground="{DynamicResource SecondaryForegroundBrush}"
Text="{x:Static p:Resources.No_colors_yet}"/>
</StackPanel>
<Border x:Name="CopiedBorderIndicator"
Opacity="0"
Grid.ColumnSpan="2"
HorizontalAlignment="Stretch"
VerticalAlignment="Bottom"
Height="0"
Background="{DynamicResource SystemControlBackgroundAccentBrush}">
<TextBlock FontSize="16"
Foreground="White"
HorizontalAlignment="Center"
VerticalAlignment="Center"
AutomationProperties.LiveSetting="Assertive"
AutomationProperties.Name="{x:Static p:Resources.Copied_to_clipboard}">
Color Picker V2 (#7710) * Ground base for WPF version of V2 color picker * Added theming support * Layout fixes, added UWP listview styling * Updated UI * Added theming and Fluent to colorpicker. Styles cleanup * Added animation for "color copied" message * Added color format control, testing transparency * Added roll-over behaviour, selectable textbox and right-click context menu * Revert "Added roll-over behaviour, selectable textbox and right-click context menu" This reverts commit af35a23532046aa096f8a9cd7c1582aa2af3b423. * Delete context menu, mouse-over clipboard button and selectable text * Implemented remove color command, set color editor topmost * Missed some changes * Added all currently supported color formats into editor, added support for future custom formats * Added missed file * Reverted WindowStyle = None * Added drag and drop reorder behavior for color formats * Removed custom close button, UI cleanup, added scrollviewer to colorformats * Added close button * Added color picker color control to configure current color * Added possibility to add and remove color representations, commented out drag&drop reorder behavior * Calculate color variations of the current color, on click adds a new color into the history * Fixed reopening of editor, added rgb textboxes into color picker control, moved add color formats button at bottom * Improved color schemes, similiar to Windows 10X * Updated icon, window name and XAML cleanup * Moved strings to Resources file * Added Narrator support * Accesibility stuff * Revamped color picker color - now 3 sliders to configure color - hue, saturation, value, added bidirectional of setting values HEX/RGB/Sliders, validation of rgb and hex input * UX improvements * Removed color format management * Removed colorformat hide context menu * Improved colorpicker UI * Added colorformats XAML to Settings * Reverted runner change * Margin fix * Updated height of colorpicking tooltip * Using dynamic width for color picker based on a content * Fixed build * Added H,S,V labels in front of gradient sliders in color picker control * Color shades borders are now buttons, improved narrator support * Added tabindexes * Accesiblity improvements * UI bugfix * Fixed issue with occasional issue with saving color/removing colors due to locked settings file, decreased number of writes into settings.json, fixed throuttledActionInvoker to run only once, added rangeobservablecollection data type to be able to control notifications in observablecollection * Updated installer with newly added libs * Hide settings button since required functionality is not available yet * Added comments to resource file * Added reorder and enable/disable color formats from settings, * Show message when colors history empty, open color editor in the center of screen * Styling updates to now color selected popup * Added horizontal gripper icon on pointerover * Typo fix * Added new color formats into editor * Added 3 different activation actions to choose from * Added new color formats into settings for editor * Update src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> * Updated expect.txt * Removed MahApps * Removed MahApps from installer for Color Picker module * Updated settings page * Typo fix and moved string to Resources * Typo fixes and string improvements * Fixing build * Replacing DispatcherTimer with Timer from System.Timers * Fixing tests * adjustments * adjustments * removed periods * Fixing build * unifiying language * Added using statement in tests * Disabled drop shadow for Color Picker and Zoom Window due to poor performance * Stylecop fixes Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com> Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-11-20 13:50:47 +01:00
<Run Text="&#xE16F; " FontFamily="Segoe MDL2 Assets"/>
<Run Text="{x:Static p:Resources.Copied_to_clipboard}" FontWeight="SemiBold"/>
</TextBlock>
</Border>
</Grid>
</UserControl>