aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/DebugLogAnalyzer/ui')
-rw-r--r--Samples/DebugLogAnalyzer/ui/Button.template12
-rw-r--r--Samples/DebugLogAnalyzer/ui/DbgEventTreeItems.itemp70
-rw-r--r--Samples/DebugLogAnalyzer/ui/DbgEventView.template44
-rw-r--r--Samples/DebugLogAnalyzer/ui/DbgEvtTooltip.crow42
-rw-r--r--Samples/DebugLogAnalyzer/ui/DebugLog.crow104
-rw-r--r--Samples/DebugLogAnalyzer/ui/EnumSelector.template10
-rw-r--r--Samples/DebugLogAnalyzer/ui/WidgetRecord.itemp11
-rw-r--r--Samples/DebugLogAnalyzer/ui/dbg.style37
-rw-r--r--Samples/DebugLogAnalyzer/ui/dbglog.crow100
-rw-r--r--Samples/DebugLogAnalyzer/ui/dockWindows/winLogGraph.crow15
-rw-r--r--Samples/DebugLogAnalyzer/ui/focused.crow17
-rw-r--r--Samples/DebugLogAnalyzer/ui/main.crow167
12 files changed, 0 insertions, 629 deletions
diff --git a/Samples/DebugLogAnalyzer/ui/Button.template b/Samples/DebugLogAnalyzer/ui/Button.template
deleted file mode 100644
index c7e2fa06..00000000
--- a/Samples/DebugLogAnalyzer/ui/Button.template
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<Border Background="{./Background}" MinimumSize="50,20" Name="Content"
- Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1"
- MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black};{caption.Foreground=White}"
- MouseLeave="{Foreground=Transparent};{caption.Foreground=LightGrey}"
- 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}">
- <HorizontalStack Margin="2">
- <Image Style="Icon" Path="{./Icon}"/>
- <Label Font="{./Font}" Name="caption" Margin="3" Foreground="LightGrey" Text="{./Caption}"/>
- </HorizontalStack>
-</Border> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/DbgEventTreeItems.itemp b/Samples/DebugLogAnalyzer/ui/DbgEventTreeItems.itemp
deleted file mode 100644
index 0dd44c74..00000000
--- a/Samples/DebugLogAnalyzer/ui/DbgEventTreeItems.itemp
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<ItemTemplate Data="Events">
- <ListItem Height="Fit"
- Selected="{/exp.Background=${ControlHighlight}}"
- Unselected="{/exp.Background=Transparent}">
- <Expandable Name="exp" Caption="{type}" MouseDoubleClick="/onClickForExpand" CacheEnabled="true" >
- <Template>
- <VerticalStack>
- <Border CornerRadius="2" Margin="0" Height="Fit" MouseDoubleClick="./onClickForExpand"
- Foreground="Transparent"
- Background="{./Background}"
- MouseEnter="{Foreground=DimGrey}"
- MouseLeave="{Foreground=Transparent}">
- <HorizontalStack Spacing="2" >
- <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
- Path="{./Image}"
- Visible="{HasChildEvents}"
- SvgSub="{./IsExpanded}"
- MouseEnter="{Background=LightGrey}"
- MouseLeave="{Background=Transparent}"/>
- <Label Text="{./Caption}" Width="80" Font="mono, 8" />
- <Label Text="{DurationMS}" Width="40" Font="mono, 8" TextAlignment="Center" Background="DimGrey"/>
- <DbgEventWidget Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" Width="Stretched" Height="5"/>
- </HorizontalStack>
- </Border>
- <Container Name="Content" Visible="false"/>
- </VerticalStack>
- </Template>
- <HorizontalStack Height="Fit">
- <Widget Width="12" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
- </ListItem>
-</ItemTemplate>
-<ItemTemplate Data="Events" DataType="DbgWidgetEvent">
- <ListItem Height="Fit"
- Selected="{/exp.Background=${ControlHighlight}}"
- Unselected="{/exp.Background=Transparent}">
- <Expandable Name="exp" Caption="{type}" MouseDoubleClick="/onClickForExpand" CacheEnabled="true" >
- <Template>
- <VerticalStack>
- <Border CornerRadius="2" Margin="0" Height="Fit" MouseDoubleClick="./onClickForExpand"
- Foreground="Transparent"
- Background="{./Background}"
- MouseEnter="{Foreground=DimGrey}"
- MouseLeave="{Foreground=Transparent}">
- <HorizontalStack Spacing="2" >
- <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
- Path="{./Image}"
- Visible="{HasChildEvents}"
- SvgSub="{./IsExpanded}"
- MouseEnter="{Background=LightGrey}"
- MouseLeave="{Background=Transparent}"/>
- <Label Text="{./Caption}" Width="80" Font="mono, 8" />
- <Label Text="{DurationMS}" Width="40" Font="mono, 8" TextAlignment="Center" Background="DimGrey"/>
- <Label Text="{InstanceIndex}" Width="40" Font="mono, 8" TextAlignment="Center" Background="DimGrey"/>
- <DbgEventWidget Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" Width="Stretched" Height="5"/>
- </HorizontalStack>
- </Border>
- <Container Name="Content" Visible="false"/>
- </VerticalStack>
- </Template>
- <HorizontalStack Height="Fit">
- <Widget Width="12" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
- </ListItem>
-</ItemTemplate> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/DbgEventView.template b/Samples/DebugLogAnalyzer/ui/DbgEventView.template
deleted file mode 100644
index 2a61874e..00000000
--- a/Samples/DebugLogAnalyzer/ui/DbgEventView.template
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0"?>
-<VerticalStack Margin="${TooltipMargin}" DataSource="{./Event}">
- <Label Text="{type}" Background="{Color}" Foreground="Black" Width="200" TextAlignment="Center" Margin="6"/>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Visible="{IsWidgetEvent}" Background="DimGrey" Margin="2">
- <Label Text="Instance:" Foreground="White" Width="50%" />
- <Label Text="{InstanceIndex}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <Label Text="{Message}" Foreground="White" Background="Onyx" Width="Stretched" Visible="{HasMessage}" Margin="2" Tooltip="{}"/>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Duration(ms):" Foreground="White" Width="50%" />
- <Label Text="{DurationMS}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="Begin(s):" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{BeginMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="End(s):" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{EndMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <VerticalStack Height="Fit" Width="Stretched" IsVisible="{IsLayoutEvent}" >
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Layout:" Foreground="White" Width="50%" />
- <Label Text="{layouting}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Result:" Foreground="White" Width="50%" />
- <Label Text="{result}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Old Slot:" Foreground="White" Width="50%" />
- <Label Text="{OldSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="New Slot:" Foreground="White" Width="50%" />
- <Label Text="{NewSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- </VerticalStack>
- <DbgEventWidget Height="10" Width="Stretched" Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" />
- <GroupBox Caption="Parent Event" Height="Fit" >
- <DbgEventWidget Height="10" Width="Stretched" Event="{parentEvent}" Tooltip="#Dbg.DbgEvtTooltip.crow" />
- </GroupBox>
- <!--<Label Text="{}" Foreground="${TooltipForeground}"/>-->
-</VerticalStack> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/DbgEvtTooltip.crow b/Samples/DebugLogAnalyzer/ui/DbgEvtTooltip.crow
deleted file mode 100644
index a3369249..00000000
--- a/Samples/DebugLogAnalyzer/ui/DbgEvtTooltip.crow
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<Border Fit="true" Foreground="${TooltipForeground}" Background="${TooltipBackground}">
- <VerticalStack Fit="true" Margin="${TooltipMargin}" DataSource="{HoverEvent}">
- <Label Text="{type}" Background="{Color}" Foreground="Black" Width="200" TextAlignment="Center" Margin="6"/>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Visible="{IsWidgetEvent}" Background="DimGrey" Margin="2">
- <Label Text="Instance:" Foreground="White" Width="50%" />
- <Label Text="{InstanceIndex}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <Label Text="{Message}" Foreground="White" Background="Onyx" Width="Stretched" Visible="{HasMessage}" Margin="2" Tooltip="{}"/>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Duration:" Foreground="White" Width="50%" />
- <Label Text="{DurationMS}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="Begin:" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{BeginMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="End:" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{EndMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <VerticalStack Height="Fit" Width="Stretched" IsVisible="{IsLayoutEvent}" >
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Layout:" Foreground="White" Width="50%" />
- <Label Text="{layouting}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Result:" Foreground="White" Width="50%" />
- <Label Text="{result}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Old Slot:" Foreground="White" Width="50%" />
- <Label Text="{OldSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="New Slot:" Foreground="White" Width="50%" />
- <Label Text="{NewSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- </VerticalStack>
- <!--<Label Text="{}" Foreground="${TooltipForeground}"/>-->
- </VerticalStack>
-</Border> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/DebugLog.crow b/Samples/DebugLogAnalyzer/ui/DebugLog.crow
deleted file mode 100644
index a4e947af..00000000
--- a/Samples/DebugLogAnalyzer/ui/DebugLog.crow
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0"?>
-<Window Caption="Debug Log" Background="0.05,0.05,0.1,0.9" Width="80%" Height="80%">
- <VerticalStack>
- <TabView>
- <VerticalStack Name="LogGraph" Background="DarkGrey">
- <EnumSelector RadioButtonStyle="CheckBox2" Template="#Dbg.EnumSelector.template"
- Caption="Discarded Events" EnumValue="{²../dbv.Filter}" BitFieldExcludeMask="255" />
- <HorizontalStack>
- <DbgLogViewer Visible="true" Name="dbv" Events="{Events}" Widgets="{Widgets}"
- CurrentEvent="{²CurrentEvent}" CurrentWidget="{²CurrentWidget}" />
- <ScrollBar Maximum="{../dbv.MaxScrollY}" Value="{²../dbv.ScrollY}" SmallIncrement="1" LargeIncrement="10"
- CursorRatio="{../dbv.ChildHeightRatio}"/>
- </HorizontalStack>
- <ScrollBar Style="HScrollBar" Maximum="{../dbv.MaxScrollX}" Value="{²../dbv.ScrollX}" SmallIncrement="1" LargeIncrement="10"
- CursorRatio="{../dbv.ChildWidthRatio}"/>
- <HorizontalStack Height="Fit" DataSource="{CurrentWidget}" Spacing="3">
- <Label Style="smallLabValue" Text="{name}"/>
- <Label Style="smallLabValue" Text="{listIndex}" Tooltip="List index"/>
- <Label Style="smallLabValue" Text="{treeIndex}" Tooltip="tree index"/>
- <Label Style="smallLabValue" Text="{yIndex}" Tooltip="yIndex"/>
- <Label Style="smallLabValue" Text="{xLevel}" Tooltip="xLevel"/>
- <Label Style="smallLabCaption" Text="Width:"/>
- <Label Style="smallLabValue" Text="{Width}"/>
- <Label Style="smallLabCaption" Text="Height:" />
- <Label Style="smallLabValue" Text="{Height}"/>
- <Label Style="smallLabCaption" Text="ScrollX:" />
- <Label Style="smallLabValue" Text="{../../dbv.ScrollX}"/>
- <Label Style="smallLabCaption" Text="MaxScrollX:" />
- <Label Style="smallLabValue" Text="{../../dbv.MaxScrollX}"/>
- <Label Style="smallLabValue" Tooltip="XScale" Text="{../../dbv.XScale}"/>
- <Label Style="smallLabValue" Tooltip="VisibleTicks" Text="{../../dbv.VisibleTicks}"/>
- </HorizontalStack>
- </VerticalStack>
- <VerticalStack Name="AllEvents" Width="Stretched" IsVisible="false">
- <TreeView Height="Stretched" Name="dbgTV" Data="{Events}" SelectedItem="{²CurrentEvent}" Background="DarkGrey"
- ItemTemplate="#Dbg.DbgEventTreeItems.itemp"/>
- <ListBox Data="{CurWidgetEvents}" Height="100" SelectedItem="{²CurrentEvent}">
- <ItemTemplate>
- <ListItem Margin="0" Height="16" Width="Fit"
- Selected="{Background=${ControlHighlight}}"
- Unselected="{Background=Transparent}">
- <DbgEventWidget Height="10" Width="Fit" Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" TicksPerPixel="20" VerticalAlignment="Center"/>
- </ListItem>
- </ItemTemplate>
- <Template>
- <Wrapper Name="ItemsContainer" Spacing="1" Background="DarkGrey"/>
- </Template>
- </ListBox>
- </VerticalStack>
- <VerticalStack Name="CurWidgetEvents" Width="Stretched" IsVisible="false">
- <TreeView Height="Stretched" Data="{CurrentWidgetEvents}" Background="DarkGrey"
- ItemTemplate="#Dbg.DbgEventTreeItems.itemp"/>
- </VerticalStack>
- </TabView>
- <Splitter/>
- <HorizontalStack Height="30%">
- <ListBox Data="{Widgets}" Width="200" SelectedItem="{²CurrentWidget}"
- ItemTemplate="#Dbg.WidgetRecord.itemp">
- </ListBox>
- <Splitter/>
- <VerticalStack>
- <HorizontalStack Height="Fit" Background="Onyx" Spacing="5">
- <Label Text="{CurrentWidget}"/>
- <Label Text="events"/>
- </HorizontalStack>
- <ListBox Data="{CurrentWidgetEvents}" Background="Black" SelectedItem="{²CurrentEvent}">
- <ItemTemplate>
- <ListItem Margin="0" Height="16" IsSelected="{²IsSelected}" Width="Fit"
- Selected="{Background=${ControlHighlight}}" Template="Crow.ScrollingListBox.template"
- Unselected="{Background=Transparent}">
- <DbgEventWidget Height="10" Width="Fit" Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" TicksPerPixel="50" VerticalAlignment="Center"/>
- </ListItem>
- </ItemTemplate>
- <Template>
- <Wrapper Name="ItemsContainer" Spacing="1" Background="{./Background}"/>
- </Template>
- </ListBox>
- <!--<TreeView Data="{Events}" SelectedItem="{²CurrentEvent}" Background="DarkGrey"
- ItemTemplate="#Dbg.DbgEventTreeItems.itemp"/>-->
- </VerticalStack>
- <Splitter/>
- <DbgEventView Template="#Dbg.DbgEventView.template" Event="{../../dbv.HoverEvent}"/>
- <Splitter/>
- <DbgEventView Template="#Dbg.DbgEventView.template" Event="{CurrentEvent}"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Background="Onyx" Margin="1">
- <HorizontalStack Height="Fit" DataSource="{CurrentEvent}">
- <Label Foreground="Black" Text="Current Event:" Background="{Color}" Margin="2" />
- <DbgEventWidget Height="14" Width="Stretched" Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" />
- </HorizontalStack>
- <Menu Fit="true" Data="{EventCommands}">
- <ItemTemplate>
- <Button Command="{}"/>
- </ItemTemplate>
- </Menu>
- <Popper Caption="Search...">
- <VerticalStack Fit="true" Background="Onyx" Margin="10">
- <ComboBox Caption="Event Type" Data="{AllEventTypes}" SelectedItem="{²SearchEventType}"/>
- <ComboBox Caption="Widget" Data="{Widgets}" SelectedItem="{²SearchWidget}"/>
- </VerticalStack>
- </Popper>
- </HorizontalStack>
- </VerticalStack>
-</Window> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/EnumSelector.template b/Samples/DebugLogAnalyzer/ui/EnumSelector.template
deleted file mode 100644
index 01d04383..00000000
--- a/Samples/DebugLogAnalyzer/ui/EnumSelector.template
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<Popper >
- <Template>
- <HorizontalStack Background="{../../Background}" Margin="5" Spacing="10">
- <Label Text="{../../../Caption}" Width="Stretched"/>
- <Label Background="SeaGreen" Text="{../../../EnumValue}" Margin="3"/>
- </HorizontalStack>
- </Template>
- <Wrapper Name="Content" Height="Fit" Width="{../PopWidth}" Background="Jet" />
-</Popper> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/WidgetRecord.itemp b/Samples/DebugLogAnalyzer/ui/WidgetRecord.itemp
deleted file mode 100644
index 2b1297d3..00000000
--- a/Samples/DebugLogAnalyzer/ui/WidgetRecord.itemp
+++ /dev/null
@@ -1,11 +0,0 @@
-<ListItem Height="Fit" Margin="1" Focusable="true" HorizontalAlignment="Left"
- Selected = "{Background=${ControlHighlight}}"
- Unselected = "{Background=Transparent}">
- <HorizontalStack>
- <Label Text="{name}" Width="Stretched"/>
- <Label Style="labWidgetRecordList" Text="{listIndex}" Tooltip="List index"/>
- <Label Style="labWidgetRecordList" Text="{treeIndex}" Tooltip="tree index"/>
- <Label Style="labWidgetRecordList" Text="{yIndex}" Tooltip="yIndex"/>
- <Label Style="labWidgetRecordList" Text="{xLevel}" Tooltip="xLevel"/>
- </HorizontalStack>
-</ListItem> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/dbg.style b/Samples/DebugLogAnalyzer/ui/dbg.style
deleted file mode 100644
index ee2b14c1..00000000
--- a/Samples/DebugLogAnalyzer/ui/dbg.style
+++ /dev/null
@@ -1,37 +0,0 @@
-IcoButton {
- Template = "#Dbg.Button.template";
- Background = "Onyx";
-}
-CheckBox2 {
- Width = "200";
-}
-smallLabCaption {
- Font="mono, 8";
- Foreground="Grey";
-}
-smallLabValue {
- Font="mono, 10";
- Foreground="White";
-}
-DbgLogViewer {
- MouseWheelSpeed="3";
- Font="mono, 8";
- Background="Onyx";
- CacheEnabled = "true";
-}
-DbgEventView {
- Height="Fit";
- Width="150";
-}
-labWidgetRecordList {
- Font="mono, 11";
- Background="Grey";
- Foreground="Jet";
- Margin="0";
- Width="24";
- TextAlignment="Right";
-}
-
-DbgEventWidget {
- CacheEnabled = "true";
-} \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/dbglog.crow b/Samples/DebugLogAnalyzer/ui/dbglog.crow
deleted file mode 100644
index fd42833c..00000000
--- a/Samples/DebugLogAnalyzer/ui/dbglog.crow
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<VerticalStack>
- <VerticalStack Height="40%">
- <DbgLogViewer Visible="true" Name="dbv" Events="{Events}" Widgets="{Widgets}" MouseWheelSpeed="10" Font="mono, 8"
- CurrentEvent="{²CurrentEvent}" CurrentWidget="{²CurrentWidget}" Background="Onyx"/>
- <ScrollBar Style="HScrollBar" Maximum="{../dbv.MaxScrollX}" Value="{²../dbv.ScrollX}"/>
- <HorizontalStack Height="Fit" DataSource="{CurrentWidget}">
- <Label Text="{name}"/>
- <Label Text="{listIndex}"/>
- <Label Text="{treeIndex}"/>
- <Label Text="{yIndex}"/>
- <Label Text="{xLevel}"/>
- <Label Text="Width:" Foreground="Grey"/>
- <Label Text="{Width}"/>
- <Label Text="Height:" Foreground="Grey"/>
- <Label Text="{Height}"/>
- <Label Text="ScrollX:" Foreground="Grey"/>
- <Label Text="{../../dbv.ScrollX}"/>
- <Label Text="MaxScrollX:" Foreground="Grey"/>
- <Label Text="{../../dbv.MaxScrollX}"/>
- </HorizontalStack>
- </VerticalStack>
- <Splitter/>
- <HorizontalStack Height="40%">
- <VerticalStack Width="Stretched">
- <TreeView Height="Stretched" Name="dbgTV" Data="{Events}" SelectedItem="{²CurrentEvent}" Background="DarkGrey"
- SelectedItemContainerChanged="onSelectedItemContainerChanged" Painted="onTvPainted"
- ItemTemplate="#Dbg.DbgEventTreeItems.itemp"/>
- <ListBox Data="{CurWidgetRootEvents}" Height="100" SelectedItem="{²CurrentEvent}">
- <ItemTemplate>
- <ListItem Margin="0" Height="16" IsSelected="{²IsSelected}" Width="Fit"
- Selected="{Background=${ControlHighlight}}"
- Unselected="{Background=Transparent}">
- <DbgEventWidget Height="10" Width="Fit" Event="{}" Tooltip="#Dbg.DbgEvtTooltip.crow" TicksPerPixel="20" VerticalAlignment="Center"/>
- </ListItem>
- </ItemTemplate>
- <Template>
- <Wrapper Name="ItemsContainer" Spacing="0" Background="DarkGrey"/>
- </Template>
- </ListBox>
- </VerticalStack>
- <Splitter/>
- <VerticalStack Height="Stretched" Width="20%" Margin="${TooltipMargin}" DataSource="{CurrentEvent}">
- <Label Text="{type}" Background="{Color}" Foreground="Black" Width="200" TextAlignment="Center" Margin="6"/>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Visible="{IsWidgetEvent}" Background="DimGrey" Margin="2">
- <Label Text="Instance:" Foreground="White" Width="50%" />
- <Label Text="{InstanceIndex}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Duration:" Foreground="White" Width="50%" />
- <Label Text="{Duration}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="Begin:" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{begin}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
- <Label Text="End:" Foreground="${TooltipForeground}" Width="50%"/>
- <Label Text="{end}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>
- </HorizontalStack>
- <VerticalStack Height="Fit" Width="Stretched" >
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Layout:" Foreground="White" Width="50%" />
- <Label Text="{layouting}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Result:" Foreground="White" Width="50%" />
- <Label Text="{result}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="Old Slot:" Foreground="White" Width="50%" />
- <Label Text="{OldSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
- <Label Text="New Slot:" Foreground="White" Width="50%" />
- <Label Text="{NewSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>
- </HorizontalStack>
- </VerticalStack>
- <!--<Label Text="{}" Foreground="${TooltipForeground}"/>-->
- </VerticalStack>
- </HorizontalStack>
- <Splitter/>
- <VerticalStack Name="vs">
-
- <VerticalStack DataSource="{CurrentEvent}">
- <ListBox Data="{Events}" Height="100" SelectedItem="{²CurrentEvent}">
- <ItemTemplate>
- <ListItem Margin="0" IsSelected="{²IsSelected}" Height="12"
- Selected="{Background=${ControlHighlight}}"
- Unselected="{Background=Transparent}">
- <HorizontalStack>
- <Label Text="{type}" Width="80"/>
- <DbgEventWidget Height="8" Width="Stretched" Event="{}"/>
- </HorizontalStack>
- </ListItem>
- </ItemTemplate>
- </ListBox>
- </VerticalStack>
- </VerticalStack>
-</VerticalStack> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/dockWindows/winLogGraph.crow b/Samples/DebugLogAnalyzer/ui/dockWindows/winLogGraph.crow
deleted file mode 100644
index 7e6a11b8..00000000
--- a/Samples/DebugLogAnalyzer/ui/dockWindows/winLogGraph.crow
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<DockWindow Caption="Debug Log" Background="0.05,0.05,0.1,0.9" Width="80%" Height="80%">
- <VerticalStack Name="LogGraph" Background="DarkGrey">
- <EnumSelector RadioButtonStyle="CheckBox2" Template="#Dbg.EnumSelector.template"
- Caption="Discarded Events" EnumValue="{²../dbv.Filter}" BitFieldExcludeMask="255" />
- <HorizontalStack>
- <DbgLogViewer Visible="true" Name="dbv" Events="{Events}" Widgets="{Widgets}"
- CurrentEvent="{²CurrentEvent}" CurrentWidget="{²CurrentWidget}" />
- <ScrollBar Maximum="{../dbv.MaxScrollY}" Value="{²../dbv.ScrollY}" SmallIncrement="1" LargeIncrement="10"
- CursorRatio="{../dbv.ChildHeightRatio}"/>
- </HorizontalStack>
- <ScrollBar Style="HScrollBar" Maximum="{../dbv.MaxScrollX}" Value="{²../dbv.ScrollX}" SmallIncrement="1" LargeIncrement="10"
- CursorRatio="{../dbv.ChildWidthRatio}"/>
- </VerticalStack>
-</Window> \ No newline at end of file
diff --git a/Samples/DebugLogAnalyzer/ui/focused.crow b/Samples/DebugLogAnalyzer/ui/focused.crow
deleted file mode 100644
index 755345ae..00000000
--- a/Samples/DebugLogAnalyzer/ui/focused.crow
+++ /dev/null
@@ -1,17 +0,0 @@
-<Window Width="80%" Movable="false">
- <VerticalStack>
- <HorizontalStack Height="Fit">
- <Label Text="Hover:" Width="50" Foreground="Grey"/>
- <Label Text="{HoverWidget}" Font="mono, 8"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit">
- <Label Text="Focus:" Width="50" Foreground="Grey"/>
- <Label Text="{FocusedWidget}" Font="mono, 8"/>
- </HorizontalStack>
- <HorizontalStack Height="Fit">
- <Label Text="Active:" Width="50" Foreground="Grey"/>
- <Label Text="{ActiveWidget}" Font="mono, 8"/>
- </HorizontalStack>
- </VerticalStack>
-</Window>
-
diff --git a/Samples/DebugLogAnalyzer/ui/main.crow b/Samples/DebugLogAnalyzer/ui/main.crow
deleted file mode 100644
index bbeffe0f..00000000
--- a/Samples/DebugLogAnalyzer/ui/main.crow
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0"?>
-<VerticalStack Background="DarkGrey">
- <HorizontalStack >
- <TabView Width="25%" >
- <VerticalStack Name="Explorer" Background="Onyx">
- <HorizontalStack Height="Fit" Margin="2" >
- <Image Margin="2" Width="16" Height="16" Path="#Crow.Icons.level-up.svg" MouseClick="goUpDirClick"
- Background="Jet" MouseEnter="{Background=Grey}" MouseLeave="{Background=Jet}" />
- <TextBox Text="{²CurrentDir}" Margin="2"/>
- </HorizontalStack>
- <DirectoryView Margin="1" Name="dv" CurrentDirectory="{CurrentDir}" SelectedItemChanged="Dv_SelectedItemChanged">
- <Template>
- <TreeView IsRoot="true" Name="treeView" Data="{./FileSystemEntries}" Background="{./Background}"
- SelectedItemChanged="./onSelectedItemChanged">
- <ItemTemplate DataType="System.IO.FileInfo">
- <ListItem CornerRadius="2" Margin="0" Height="Fit" Width="Stretched"
- ContextCommands="{GetCommands}"
- Selected="{Background=${ControlHighlight}}"
- Unselected="{Background=Transparent}">
- <HorizontalStack>
- <Image Margin="1" Width="14" Height="14" Path="#Crow.Icons.file.svg"/>
- <Label Text="{Name}" Width="Stretched"/>
- </HorizontalStack>
- </ListItem>
- </ItemTemplate>
- <ItemTemplate DataType="System.IO.DirectoryInfo" Data="GetFileSystemInfosOrdered">
- <ListItem ContextCommands="{GetCommands}"
- Selected="{/exp.Background=${ControlHighlight}}"
- Unselected="{/exp.Background=Transparent}">
- <Expandable Name="exp" Caption="{Name}" MouseDoubleClick="/onClickForExpand">
- <Template>
- <VerticalStack>
- <Border CornerRadius="2" Margin="0" Height="Fit" MouseDoubleClick="./onClickForExpand"
- Foreground="Transparent"
- MouseEnter="{Foreground=DimGrey}"
- MouseLeave="{Foreground=Transparent}">
- <HorizontalStack Background="{./Background}" Spacing="1">
- <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
- Path="{./Image}"
- Visible="{./IsExpandable}"
- SvgSub="{./IsExpanded}"
- MouseEnter="{Background=LightGrey}"
- MouseLeave="{Background=Transparent}"/>
- <Image Margin="1" Width="16" Height="16"
- Path="#Crow.Icons.folder.svg" SvgSub="{./IsExpanded}"/>
- <Label Text="{./Caption}"/>
- </HorizontalStack>
- </Border>
- <Container Name="Content" Visible="false"/>
- </VerticalStack>
- </Template>
- <HorizontalStack Height="Fit">
- <Widget Width="12" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
- </ListItem>
- </ItemTemplate>
- </TreeView>
- </Template>
- </DirectoryView>
- </VerticalStack>
- <VerticalStack Name="DebugLogger" Margin="5" IsVisible="false" Background="Onyx">
- <HorizontalStack Height="Fit">
- <Image Width="30" Height="20" Path="#Crow.Icons.IconAlerte.svg" Visible="{../../../../dbgIfaceWidget.CrowDebuggerNOK}"/>
- <Label Fit="true" Text="Crow debug assembly path:"/>
- <Widget Width="5" Height="5" Background="SeaGreen" IsVisible="{../../../../dbgIfaceWidget.HasFocus}"/>
- <Widget Width="5" Height="5" Background="Yellow" IsVisible="{../../../../dbgIfaceWidget.IsHover}"/>
- <TextBox Text="{²CrowDbgAssemblyLocation}" Margin="2"/>
- </HorizontalStack>
- <Label Background="Red" Foreground="White" Margin="5" Width="Stretched" Text="{../../../dbgIfaceWidget.CrowDebuggerErrorMessage}"
- IsVisible="{../../../dbgIfaceWidget.CrowDebuggerNOK}"/>
- <HorizontalStack Height="Fit" Width="Stretched" Background="Onyx" Margin="5">
- <Label Text="Debug log output file:" Fit="true"/>
- <TextBox Text="{²../../../../dbgIfaceWidget.DebugLogFilePath}" />
- <Button Command="{../../../../dbgIfaceWidget.CMDSelectDebugLogFilePath}"/>
- </HorizontalStack>
- <EnumSelector RadioButtonStyle="CheckBox2" Template="#Dbg.EnumSelector.template"
- Background="Grey"
- Caption="Recorded Events" EnumValue="{²RecordedEvents}" BitFieldExcludeMask="255" />
- <EnumSelector RadioButtonStyle="CheckBox2" Template="#Dbg.EnumSelector.template"
- Background="Onyx"
- Caption="Discarded Events" EnumValue="{²DiscardedEvents}" BitFieldExcludeMask="255" />
- <CheckBox Caption="Begin recording on startup" IsChecked="{²DebugLogOnStartup}" Background="Onyx"/>
- <HorizontalStack Height="Fit">
- <CheckBox Caption="Recording" IsChecked="{²DebugLogRecording}" Height="40" Width="60"
- Checked="{sh.Path='A 8,8,7.5,0,6.3 O 0.8,0,0,1 f O 0,0,0,0.5 G'}"
- Unchecked="{sh.Path='R 0.5,0.5,15,15 f O 0,0,0,1 G'}">
- <Template>
- <Border Background="Onyx" Margin="10" CornerRadius="5">
- <Shape Name="sh" Foreground="Grey" Size="16,16" Path="R 0.5,0.5,15,15 f O 0,0,0,1 G"/>
- </Border>
- </Template>
- </CheckBox>
- <Menu Data="{../../../../dbgIfaceWidget.LoggerCommands}" Height="Fit" Width="Stretched">
- <Template>
- <Wrapper Orientation="Vertical" Name="ItemsContainer" Margin="0" Background="{./Background}"/>
- </Template>
- <ItemTemplate>
- <Button Command="{}" Height="Fit" Width="Fit"/>
- </ItemTemplate>
- </Menu>
- </HorizontalStack>
- </VerticalStack>
- </TabView>
- <Splitter Width="6" />
- <VerticalStack>
- <DebugInterfaceWidget Name="dbgIfaceWidget" Height="60%" Background="Black" Focusable="true"
- CrowDbgAssemblyLocation="{²CrowDbgAssemblyLocation}"
- Recording="{²DebugLogRecording}"
- IMLSource="{Source}"
- CurrentException="{²CurrentException}"
- DiscardedEvents="{DiscardedEvents}" RecordedEvents="{RecordedEvents}"/>
- <Splitter/>
- <!--<TabView>-->
- <VerticalStack Name="Editor" Spacing="0">
- <HorizontalStack Height="Fit">
- <Button Style="IcoButton" Command="{CMDNew}" />
- <Button Style="IcoButton" Command="{CMDSave}" />
- <Button Style="IcoButton" Command="{CMDSaveAs}" />
- <Button Style="IcoButton" Command="{CMDUndo}" />
- <Button Style="IcoButton" Command="{CMDRedo}" />
- <!--<Button Style="IcoButton" Command="{CMDCut}" />
- <Button Style="IcoButton" Command="{CMDCopy}" />
- <Button Style="IcoButton" Command="{CMDPaste}" />-->
- <Widget Width="Stretched" />
- <Widget Background="Red" IsVisible="{DebugLogRecording}" CornerRadius="10" Width="12" Height="12"/>
- </HorizontalStack>
-
- <HorizontalStack>
- <Editor Name="tb" Text="{Source}" Multiline="true" Font="consolas, 12" Focusable="true" Height="Stretched" Width="Stretched"
- TextChanged="onTextChanged" KeyDown="textView_KeyDown" ContextCommands="{EditorCommands}"
- Foreground="DarkGrey" Background="White"/>
- <!--SelectionChanged="onSelectedTextChanged"-->
- <ScrollBar Value="{²../tb.ScrollY}"
- LargeIncrement="{../tb.PageHeight}" SmallIncrement="1"
- CursorRatio="{../tb.ChildHeightRatio}" Maximum="{../tb.MaxScrollY}" />
- </HorizontalStack>
- <ScrollBar Style="HScrollBar" Value="{²../tb.ScrollX}"
- LargeIncrement="{../tb.PageWidth}" SmallIncrement="1"
- CursorRatio="{../tb.ChildWidthRatio}" Maximum="{../tb.MaxScrollX}" />
- <HorizontalStack Height="Fit" Spacing="10" Background="DarkGrey">
- <Widget Width="10" Height="10" Background="RoyalBlue" Visible="{IsDirty}"/>
- <Label Text="{CurrentFile}" Width="Stretched"/>
- <Widget Width="Stretched"/>
- <Label Text="Line:" Foreground="Grey"/>
- <Label Text="{../../tb.CurrentLine}" Margin="2"/>
- <Label Text="Col:" Foreground="Grey"/>
- <Label Text="{../../tb.CurrentColumn}" Margin="2"/>
- </HorizontalStack>
- <Popper IsVisible="{ShowError}" Background="Red">
- <Template>
- <CheckBox IsChecked="{²./IsPopped}" MouseEnter="{IsChecked='true'}" MouseLeave="{IsChecked='false'}">
- <Template>
- <Label Text="{CurrentExceptionMSG}" Background="Red" Foreground="White" Width="Stretched" Margin="2"
- Multiline="true"/>
- </Template>
- </CheckBox>
- </Template>
- <Label Text="{CurrentException}" Background="DarkRed" Foreground="White" Width="Stretched" Margin="2" Multiline="true"/>
- </Popper>
- </VerticalStack>
-
- <!--</TabView>-->
- </VerticalStack>
- </HorizontalStack>
-</VerticalStack> \ No newline at end of file