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
d57b0cc6
Commit
d57b0cc6
authored
Nov 09, 2022
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分ui调整
parent
fc93396b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
VIZ.H2V.Module.Resource/Style/RadioButton/RadioButton_NdiView.xaml
+1
-1
VIZ.H2V.Module/NDIMainView/View/NDIMainView.xaml
+2
-2
VIZ.H2V.Module/NDIView/VieweModel/NDIViewModel.Message.cs
+2
-1
VIZ.H2V.Module/NDIView/VieweModel/NDIViewModel.Property.cs
+5
-0
No files found.
VIZ.H2V.Module.Resource/Style/RadioButton/RadioButton_NdiView.xaml
View file @
d57b0cc6
...
...
@@ -127,7 +127,7 @@
<Setter Property="FocusVisualStyle" Value="{x:Null}"></Setter>
<Setter Property="Foreground" Value="White"></Setter>
<Setter Property="BorderBrush" Value="White"></Setter>
<Setter Property="BorderThickness" Value="
8
"></Setter>
<Setter Property="BorderThickness" Value="
6
"></Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RadioButton">
...
...
VIZ.H2V.Module/NDIMainView/View/NDIMainView.xaml
View file @
d57b0cc6
...
...
@@ -129,7 +129,7 @@
<Image Source="/VIZ.H2V.Module.Resource;component/Icons/status_25x22.png"
Visibility="{Binding AlgorithmStatusMinFps,Converter={StaticResource ServiceFps2VisibilityConverter_Normal}}"></Image>
</Grid>
<TextBlock Text="
算法服务
" VerticalAlignment="Center" Foreground="White" FontSize="12" Margin="10,0,0,0"></TextBlock>
<TextBlock Text="
系统
" VerticalAlignment="Center" Foreground="White" FontSize="12" Margin="10,0,0,0"></TextBlock>
</StackPanel>
<!-- 剪切服务监控 -->
<StackPanel Orientation="Horizontal" Background="Transparent" Grid.Column="1"
...
...
@@ -173,7 +173,7 @@
<Image Source="/VIZ.H2V.Module.Resource;component/Icons/status_25x22.png"
Visibility="{Binding ClipStatusMinFps,Converter={StaticResource ServiceFps2VisibilityConverter_Normal}}"></Image>
</Grid>
<TextBlock Text="
裁切服务
" VerticalAlignment="Center" Foreground="White" FontSize="12" Margin="10,0,0,0"></TextBlock>
<TextBlock Text="
界面
" VerticalAlignment="Center" Foreground="White" FontSize="12" Margin="10,0,0,0"></TextBlock>
</StackPanel>
<!-- 计算机监控 -->
<StackPanel Orientation="Horizontal" Grid.Column="2">
...
...
VIZ.H2V.Module/NDIView/VieweModel/NDIViewModel.Message.cs
View file @
d57b0cc6
...
...
@@ -105,7 +105,8 @@ namespace VIZ.H2V.Module
TrackingBoxInfo
info
=
new
TrackingBoxInfo
();
info
.
SrcRect
=
rect
;
info
.
DrawingBorderWidth
=
this
.
DETECT_BOX_BORDER_WIDTH
;
info
.
DrawingBorderColor
=
this
.
DETECT_BOX_BORDER_COLOR
;
// 检测框在显示目标框时显示,否则采用透明色
info
.
DrawingBorderColor
=
this
.
IsShowAlgorithmTargetBox
?
this
.
DETECT_BOX_BORDER_COLOR
:
this
.
DETECT_BOX_BORDER_COLOR_TRANSPARENT
;
infos
.
Add
(
info
);
}
...
...
VIZ.H2V.Module/NDIView/VieweModel/NDIViewModel.Property.cs
View file @
d57b0cc6
...
...
@@ -69,6 +69,11 @@ namespace VIZ.H2V.Module
private
readonly
RawColor4
DETECT_BOX_BORDER_COLOR
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
VideoConfig
,
RawColor4
>(
p
=>
p
.
VIDEO_DETECT_BOX_BORDER_COLOR
);
/// <summary>
/// 检测框边框颜色 透明
/// </summary>
private
readonly
RawColor4
DETECT_BOX_BORDER_COLOR_TRANSPARENT
=
SharpDxColorHelper
.
FromString
(
"#00000000"
);
/// <summary>
/// 检测边框宽度(单位:像素)
/// </summary>
private
readonly
int
DETECT_BOX_BORDER_WIDTH
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
VideoConfig
,
int
>(
p
=>
p
.
VIDEO_DETECT_BOX_BORDER_WIDTH
);
...
...
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