|
106 | 106 |
|
107 | 107 |
|
108 | 108 |
|
109 | | - <Style x:Key="ExecutionProviderTypes" TargetType="{x:Type ComboBoxItem}" BasedOn="{StaticResource {x:Type ComboBoxItem}}"> |
110 | | - <Setter Property="Visibility" Value="Collapsed" /> |
111 | | - <Style.Triggers> |
112 | | - <DataTrigger Binding="{Binding}" Value="Cpu"> |
113 | | - <Setter Property="Visibility" Value="Visible" /> |
114 | | - </DataTrigger> |
115 | | - <DataTrigger Binding="{Binding}" Value="DirectML"> |
116 | | - <Setter Property="Visibility" Value="Visible" /> |
117 | | - </DataTrigger> |
118 | | - </Style.Triggers> |
119 | | - </Style> |
120 | | - |
121 | | - |
122 | | - |
| 109 | + |
123 | 110 |
|
124 | 111 |
|
125 | 112 |
|
|
260 | 247 | <userControls:FontAwesome Icon="" IconStyle="Light" Size="13" ToolTip="Send To Image To Image"/> |
261 | 248 | </Button> |
262 | 249 | <Button Command="{Binding RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type Window}}, Path=NavigateImageInpaintCommand}" CommandParameter="{Binding}" > |
263 | | - <userControls:FontAwesome Icon="" IconStyle="Light" Size="13" ToolTip="Send To Image Inpaint"/> |
| 250 | + <userControls:FontAwesome Icon="" IconStyle="Light" Size="13" ToolTip="Send To Image Inpaint"/> |
264 | 251 | </Button> |
265 | 252 | <Button Command="{Binding RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type Window}}, Path=NavigateImagePaintToImageCommand}" CommandParameter="{Binding}" Padding="2,2" BorderThickness="0,1,1,1"> |
266 | | - <userControls:FontAwesome Icon="" IconStyle="Light" Size="13" ToolTip="Send To Upscaler"/> |
| 253 | + <userControls:FontAwesome Icon="" IconStyle="Light" Size="13" ToolTip="Send To Upscaler"/> |
267 | 254 | </Button> |
268 | 255 | </UniformGrid> |
269 | 256 | </StackPanel> |
|
1990 | 1977 |
|
1991 | 1978 |
|
1992 | 1979 |
|
| 1980 | + <Style x:Key="ExecutionProviderTypes" TargetType="{x:Type ComboBoxItem}" BasedOn="{StaticResource {x:Type ComboBoxItem}}"> |
| 1981 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 1982 | + <Style.Triggers> |
| 1983 | + <DataTrigger Binding="{Binding}" Value="Cpu"> |
| 1984 | + <Setter Property="Visibility" Value="Visible" /> |
| 1985 | + </DataTrigger> |
| 1986 | + <DataTrigger Binding="{Binding}" Value="DirectML"> |
| 1987 | + <Setter Property="Visibility" Value="Visible" /> |
| 1988 | + </DataTrigger> |
| 1989 | + </Style.Triggers> |
| 1990 | + </Style> |
| 1991 | + |
| 1992 | + <Style x:Key="ButtonGenerateStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}"> |
| 1993 | + <Setter Property="Content" Value="Generate" /> |
| 1994 | + <Style.Triggers> |
| 1995 | + <DataTrigger Binding="{Binding BatchOptions.IsRealtimeEnabled, ElementName=UI}" Value="True"> |
| 1996 | + <Setter Property="Content" Value="Start" /> |
| 1997 | + </DataTrigger> |
| 1998 | + </Style.Triggers> |
| 1999 | + </Style> |
1993 | 2000 |
|
| 2001 | + <Style x:Key="ButtonGenerateCancelStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}"> |
| 2002 | + <Setter Property="Content" Value="Cancel" /> |
| 2003 | + <Style.Triggers> |
| 2004 | + <DataTrigger Binding="{Binding BatchOptions.IsRealtimeEnabled, ElementName=UI}" Value="True"> |
| 2005 | + <Setter Property="Content" Value="Stop" /> |
| 2006 | + </DataTrigger> |
| 2007 | + </Style.Triggers> |
| 2008 | + </Style> |
1994 | 2009 |
|
1995 | 2010 |
|
1996 | 2011 | </Application.Resources> |
|
0 commit comments