diff options
author | Martin Poirier <theeth@yahoo.com> | 2006-05-20 19:44:14 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2006-05-20 19:44:14 +0400 |
commit | befd0075112e14bbf1171134629705491f860dd0 (patch) | |
tree | ffcf04c8b500d4af136f8b5e46ff929d4792ff21 /source/blender/python/api2_2x/Draw.h | |
parent | 6d3afda093204398fbd42c38794c1f593d5cad37 (diff) |
=== Python API ===
Blender.Draw.ColorPicker
Enables scripters to use a color picker in there scripts.
See this file for a trivial demo: http://blenderartists.org/~theeth/colorpicker.blend
Diffstat (limited to 'source/blender/python/api2_2x/Draw.h')
-rw-r--r-- | source/blender/python/api2_2x/Draw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Draw.h b/source/blender/python/api2_2x/Draw.h index ce4d29a850d..d852c15d28d 100644 --- a/source/blender/python/api2_2x/Draw.h +++ b/source/blender/python/api2_2x/Draw.h @@ -55,14 +55,15 @@ typedef struct _Button { int asint; float asfloat; char *asstr; + float asvec[3]; } val; char *tooltip; } Button; #define BINT_TYPE 1 #define BFLOAT_TYPE 2 -#define BSTRING_TYPE 3 - +#define BSTRING_TYPE 3 +#define BVECTOR_TYPE 4 /* * these are declared in ../BPY_extern.h |