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