typesΒΆ
Functions:
| types.angle | ( ) | Creates a float type for angles in degrees |
| types.bool | ( ) | The boolean type. This is actually not a function, and should simply be used as is. Ex: types.bool |
| types.combo | (
|
Creates a enumerated type which also accepts strings. Ex: types.combo {"ItemA",{"ItemB",12},"ItemC"} |
| types.data | ( ) | This type is for blind data, stored as large Lua string. |
| types.directory | (
|
Creates a directory type, allowing to choose a directory. Ex: types.directory {title="Open a directory",directory="c:/"} |
| types.enum | (
|
Creates a enumerated type. Ex: types.enum {"ItemA",{"ItemB",12},"ItemC"} |
| types.filename | (
|
Creates a filename type, allowing to choose a file. Ex: types.filename {mode="open",title="Open a file",filter="All files (*.*)|*.*",directory="c:/",extension="*.png",category="maps"} |
| types.float | (
|
Creates a floating point number type. Ex: types.float {min=1,max=1000,step=10,slidermin=1,slidermax=100} |
| types.int | (
|
Creates a integer number type. Ex: types.int {min=1,max=1000,step=10,slidermin=1,slidermax=100} |
| types.linker | (
|
Create a linker type |
| types.luascript | ( ) | Create a lua script text type |
| types.luascript | ( ) | Create a lua script text type |
| types.primitives | ( ) | The primitive handle array type. This is actually not a function, and should simply be used as is. Ex: types.primitives |
| types.radians | ( ) | Creates a float type for angles in radians |
| types.string | ( ) | The string type. This is actually not a function, and should simply be used as is. Ex: types.string |
| types.transform | ( ) | The transform type, describes a set of matrices associated to sub frame times. This is actually not a function, and should simply be used as is. Ex: types.transform types.transform = LUITypeCreate (nil, GATypeTransform) function types.transform:tostring () return "types.transform" end |