diff options
author | Martin Poirier <theeth@yahoo.com> | 2006-01-08 21:59:55 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2006-01-08 21:59:55 +0300 |
commit | 2ead92cc2b003a70d38d362d4bf586e582c4a599 (patch) | |
tree | 3c394772726fe483df42f6a987fb861be387c59d /source/blender/python/api2_2x/Draw.h | |
parent | 072c32bcea8f42836951152ab0b66b548d0c3da6 (diff) |
BPy:
PupBlock method. This wraps the "clevernumbut" code to allow scripters to use popup blocks for user input instead of a sequence of multiple different popups.
See the blend file for a comprehensive test and example file.
Diffstat (limited to 'source/blender/python/api2_2x/Draw.h')
-rw-r--r-- | source/blender/python/api2_2x/Draw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Draw.h b/source/blender/python/api2_2x/Draw.h index c644fd8ea35..ac3b7b53f3a 100644 --- a/source/blender/python/api2_2x/Draw.h +++ b/source/blender/python/api2_2x/Draw.h @@ -59,6 +59,10 @@ typedef struct _Button { char *tooltip; } Button; +#define BINT_TYPE 1 +#define BFLOAT_TYPE 2 +#define BSTRING_TYPE 3 + /* * these are declared in ../BPY_extern.h |