comparison org/util.org @ 198:fc0bf33bded2

fleshing out prose in sense.org
author Robert McIntyre <rlm@mit.edu>
date Sun, 05 Feb 2012 14:01:47 -0700
parents deac7b708750
children 305439cec54d
comparison
equal deleted inserted replaced
197:16cbce075a0b 198:fc0bf33bded2
510 (.setResizable true) 510 (.setResizable true)
511 (.setVisible true)))) 511 (.setVisible true))))
512 (fn [#^BufferedImage i] 512 (fn [#^BufferedImage i]
513 (reset! image i) 513 (reset! image i)
514 (.setSize frame (+ 8 (.getWidth i)) (+ 28 (.getHeight i))) 514 (.setSize frame (+ 8 (.getWidth i)) (+ 28 (.getHeight i)))
515 (.repaint panel 0 0 (.getWidth i) (.getHeight i))))) 515 (.repaint panel 0 0 (.getWidth i) (.getHeight i))
516 i)))
516 517
517 (defprotocol Viewable 518 (defprotocol Viewable
518 (view [something])) 519 (view [something]))
519 520
520 (extend-type com.jme3.scene.Geometry 521 (extend-type com.jme3.scene.Geometry