--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<MenuItem MinimumSize="20,20" Height="Fit" Width="Fit" Caption="Context Menu" Data="{ContextCommands}" Orientation="Vertical"
+ IsOpened ="true" Visible="{/IsOpened}">
+ <Template>
+ <Border Background="0.2,0.2,0.2,0.8" Foreground="Black" CornerRadius="2">
+ <GenericStack Height="Fit" VerticalAlignment="Top" Orientation="{./Orientation}" Name="ItemsContainer" Margin="5"/>
+ </Border>
+ </Template>
+ <ItemTemplate>
+ <MenuItem Command="{}" Width="150" PopWidth="120" IsEnabled="{CanExecute}">
+ <Template>
+ <Popper Font="{./Font}" Caption="{./Caption}" Background="{./Background}" PopDirection="{./PopDirection}"
+ Foreground = "{./Foreground}" CanPop="{./HasChildren}" MouseDown="./onMI_Click" BubbleEvents="All"
+ IsPopped="{²./IsOpened}" PopWidth="{./PopWidth}" PopHeight="{./PopHeight}">
+ <Template>
+ <Border Name="border1"
+ CornerRadius="0"
+ MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}"
+ MouseLeave="{Foreground=Transparent}"
+ MouseDown="{Foreground=vgradient|0:Black|0.05:Grey|0.85:Grey|1:White}"
+ MouseUp="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}"
+ MinimumSize = "60,0"
+ Foreground="Transparent"
+ Background="{./Background}">
+ <HorizontalStack Spacing="5">
+ <Image Height="14" Width="14" Picture="{Icon}" />
+ <Label Text="{./Caption}"
+ Foreground="{./Foreground}"
+ Margin="1" HorizontalAlignment="Left"
+ Font="{./Font}" />
+ </HorizontalStack>
+ </Border>
+ </Template>
+ <Border Foreground="DimGrey" Width="{../PopWidth}" Height="{../PopHeight}" Background="DimGrey">
+ <VerticalStack Name="ItemsContainer"/>
+ </Border>
+ </Popper>
+ </Template>
+ </MenuItem>
+ </ItemTemplate>
+</MenuItem>
+
--- /dev/null
+<VerticalStack Background="{./Background}" Margin="5">
+ <Label Text="{./Caption}"/>
+ <Group Height="20">
+ <Gauge Height="50%" Foreground="${ControlHighlight}" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"/>
+ <Border Name="Cursor" Background="White" BorderWidth="2" Foreground="Grey"
+ MouseEnter="{Foreground=${ControlHighlight}}"
+ MouseLeave="{Foreground=Grey}" >
+ <Label Text="{./Value}" Foreground="Black"/>
+ </Border>
+ </Group>
+</VerticalStack>
+++ /dev/null
-<VerticalStack Background="{./Background}" Margin="5">
- <Label Text="{./Caption}"/>
- <Group Height="20">
- <Gauge Height="50%" Foreground="${ControlHighlight}" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"/>
- <Border Name="Cursor" Background="White" BorderWidth="2" Foreground="Grey"
- MouseEnter="{Foreground=${ControlHighlight}}"
- MouseLeave="{Foreground=Grey}" >
- <Label Text="{./Value}" Foreground="Black"/>
- </Border>
- </Group>
-</VerticalStack>
<?xml version="1.0"?>
-<DockWindow Caption="Netcore Debugger">
- <HorizontalStack Height="Fit" DataSource="{DbgSession}" Margin="0" Spacing="5">
+<Window Caption="Netcore Debugger" Height="Fit" Width="Fit" Background="DimGrey" AllowedStates="Normal" >
+ <Template>
+ <HorizontalStack Background="{./Background}" Width="Fit" Height="Fit" Margin="2" Spacing="4">
+ <Image Path="#icons.move-arrows.svg" Margin="1" Name="MoveHandle" Height="14" Width="14" Background="Onyx" CornerRadius="0"/>
+ <Container Name="Content" MinimumSize="0,0" />
+ <ListBox Data="{./Commands}" Fit="true" VerticalAlignment="Top">
+ <Template>
+ <HorizontalStack Name="ItemsContainer" />
+ </Template>
+ <ItemTemplate Path="#Crow.WindowButton.template"/>
+ </ListBox>
+ </HorizontalStack>
+ </Template>
+ <HorizontalStack Height="Fit" DataSource="{DbgSession}" Margin="0" Spacing="2">
<ListBox Data="{DebugCommands}" Fit="true">
<Template>
- <HorizontalStack Name="ItemsContainer" Spacing="5" />
+ <HorizontalStack Name="ItemsContainer" Spacing="2" />
</Template>
<ItemTemplate>
- <Button Command="{}" MinimumSize="1,1" Width="40" Height="40" Background="vgradient|0:DimGrey|1:Black" CornerRadius="0" >
+ <Button Command="{}" MinimumSize="1,1" Width="24" Height="24" Background="vgradient|0:DimGrey|1:Black" CornerRadius="0" >
<Template>
- <Border Style="ButtonBorder" Width="Stretched" Height="Stretched" Margin="10" Background="{./Background}" CornerRadius="{../CornerRadius}">
+ <Border Style="ButtonBorder" Width="Stretched" Height="Stretched" Margin="4" Background="{./Background}" CornerRadius="{../CornerRadius}">
<Image Path="{./Icon}" Tooltip="{./Caption}" Scaled="true" KeepProportions="true" Margin="0"/>
</Border>
</Template>
</Button>
</ItemTemplate>
</ListBox >
- <Label Text="{CurrentState}" Margin="2"/>
+ <!--<Label Text="{CurrentState}" Margin="2"/>-->
</HorizontalStack>
-</DockWindow>
+</Window>
<?xml version="1.0"?>
-<DockWindow Caption="NetcoreDbg plugin configuration" Width="80%" Height="400" Resizable="false">
+<DockWindow Caption="NetcoreDbg plugin configuration" Width="600" Height="400" Resizable="false">
<VerticalStack RootDataLevel="true" Margin="5">
<HorizontalStack Height="Fit">
<Label Width="200" Text="Netcoredbg path"/>
<?xml version="1.0"?>
-<DockWindow Caption="Roslyn plugin configuration" Width="80%" Height="400" Resizable="false">
+<DockWindow Caption="Roslyn plugin configuration" Width="600" Height="400" FreezeDockState="true">
<VerticalStack RootDataLevel="true" Margin="5">
<HorizontalStack Height="Fit">
<Label Width="200" Text="DotNet SDK folder"/>
reloadSyntaxTheme ();
+ reloadLogsConfigs ();
+
reloadWinConfigs ();
lock(UpdateMutex) {
}
}
- reloadLogsConfigs ();
reopenLastProjectList ();
<CheckBox Caption="Indent With Spaces" IsChecked="{²IndentWithSpace}"/>
<CheckBox Caption="Show White Spaces" IsChecked="{²ShowWhiteSpace}"/>
<Spinner Caption="Tabulation Size" Value="{²TabulationSize}"/>
- <Slider Template="#ui.slider.tmp" Height="Fit" Background="0.1,0.1,0.2,0.8"
+ <Slider Template="#ui.slider.template" Height="Fit" Background="0.1,0.1,0.2,0.8"
Minimum="1" Maximum="50" SmallIncrement="1" LargeIncrement="10"
Caption="Crow Update Interval (ms)" Value="{²CrowUpdateInterval}" />
- <Slider Template="#ui.slider.tmp" Height="Fit" Background="0.1,0.1,0.2,0.8"
+ <Slider Template="#ui.slider.template" Height="Fit" Background="0.1,0.1,0.2,0.8"
Minimum="1" Maximum="50" SmallIncrement="1" LargeIncrement="10"
Caption="GLFW polling Interval (ms)" Value="{²CrowPollingInterval}" />
<HorizontalStack Height="Fit">
<?xml version="1.0"?>
-<DockWindow Caption="Available Plugins" Width="70%" Height="80%" FreezeDockState="true">
+<DockWindow Caption="Available Plugins" Width="300" Height="80%" FreezeDockState="true">
<VerticalStack Margin="5">
<Label Fit="true" Text="Plugins directory path:"/>
<HorizontalStack Height="Fit">
<?xml version="1.0"?>
-<DockWindow Caption="Services" Width="60%" >
- <ListBox Data="{Services}" >
+<DockWindow Caption="Services" Width="400" FreezeDockState="true">
+ <ListBox Data="{Services}" Margin="10">
<ItemTemplate Path="#ui.Service.itmp"/>
</ListBox>
</DockWindow>