fix contract-related errors in framework/splash
This commit is contained in:
parent
3af5db35be
commit
7c43e6d876
|
@ -13,12 +13,14 @@
|
||||||
[get-splash-canvas (-> (is-a?/c canvas%))]
|
[get-splash-canvas (-> (is-a?/c canvas%))]
|
||||||
[get-splash-eventspace (-> eventspace?)]
|
[get-splash-eventspace (-> eventspace?)]
|
||||||
[get-splash-paint-callback (-> procedure?)]
|
[get-splash-paint-callback (-> procedure?)]
|
||||||
[set-splash-paint-callback (-> (-> (is-a?/c dc<%>)
|
[set-splash-paint-callback (-> (or/c (-> (is-a?/c dc<%>)
|
||||||
exact-nonnegative-integer?
|
exact-nonnegative-integer?
|
||||||
exact-nonnegative-integer?
|
exact-nonnegative-integer?
|
||||||
exact-nonnegative-integer?
|
exact-nonnegative-integer?
|
||||||
exact-nonnegative-integer?
|
exact-nonnegative-integer?
|
||||||
any)
|
any)
|
||||||
|
(-> (is-a?/c dc<%>)
|
||||||
|
any))
|
||||||
void?)]
|
void?)]
|
||||||
[start-splash
|
[start-splash
|
||||||
(->* ((or/c path-string?
|
(->* ((or/c path-string?
|
||||||
|
@ -152,7 +154,9 @@
|
||||||
[else
|
[else
|
||||||
(parameterize ([current-eventspace splash-eventspace])
|
(parameterize ([current-eventspace splash-eventspace])
|
||||||
(queue-callback
|
(queue-callback
|
||||||
recompute-bitmap/refresh))]))
|
recompute-bitmap/refresh))])
|
||||||
|
|
||||||
|
(void))
|
||||||
|
|
||||||
(define (set-splash-progress-bar?! b?)
|
(define (set-splash-progress-bar?! b?)
|
||||||
(on-splash-eventspace/ret
|
(on-splash-eventspace/ret
|
||||||
|
|
Loading…
Reference in New Issue
Block a user