- 
                Notifications
    
You must be signed in to change notification settings  - Fork 88
 
glgui orientation set!
        Chris Petersen edited this page Oct 16, 2014 
        ·
        1 revision
      
    glgui-orientation-set sets the GUI orientation. The orientation options are GUI_PORTRAIT, GUI_LANDSCAPE, GUI_SEASCAPE, and GUI_UPSIDEDOWN. It changes the behaviour of (glgui-width-get) and (glgui-width-get) to work appropriately in each given orientation.
| Parameter | Description | 
|---|---|
| o | The orientation to set, e.g. GUI_PORTRAIT | 
Example from apps/uSquish/main.scm
(make-window 320 480)
(glgui-orientation-set! GUI_PORTRAIT)
(set! gui (make-glgui))
(glgui-pixmap gui 0 0 landscape.img (+ (glgui-width-get) 1) (+ (glgui-width-get) 1))
- 
- 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