Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Conceição <Tiago_caza@hotmail.com>2021-09-13 03:38:12 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2021-09-13 03:38:12 +0300
commit43a3031af28f46c0c94dbd1e1d7ecec68adc792e (patch)
tree806863fe7602f0fb02ea3fd423f0f4eb80394175 /UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml
parent553d74d9201d255145782eb3241eb198979dc647 (diff)
Import layers
- (Add) 'MergeMax' to import type (#289) - (Add) 'AbsDiff' to import type - (Add) Description of operations on comobo box
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml')
-rw-r--r--UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml23
1 files changed, 12 insertions, 11 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml b/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml
index 8b3e806..fb95b6c 100644
--- a/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml
+++ b/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml
@@ -11,22 +11,23 @@
<TextBlock Grid.Row="0" Grid.Column="0"
VerticalAlignment="Center"
- ToolTip.Tip="Insert: Insert layers. (Requires images with bounds equal or less than file resolution)
-&#x0a;Replace: Replace layers. (Requires images with bounds equal or less than file resolution)
-&#x0a;Stack: Stack layers content. (Requires images with bounds equal or less than file resolution)
-&#x0a;Merge: Merge layers by summing value of layer pixels. (Requires images with same resolution)
-&#x0a;MergeMax: Merge layers using the maximum value of layer pixels. (Requires images with same resolution)
-&#x0a;Subtract: Subtract layers content. (Requires images with same resolution)
-&#x0a;BitwiseAnd: Perform a 'bitwise and' operation over layer pixels. (Requires images with same resolution)
-&#x0a;BitwiseOr: Perform a 'bitwise or' operation over layer pixels. (Requires images with same resolution)
-&#x0a;BitwiseXOr: Perform a 'bitwise xor' operation over layer pixels. (Requires images with same resolution)"
+ ToolTip.Tip="Insert: Requires images with bounds equal or less than file resolution
+&#x0a;Replace: Requires images with bounds equal or less than file resolution
+&#x0a;Stack: Requires images with bounds equal or less than file resolution
+&#x0a;Merge: Requires images with same resolution
+&#x0a;MergeMax: Requires images with same resolution
+&#x0a;Subtract: Requires images with same resolution
+&#x0a;AbsDiff: Requires images with same resolution
+&#x0a;BitwiseAnd: Requires images with same resolution
+&#x0a;BitwiseOr: Requires images with same resolution
+&#x0a;BitwiseXOr: Requires images with same resolution"
Text="Import type:"/>
<ComboBox Grid.Row="0" Grid.Column="2"
VerticalAlignment="Center"
HorizontalAlignment="Stretch"
- SelectedItem="{Binding Operation.ImportType}"
- Items="{Binding Operation.ImportTypesItems}"/>
+ Items="{Binding Operation.ImportType, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
+ SelectedItem="{Binding Operation.ImportType, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
<TextBlock Grid.Row="0" Grid.Column="4"
VerticalAlignment="Center"