Liking cljdoc? Tell your friends :D

quip.sprites.button


button-spriteclj

(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}})
source

draw-button-sprite!clj

(draw-button-sprite!
  {:keys [content pos w h color font content-color content-pos] :as button})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close