-
Notifications
You must be signed in to change notification settings - Fork 86
glgui screenindicator
Chris Petersen edited this page Oct 16, 2014
·
1 revision
glgui-screenindicator plots a screen indicator centered in the rectangle specified (without callback)
Parameter | Description |
---|---|
g | Graphical User Interface (GUI) for this widget |
x | Lower left corner along the x-axis in pixels |
y | Lower left corner along the y-axis in pixels |
w | Width of the element in pixels |
h | Height of the element in pixels |
c | Color, with which the screen indicator circles is filled |
Example 1: Draw a white screen indicator at x=0, y=20, which is screen-wide and 20px hight then make it mark the 2nd element of a 5 element indicator
(set! si (glgui-screenindicator gui 0 20 (glgui-width-get) 20 White))
(glgui-widget-set! gui si 'idx 2)
(glgui-widget-set! gui si 'screens 5)
-
- 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