(button-sprite content
pos
&
{:keys [offsets size color font font-size content-color
content-pos update-fn draw-fn collision-detection-fn]
:or {offsets [:center :center]
draw-fn draw-button-sprite!
color u/grey
font-size u/large-text-size
content-pos [100 50]
content-color u/black
font u/default-font
size [200 100]
update-fn identity}})
(draw-button-sprite!
{:keys [content pos w h color font content-color content-pos] :as button})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close