Skip to content

Commit

Permalink
Bug fixes and results
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Mar 10, 2022
1 parent 99e63cf commit e6a5f44
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 61 deletions.
6 changes: 3 additions & 3 deletions AltCover.UICommon/AltCover.UICommon.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<EmbeddedResource Include="Property.png" />
<EmbeddedResource Include="Refresh.png" />
<EmbeddedResource Include="Refresh_greyThin.png" />
<EmbeddedResource Include="Report.png" />
<EmbeddedResource Include="ReportStale.png" />
<EmbeddedResource Include="ReportWarning.png" />
<EmbeddedResource Include="RawCodeCoverageDataFile.png" />
<EmbeddedResource Include="RawCodeCoverageDataFileStale.png" />
<EmbeddedResource Include="RawCodeCoverageDataFileWarning.png" />
<EmbeddedResource Include="Resource.eo.resx" />
<EmbeddedResource Include="Resource.resx" />
<EmbeddedResource Include="StatusError.png" />
Expand Down
6 changes: 3 additions & 3 deletions AltCover.UICommon/Icons.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ type Icons<'TIcon>(toIcon: System.IO.Stream -> 'TIcon) =
//with
//| x -> System.InvalidOperationException(name, x) |> raise

member self.Report = makeIcon "Report"
member self.Report = makeIcon "RawCodeCoverageDataFile"

member self.ReportDated =
makeIcon "ReportStale"
makeIcon "RawCodeCoverageDataFileStale"

member self.ReportWarning =
makeIcon "ReportWarning"
makeIcon "RawCodeCoverageDataFileWarning"

member self.Assembly = makeIcon "Assembly"
member self.Event = makeIcon "Event"
Expand Down
Binary file added AltCover.UICommon/RawCodeCoverageDataFile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AltCover.UICommon/RawCodeCoverageDataFileStale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AltCover.UICommon/RawCodeCoverageDataFileWarning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed AltCover.UICommon/Report.png
Binary file not shown.
Binary file removed AltCover.UICommon/ReportStale.png
Binary file not shown.
Binary file removed AltCover.UICommon/ReportWarning.png
Binary file not shown.
Binary file modified AltCover.Visualizer/Screenshot-Avalonia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AltCover.Visualizer/Screenshot-GTK.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AltCover.Visualizer/Screenshot-GTK3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 10 additions & 55 deletions AltCover.Visualizer/Visualizer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -183,63 +183,18 @@ module private Gui =
seq { 0 .. (types.Length - 1) }
|> Seq.iter (prepareTreeLine handler)

handler.classStructureTree.Model <-
new TreeStore(
#if !VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>
#else
typeof<Gdk.Pixbuf>
#endif
)

handler.classStructureTree.Model <-
new TreeStore(typeof<string>, typeof<Gdk.Pixbuf>, typeof<Gdk.Pixbuf>, typeof<string>,
typeof<Gdk.Pixbuf>, typeof<string>, typeof<Gdk.Pixbuf>,
typeof<string>, typeof<Gdk.Pixbuf>, typeof<string>,
typeof<Gdk.Pixbuf>)
handler.auxModel <-
new TreeStore(
#if !VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
new TreeStore(typeof<string>, typeof<Gdk.Pixbuf>, typeof<Gdk.Pixbuf>, typeof<string>,
typeof<Gdk.Pixbuf>, typeof<string>, typeof<Gdk.Pixbuf>,
typeof<string>, typeof<Gdk.Pixbuf>, typeof<string>,
typeof<Gdk.Pixbuf>)
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>,
#endif
typeof<Gdk.Pixbuf>,
typeof<string>,
#if VIS_PERCENT
typeof<string>
#else
typeof<Gdk.Pixbuf>
#endif
)

#if !NET472
[<AutoSerializable(false); Sealed>]
Expand Down Expand Up @@ -408,7 +363,7 @@ module private Gui =
table.Clear()

let topRow =
model.AppendValues(name, pc, icon.Force())
model.AppendValues(name, (*pc,*) icon.Force()) // VIS_PERCENT

if tip |> String.IsNullOrWhiteSpace |> not then
let path = model.GetPath(topRow)
Expand Down
16 changes: 16 additions & 0 deletions AltCover.Visualizer/images.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Screenshot-GTK.png -> README.core.md
Screenshot-Avalonia -> README.visualizer.md
Annotated.png
Annotation66a.png
FontSelection.png

---
TheVisualizer.md ->

Screenshot-Avalonia
Screenshot-GTK
Annotated.png
Annotation66a.png
FontSelection.png -- 328x112
Annotation66b.png
Screenshot-GTK3
Binary file modified AltCover.Visualizer/wiki/FontSelection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e6a5f44

Please sign in to comment.