fixes for latest compiler and latest nimble
This commit is contained in:
parent
84ac041249
commit
0e39573031
12 changed files with 77 additions and 4353 deletions
|
|
@ -19,7 +19,7 @@ proc drawingAreaDrawCb(widget: DrawingArea; context: Context): bool =
|
|||
var redrawNumber {.global.} : int
|
||||
let width = getAllocatedWidth(widget)
|
||||
let height = getAllocatedHeight(widget)
|
||||
for i in 1 .. < NumPoints:
|
||||
for i in 1 ..< NumPoints:
|
||||
context.lineTo(i.float , sineToPoint(i + redrawNumber, width, height))
|
||||
context.stroke
|
||||
inc(redrawNumber)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue