
Changed most *-icon and *-logo function arguments to keyword arguments text-icon no longer uses font size Small doc changes
25 lines
753 B
Racket
25 lines
753 B
Racket
#lang racket/base
|
|
(require racket/class
|
|
racket/gui/base
|
|
string-constants/string-constant
|
|
images/compile-time
|
|
(for-syntax racket/base images/icons/tool images/icons/style))
|
|
(provide syncheck-drracket-button
|
|
syncheck-bitmap
|
|
syncheck-small-bitmap
|
|
syncheck:button-callback)
|
|
|
|
(define-local-member-name syncheck:button-callback)
|
|
|
|
(define syncheck-bitmap
|
|
(compiled-bitmap (check-syntax-icon #:height (toolbar-icon-height))))
|
|
(define syncheck-small-bitmap
|
|
(compiled-bitmap (small-check-syntax-icon #:height (toolbar-icon-height))))
|
|
|
|
(define syncheck-drracket-button
|
|
(list
|
|
(string-constant check-syntax)
|
|
syncheck-bitmap
|
|
(λ (drs-frame) (send drs-frame syncheck:button-callback))))
|
|
|