dc-for-text-size
This commit is contained in:
parent
7204b221ee
commit
7a4ce679cd
|
@ -25,6 +25,7 @@
|
|||
(super-output!
|
||||
(gui/val-g c)
|
||||
(λ (w h dc)
|
||||
(parameterize ([dc-for-text-size dc])
|
||||
(send dc set-background "black")
|
||||
(send dc clear)
|
||||
(define sp
|
||||
|
@ -37,7 +38,7 @@
|
|||
(define top (/ (- h sph) 2))
|
||||
(send dc set-brush "white" 'solid)
|
||||
(send dc draw-rectangle left top spw sph)
|
||||
(draw-pict sp dc left top))))
|
||||
(draw-pict sp dc left top)))))
|
||||
(define (chaos-label! c l)
|
||||
(super-label! (gui/val-g c) l))
|
||||
(define (chaos-swap! c t)
|
||||
|
|
Loading…
Reference in New Issue