=== 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
This commit is contained in:
2006-05-20 15:44:14 +00:00
parent 6d3afda093
commit befd007511
3 changed files with 149 additions and 34 deletions

View File

@@ -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