Add bitmap-font! macro
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
"Audio" {"audio!" :methods}
|
||||
"Bezier" {"bezier" :methods
|
||||
"bezier!" :methods}
|
||||
"BitmapFont" {"bitmap-font" :constructors}
|
||||
"BitmapFont" {"bitmap-font" :constructors
|
||||
"bitmap-font!" :methods}
|
||||
"BitmapFontLoader" {"loader :bitmap-font" :methods
|
||||
"loader! :bitmap-font" :methods}
|
||||
"BlendingAttribute" {"attribute :blending" :constructors
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
[& options]
|
||||
`(BitmapFont. ~@options))
|
||||
|
||||
(defmacro bitmap-font!
|
||||
"Calls a single method on a `bitmap-font`."
|
||||
[object k & options]
|
||||
`(u/call! ^BitmapFont ~object ~k ~@options))
|
||||
|
||||
; texture
|
||||
|
||||
(defn texture*
|
||||
|
||||
Reference in New Issue
Block a user