-
Notifications
You must be signed in to change notification settings - Fork 86
glgui sprite
Chris Petersen edited this page Oct 16, 2014
·
1 revision
glgui-sprite creates a sprite, with optional parameter arguments.
Parameter | Description |
---|---|
g | Graphical User Interface (GUI) for this widget |
args | Optional: Arguments, such as 'x, 'y, 'presscallback, 'releasecallback, and 'rendercallback |
Example1: Here is a real example from apps/uSquish/main.scm that generates a sprite with optional positions and call back procedures
(list (glgui-sprite gui 'x x 'y y0 'image stargrey.img))
(list (glgui-sprite gui 'rendercallback animal-animate
'presscallback animal-press 'releasecallback animal-release))
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip