Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2006-05-20 19:44:14 +0400
committerMartin Poirier <theeth@yahoo.com>2006-05-20 19:44:14 +0400
commitbefd0075112e14bbf1171134629705491f860dd0 (patch)
treeffcf04c8b500d4af136f8b5e46ff929d4792ff21 /source/blender/python/api2_2x/Draw.h
parent6d3afda093204398fbd42c38794c1f593d5cad37 (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.h5
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