Forge
deeb25a2
1<views:PointerTrackingWindow xmlns="https://github.com/avaloniaui"
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
4 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5 xmlns:views="using:CascadeIDE.Views"
6 xmlns:vm="using:CascadeIDE.ViewModels"
7 xmlns:chrome="using:CascadeIDE.Features.UiChrome"
8 mc:Ignorable="d" d:DesignWidth="420" d:DesignHeight="600"
9 x:Class="CascadeIDE.Views.PfdHostWindow"
10 x:DataType="vm:MainWindowViewModel"
11 Title="Cascade — зона PFD (хост)"
12 Width="420" Height="600"
13 MinWidth="280" MinHeight="240"
14 Icon="/Assets/avalonia-logo.ico"
15 Background="{DynamicResource CascadeTheme.MainWindowBackground}">
16
17 <!-- ADR 0017: контент колонки PFD главного окна (дерево / semantic map), тот же DataContext. -->
18 <Grid Background="{DynamicResource CascadeTheme.MainWindowBackground}">
19 <chrome:AttentionZoneContainer Zone="Pfd">
20 <Grid>
21 <views:SolutionExplorerView IsVisible="{Binding IsDockedPfdSolutionExplorerTree}"/>
22 <Grid IsVisible="{Binding IsDockedPfdWorkspaceNavigationMap}">
23 <views:WorkspaceNavigationMapView DataContext="{Binding NavigationMap}"/>
24 </Grid>
25 <views:ZoneInstrumentMountView IsVisible="{Binding UseSkiaInstrumentMount}"
26 HorizontalAlignment="Right"
27 VerticalAlignment="Top"
28 Margin="8"
29 Width="250"
30 InstrumentId="ide_health_status_v1"
31 SlotId="pfd"
32 MountStyle="{Binding PfdInstrumentMountStyle}"
33 ZIndex="415"/>
34 </Grid>
35 </chrome:AttentionZoneContainer>
36 <Border x:Name="SkiaZoneGeometryOverlayPfdHost"
37 IsVisible="{Binding ShowSkiaZoneGeometryOverlay}"
38 ZIndex="410"
39 BorderThickness="2"
40 BorderBrush="#7CC9FF"
41 CornerRadius="4"
42 Background="#04000000"
43 IsHitTestVisible="False">
44 <TextBlock Text="PFD"
45 Margin="6,4,0,0"
46 HorizontalAlignment="Left"
47 VerticalAlignment="Top"
48 Foreground="#C6F2FF"/>
49 </Border>
50 <Canvas x:Name="AgentHighlightLayer" ZIndex="1000" IsHitTestVisible="False"
51 HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
52 <Border x:Name="AgentHighlightOverlay" IsVisible="False" BorderBrush="#FF6B9D" BorderThickness="2" Background="#10000000"/>
53 </Canvas>
54 <views:CommandPaletteView ZIndex="5000"/>
55 <views:CockpitCommandLineOverlayView DataContext="{Binding CockpitCommandLineOverlay}" ZIndex="4999"/>
56 </Grid>
57</views:PointerTrackingWindow>
58
View only · write via MCP/CIDE