-
Notifications
You must be signed in to change notification settings - Fork 86
glgui verticalnumberwheel
Chris Petersen edited this page Oct 16, 2014
·
1 revision
(glgui-verticalnumberwheel g x y w h vmin vmax icon coloricon colorvalue colorshade font1 font2 icon2 . steps)
glgui-verticalnumberwheel creates a vertically oriented number wheel widget. steps can be a list specifying strings to be drawn on the wheel or textures to be displayed on the wheel (for using icons). Also see (glgui-numberwheel) for the horizontal version.
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 |
vmin | The minimum value in the number wheel. If steps is a list of strings or textures, this parameter is not used. |
vmax | The maximum value in the number wheel. If steps is a list of strings or textures, this parameter is not used. |
icon | Icon pixmap for the number wheel (to the left of the wheel) |
coloricon | Color for the number wheel icon image |
colorvalue | Color of the selected value in the wheel |
colorshade | Wheel background color shade |
font1 | Font for the larger selected value |
font2 | Font for the smaller unselected values |
icon2 | Second icon pixmap for the number wheel (to the right of the wheel) |
steps | Optional: Step size or values of steps, this is the step-size between adjacent values in the wheel, OR this is a list specifying strings to be drawn on the wheel or textures to be displayed on the wheel (for using icons). |
Example 1: Create a minute wheel, with minutes values in steps of 5. Place on the gui at 72,58, 45px in width and 135 px high. No icons are used, the selected value is Red.
(set! minutes-list '("00" "05" "10" "15" "20" "25" "30" "35" "40" "45" "50" "55"))
(set! minute (glgui-verticalnumberwheel gui 72 58 45 135 #f #f #f #f
Red Black num_40.fnt num_24.fnt #f minutes-list))
-
- 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