Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.H2V
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.H2V
Commits
8031283b
Commit
8031283b
authored
Aug 23, 2022
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮样式
parent
7fae08c0
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
16 deletions
+21
-16
VIZ.H2V.Module.Resource/Icons/filter_24x24.png
+0
-0
VIZ.H2V.Module.Resource/Icons/filter_32x32.png
+0
-0
VIZ.H2V.Module.Resource/Icons/filter_over_24x24.png
+0
-0
VIZ.H2V.Module.Resource/Icons/filter_over_32x32.png
+0
-0
VIZ.H2V.Module.Resource/Icons/footbal_field_24x24.png
+0
-0
VIZ.H2V.Module.Resource/Icons/footbal_field_32x32.png
+0
-0
VIZ.H2V.Module.Resource/Icons/footbal_field_over_24x24.png
+0
-0
VIZ.H2V.Module.Resource/Icons/footbal_field_over_32x32.png
+0
-0
VIZ.H2V.Module.Resource/Style/CheckBox/CheckBox_NdiView.xaml
+12
-8
VIZ.H2V.Module.Resource/VIZ.H2V.Module.Resource.csproj
+5
-4
VIZ.H2V.Module/NDIView/View/NDIView.xaml
+4
-4
No files found.
VIZ.H2V.Module.Resource/Icons/filter_24x24.png
0 → 100644
View file @
8031283b
542 Bytes
VIZ.H2V.Module.Resource/Icons/filter_32x32.png
deleted
100644 → 0
View file @
7fae08c0
727 Bytes
VIZ.H2V.Module.Resource/Icons/filter_over_24x24.png
0 → 100644
View file @
8031283b
465 Bytes
VIZ.H2V.Module.Resource/Icons/filter_over_32x32.png
deleted
100644 → 0
View file @
7fae08c0
629 Bytes
VIZ.H2V.Module.Resource/Icons/footbal_field_24x24.png
0 → 100644
View file @
8031283b
830 Bytes
VIZ.H2V.Module.Resource/Icons/footbal_field_32x32.png
deleted
100644 → 0
View file @
7fae08c0
1.2 KB
VIZ.H2V.Module.Resource/Icons/footbal_field_over_24x24.png
0 → 100644
View file @
8031283b
748 Bytes
VIZ.H2V.Module.Resource/Icons/footbal_field_over_32x32.png
deleted
100644 → 0
View file @
7fae08c0
1.04 KB
VIZ.H2V.Module.Resource/Style/CheckBox/CheckBox_NdiView.xaml
View file @
8031283b
...
...
@@ -54,10 +54,12 @@
<Setter.Value>
<ControlTemplate TargetType="CheckBox">
<Grid x:Name="border" Background="Transparent">
<Image x:Name="img" Visibility="Visible" Width="32" Height="32"
Source="/VIZ.H2V.Module.Resource;component/Icons/footbal_field_32x32.png"></Image>
<Image x:Name="img_over" Visibility="Collapsed" Width="32" Height="32"
Source="/VIZ.H2V.Module.Resource;component/Icons/footbal_field_over_32x32.png"></Image>
<Image x:Name="img" Visibility="Visible" Width="24" Height="24"
VerticalAlignment="Center" HorizontalAlignment="Center"
Source="/VIZ.H2V.Module.Resource;component/Icons/footbal_field_24x24.png"></Image>
<Image x:Name="img_over" Visibility="Collapsed" Width="24" Height="24"
VerticalAlignment="Center" HorizontalAlignment="Center"
Source="/VIZ.H2V.Module.Resource;component/Icons/footbal_field_over_24x24.png"></Image>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
...
...
@@ -84,10 +86,12 @@
<Setter.Value>
<ControlTemplate TargetType="CheckBox">
<Grid x:Name="border" Background="Transparent">
<Image x:Name="img" Visibility="Visible" Width="32" Height="32"
Source="/VIZ.H2V.Module.Resource;component/Icons/filter_32x32.png"></Image>
<Image x:Name="img_over" Visibility="Collapsed" Width="32" Height="32"
Source="/VIZ.H2V.Module.Resource;component/Icons/filter_over_32x32.png"></Image>
<Image x:Name="img" Visibility="Visible" Width="24" Height="24"
VerticalAlignment="Center" HorizontalAlignment="Center"
Source="/VIZ.H2V.Module.Resource;component/Icons/filter_24x24.png"></Image>
<Image x:Name="img_over" Visibility="Collapsed" Width="24" Height="24"
VerticalAlignment="Center" HorizontalAlignment="Center"
Source="/VIZ.H2V.Module.Resource;component/Icons/filter_over_24x24.png"></Image>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
...
...
VIZ.H2V.Module.Resource/VIZ.H2V.Module.Resource.csproj
View file @
8031283b
...
...
@@ -187,10 +187,10 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Resource Include="Icons\filter_
32x32
.png" />
<Resource Include="Icons\filter_over_
32x32
.png" />
<Resource Include="Icons\footbal_field_
32x32
.png" />
<Resource Include="Icons\footbal_field_over_
32x32
.png" />
<Resource Include="Icons\filter_
24x24
.png" />
<Resource Include="Icons\filter_over_
24x24
.png" />
<Resource Include="Icons\footbal_field_
24x24
.png" />
<Resource Include="Icons\footbal_field_over_
24x24
.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
VIZ.H2V.Module/NDIView/View/NDIView.xaml
View file @
8031283b
...
...
@@ -129,7 +129,7 @@
</Grid>
</Grid>
<StackPanel Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,20,0,0" Orientation="Horizontal">
<Button Width="80" Height="30" Content="
算法重启
" Style="{StaticResource Button_Restart}"
<Button Width="80" Height="30" Content="
重启算法
" Style="{StaticResource Button_Restart}"
IsEnabled="{Binding Path=ViewStatus,Converter={StaticResource NDIViewStatus2IsEnabledConverter_SettingButton}}"
Command="{Binding RestartCommand}"></Button>
<Button Width="80" Height="30" Content="关闭算法" Style="{StaticResource Button_Restart}" Margin="15,0,0,0"
...
...
@@ -178,8 +178,8 @@
<!-- 显示组 -->
<StackPanel Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,5" Orientation="Horizontal">
<CheckBox Style="{StaticResource CheckBox_IsBorderEnabled}" Width="32" Height="32" Margin="0,0,1
5
,0"
ToolTip="
是否启用边线检测
"
<CheckBox Style="{StaticResource CheckBox_IsBorderEnabled}" Width="32" Height="32" Margin="0,0,1
0
,0"
ToolTip="
启用边线过滤
"
IsEnabled="{Binding Path=ViewStatus,Converter={StaticResource NDIViewStatus2IsEnabledConverter}}"
IsChecked="{Binding Path=AlgorithmConfig.IsBorderEnabled,Mode=TwoWay}">
<behaviors:Interaction.Triggers>
...
...
@@ -192,7 +192,7 @@
</behaviors:Interaction.Triggers>
</CheckBox>
<CheckBox Style="{StaticResource CheckBox_IsBorderShow}" Width="32" Height="32"
ToolTip="
是否显示边线检测区域
"
ToolTip="
显示边线
"
IsEnabled="{Binding Path=ViewStatus,Converter={StaticResource NDIViewStatus2IsEnabledConverter}}"
IsChecked="{Binding Path=AlgorithmConfig.IsShowBorder,Mode=TwoWay}">
<behaviors:Interaction.Triggers>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment