[Fluxus] Quick Text Overlay Hack

Scott alcoholiday at gmail.com
Mon Jul 6 10:19:10 PDT 2009


(set-overlay-colour (vector 1.0 1.0 0.0 0.8))
(set-overlay-vector (vector
"To: Fluxus"
"From: Scott <alcoholiday at gmail.com>"
"Subject: Quick Text Overlay Hack"
" "
""
"Hey Guys! I added the support for a text overlay. I'm using mostly for"
"debug info, pop up menus and things like that."
""
"Currently it just supports one non-proportional font, since I want to"
"be able to line things up."
""
"The api is really simple:"
"(show-overlay 1) ;; turns it on"
"(set-overlay-colour (vector 1.0 1.0 0.0 0.8)) ;; a nice 0.8 alpha yellow"
"(set-overlay-vector (vector \"Your Text Here\""
"                            \"Your Second line of text here\""
"                            \"etc...\"))"
""
"It's a little CPU intensive right now, but it would be easy to"
"optimize it more if folks can use it."
"-Scott"

[image: 20090706-th69rtk4yh97iwanwfxs4ir6cn.jpg][image:
20090706-qwqiwyasmt811g3g9ywgdmncjw.jpg]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20090706/eb53c0ab/attachment-0001.htm>


More information about the Fluxus mailing list