mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Nodes - Tweak pin collection visuals
Nodes - Added counter node that counts from 0.0 to 1.0 Nodes - Added color ramp node Gradient picker - Remove tilt from preview
This commit is contained in:
1 parent
39a52591b6
commit
b4242a2dfc
10 files changed
+153
-4
No files matched your search
@@ -7,6 +7,7 @@
|
||||
xmlns:skiaSharp="clr-namespace:SkiaSharp;assembly=SkiaSharp"
|
||||
xmlns:shared="clr-namespace:Artemis.UI.Shared.Converters;assembly=Artemis.UI.Shared"
|
||||
xmlns:system="clr-namespace:System;assembly=System.Runtime"
|
||||
xmlns:core="clr-namespace:Artemis.Core;assembly=Artemis.Core"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Artemis.UI.Screens.VisualScripting.CableView"
|
||||
x:DataType="visualScripting:CableViewModel"
|
||||
@@ -55,7 +56,8 @@
|
||||
<TextBlock x:Name="HexDisplay"
|
||||
Text="{CompiledBinding Converter={StaticResource SKColorToStringConverter}}"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Stretch" />
|
||||
HorizontalAlignment="Stretch"
|
||||
FontFamily="Consolas"/>
|
||||
<Border Margin="5 0 0 0"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Right"
|
||||
@@ -74,8 +76,11 @@
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
<DataTemplate DataType="core:Numeric">
|
||||
<TextBlock Text="{Binding}" FontFamily="Consolas"/>
|
||||
</DataTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding}" />
|
||||
<TextBlock Text="{Binding}" FontFamily="Consolas"/>
|
||||
</DataTemplate>
|
||||
</ContentControl.DataTemplates>
|
||||
</ContentControl>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<ContentControl Content="{CompiledBinding}"></ContentControl>
|
||||
<Button Classes="icon-button icon-button-small"
|
||||
Margin="2 2 0 0"
|
||||
ToolTip.Tip="Remove pin"
|
||||
Command="{CompiledBinding RemovePin}"
|
||||
CommandParameter="{CompiledBinding Pin}">
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<DataTemplate DataType="pins:PinViewModel">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Classes="icon-button icon-button-small"
|
||||
Margin="0 2 2 0"
|
||||
ToolTip.Tip="Remove pin"
|
||||
Command="{CompiledBinding RemovePin}"
|
||||
CommandParameter="{CompiledBinding Pin}">
|
||||
|
||||
Reference in new issue
Block a user