-
Notifications
You must be signed in to change notification settings - Fork 86
uiform register legacy
Matthias Görges edited this page Mar 13, 2015
·
3 revisions
uiform-register-legacy registers a new display element using legacy syntax, which is compatible with the function calls used in all modules/ln_glgui widgets.
Parameter | Description |
---|---|
name | Display element name |
draw | Function called when element is drawn: (lambda (gui wgt) ...) |
input | Function called when element is clicked: (lambda (gui wgt type mx my) ... ) |
Example 1: Reuse the (glgui-box g x y w h c) widget as a uiform element, and call it. Note that the color argument is NOT optional in this case and will cause a segfault if omitted.
(uiform-register-legacy 'box glgui:box-draw glgui:box-input)
`(box 'color ,Red)
-
- 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