</EmbeddedResource>
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="/mnt/devel/crow/Crow/Crow.csproj" />
- <ProjectReference Include="/mnt/devel/crow/Backends/CairoBackend/Crow.CairoBackend.csproj" />
- <!--<PackageReference Include="Crow" Version="1.0.1-beta" />
- <PackageReference Include="Crow.CairoBackend" Version="1.0.1-beta" />-->
+ <PackageReference Include="Crow" Version="1.1.0-beta" />
+ <PackageReference Include="Crow.CairoBackend" Version="1.1.0-beta" />
</ItemGroup>
</Project>
}
IcoBut {
- Template = "#Crow.Coding.ui.IcoBut.template";
+ Template = "#ui.IcoBut.template";
MinimumSize = "10,10";
Width = "8";
Height = "14";
BorderWidth="1" BorderStyle="Normal"
MouseDown="{BorderStyle=Sunken}"
MouseUp="{BorderStyle=Normal}">
- <Image Margin="1" Path="#Crow.Coding.ui.icons.blank-file.svg" />
+ <Image Margin="1" Path="#icons.blank-file.svg" />
</Border>
namespace NetcoreDbgPlugin
{
public class NetcoreDbgService : Service {
+ public override string ConfigurationWindowPath => "#CENetcoreDbgPlugin.ui.winConfiguration.crow";
public NetcoreDbgService () : base () {
+ initCommands();
+ App.ViewCommands.Add (CMDViewDebug);
+ }
+ #region commands
+ public ActionCommand CMDViewDebug;
+ public Command CMDOptions_SelectNetcoredbgPath => new ActionCommand ("...",
+ () => {
+ FileDialog dlg = App.LoadIMLFragment<FileDialog> (@"
+ <FileDialog Caption='Select netcoredbg executable path' CurrentDirectory='{NetcoredbgPath}'
+ ShowFiles='true' ShowHidden='true'/>");
+ dlg.OkClicked += (sender, e) => NetcoredbgPath = (sender as FileDialog).SelectedFileFullPath;
+ dlg.DataSource = this;
+ }
+ );
+ void initCommands ()
+ {
+ CMDViewDebug = new ActionCommand("Debug Window", () => App.LoadWindow ("#CENetcoreDbgPlugin.ui.winDebugging.crow", dbg));
}
+ #endregion
public string NetcoredbgPath {
get => Configuration.Global.Get<string> ("NetcoredbgPath");
set {
CurrentState = Status.Paused;
}
- public Command CMDOptions_SelectNetcoredbgPath => new ActionCommand ("...",
- () => {
- FileDialog dlg = App.LoadIMLFragment<FileDialog> (@"
- <FileDialog Caption='Select netcoredbg executable path' CurrentDirectory='{NetcoredbgPath}'
- ShowFiles='true' ShowHidden='true'/>");
- dlg.OkClicked += (sender, e) => NetcoredbgPath = (sender as FileDialog).SelectedFileFullPath;
- dlg.DataSource = this;
- }
- );
-
- public override string ConfigurationWindowPath => "#CENetcoreDbgPlugin.ui.winConfiguration.crow";
}
}
\ No newline at end of file
<?xml version="1.0"?>
-<DockWindow Caption="Netcore Debugger" Width="Fit" Height="Fit" Resizable="false">
+<Window Caption="Netcore Debugger" Width="Fit" Height="Fit" Resizable="false">
<Template>
- <Border Name="Content" Name="MoveHandle" Margin="5"/>
+ <Border Margin="5">
+ <HorizontalStack Fit="true">
+ <Image Name="MoveHandle" Path="#icons.move-arrows.svg" Width="12" Height="12"/>
+ <Container Name="Content"/>
+ </HorizontalStack>
+ </Border>
</Template>
- <HorizontalStack Fit="true">
- <Button Style="IcoBut" Command="{CMDDebugStart}"/>
- <Button Style="IcoBut" Command="{CMDDebugPause}"/>
- <Button Style="IcoBut" Command="{CMDDebugStop}"/>
- <Button Style="IcoBut" Command="{CMDDebugStepIn}"/>
- <Button Style="IcoBut" Command="{CMDDebugStepOut}"/>
- <Button Style="IcoBut" Command="{CMDDebugStepOver}"/>
- </VerticalStack>
-</DockWindow>
+ <HorizontalStack Fit="true">
+ <Button Style="IcoBut" Command="{CMDDebugStart}"/>
+ <Button Style="IcoBut" Command="{CMDDebugPause}"/>
+ <Button Style="IcoBut" Command="{CMDDebugStop}"/>
+ <Button Style="IcoBut" Command="{CMDDebugStepIn}"/>
+ <Button Style="IcoBut" Command="{CMDDebugStepOut}"/>
+ <Button Style="IcoBut" Command="{CMDDebugStepOver}"/>
+ </HorizontalStack>
+</kWindow>