racket/collects/drracket/syncheck-drracket-button.rkt
Neil Toronto 4012373a8c Started icon reorganization
- SVG icon sources
 - Playback-style icons, logos, stop signs, magnifying glasses, etc., in diffuse and shiny styles
 - Program to pre-render SVG files (icons/private/svg/render-png.rkt)
 - Pre-rendered icons (PNGs in power-of-2 sizes)
 - Made `icons' a module, with functions to conveniently load icons and convert to/from picts
 - Scribble docs for `icons'
 - Used new icons in DrRacket toolbar
2011-11-28 22:09:15 -08:00

22 lines
610 B
Racket

#lang racket/base
(require racket/class
racket/gui/base
string-constants/string-constant
icons)
(provide syncheck-drracket-button
syncheck-bitmap
syncheck-small-bitmap
syncheck:button-callback)
(define-local-member-name syncheck:button-callback)
(define syncheck-bitmap (check-syntax-icon (toolbar-icon-height)))
(define syncheck-small-bitmap (check-syntax-small-icon (toolbar-icon-height)))
(define syncheck-drracket-button
(list
(string-constant check-syntax)
syncheck-bitmap
(λ (drs-frame) (send drs-frame syncheck:button-callback))))