This section describes all the glu.* functions that can be used in a script after including this line:
The functions are listed alphabetically:
"statusbar" | background color for status bar | |
"viewport" | background color for viewport |
On Linux: | ~/.glu/ | |
On Mac: | ~/Library/Application Support/Glu/ | |
On Windows: | C:\Users\username\AppData\Roaming\Glu\ |
"key m none" | user pressed the M key | |
"key shift none" | user pressed the shift key | |
"key m shift" | user pressed shift-M | |
"key space none" | user pressed space bar | |
"key , altctrlshift" | user pressed comma and 3 modifier keys | |
"kup left" | user released the left arrow key | |
"vclick 1 5 left none" | user clicked viewport pixel at (1,5) with left button | |
"cclick 1 5 left none" | user clicked canvas pixel at (1,5) with left button | |
"cclick 1 5 right alt" | user clicked canvas with right button while pressing alt key | |
"mup left" | user released the left button | |
"vzoomout 1 5" | mouse wheel was used to zoom out from viewport pixel | |
"czoomin 1 5" | mouse wheel was used to zoom in to canvas pixel | |
"file /path/to/foo.txt" | user wants to open the given file |
"fullscreen" | 1 or 0 | |
"maximized" | 1 or 0 | |
"showstatusbar" | 1 or 0 |
"statusbar" | background color for status bar | |
"viewport" | background color for viewport |
"fullscreen" | 1 or 0 | |
"maximized" | 1 or 0 | |
"showstatusbar" | 1 or 0 |