wumpus-tree 0.4.0 → 0.5.0
raw patch · 3 files changed
+15/−10 lines, 3 filesdep ~wumpus-basicdep ~wumpus-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: wumpus-basic, wumpus-core
API changes (from Hackage documentation)
- Wumpus.Tree: line_width :: DrawingAttr -> Double
+ Wumpus.Tree: stroke_props :: DrawingAttr -> StrokeAttr
- Wumpus.Tree: DrawingAttr :: Double -> FontAttr -> RGBi -> RGBi -> DrawingAttr
+ Wumpus.Tree: DrawingAttr :: StrokeAttr -> FontAttr -> RGBi -> RGBi -> DrawingAttr
Files
- src/Wumpus/Tree/Draw.hs +6/−5
- src/Wumpus/Tree/VersionNumber.hs +2/−2
- wumpus-tree.cabal +7/−3
src/Wumpus/Tree/Draw.hs view
@@ -60,11 +60,12 @@ connector :: (Floating u, Real u, InnerSpace (Vec2 u)) => DotAnchor u -> DotAnchor u -> Drawing u ()-connector afrom ato = trace $ wrapG $ ostroke black $ vertexPath [p0,p1]- where - (ang0,ang1) = anchorAngles (center afrom) (center ato)- p0 = radialAnchor ang0 afrom- p1 = radialAnchor ang1 ato +connector afrom ato = + trace $ wrapG $ ostroke black default_stroke_attr $ vertexPath [p0,p1]+ where + (ang0,ang1) = anchorAngles (center afrom) (center ato)+ p0 = radialAnchor ang0 afrom+ p1 = radialAnchor ang1 ato
src/Wumpus/Tree/VersionNumber.hs view
@@ -22,7 +22,7 @@ -- | Version number ----- > (0,4,0)+-- > (0,5,0) -- wumpus_tree_version :: (Int,Int,Int)-wumpus_tree_version = (0,4,0)+wumpus_tree_version = (0,5,0)
wumpus-tree.cabal view
@@ -1,5 +1,5 @@ name: wumpus-tree-version: 0.4.0+version: 0.5.0 license: BSD3 license-file: LICENSE copyright: Stephen Tetley <stephen.tetley@gmail.com>@@ -18,6 +18,10 @@ . Changelog: .+ 0.4.0 to 0.5.0:+ .+ * Updated to track changes in Wumpus-Basic. Nothing new.+ . 0.3.0 to 0.4.0: . * Updated to track changes in Wumpus-Basic. Nothing new.@@ -49,8 +53,8 @@ build-depends: base < 5, containers >= 0.3.0 && < 0.4.0, vector-space >= 0.6,- wumpus-core >= 0.23.0,- wumpus-basic >= 0.4.0+ wumpus-core == 0.31.0,+ wumpus-basic == 0.6.0 exposed-modules: