maxscript/foundation/colors.h File Reference

colors.h File Reference

Macros

#define COLOR_CACHE_SIZE   1024
 
#define is_color(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(ColorValue))
 

Functions

applyable_class_debug_ok(ColorValue)
class ColorValue 
ENABLE_STACK_ALLOCATE (ColorValue)
 
ScripterExport ColorValue (AColor col)
 
ScripterExport ColorValue (Color col)
 
ScripterExport ColorValue (COLORREF col)
 
ScripterExport ColorValue (BMM_Color_64 &col)
 
ScripterExport ColorValue (Point3 col)
 
ScripterExport ColorValue (Point3Value *col)
 
ScripterExport ColorValue (float r, float g, float b, float a=1.0f)
 
ScripterExport ~ColorValue ()
 
static ScripterExport Valueintern (AColor col)
 
static ScripterExport Valueintern (float r, float g, float b, float a=1.0f)
 
static ScripterExport Valueintern (BMM_Color_64 &col)
 
 classof_methods (ColorValue, Value)
 
void collect ()
 
ScripterExport void sprin1 (CharStream *s)
 

Macro Definition Documentation

#define COLOR_CACHE_SIZE   1024
#define is_color (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(ColorValue))

Function Documentation

applyable_class_debug_ok (ColorValue) class ColorValue ENABLE_STACK_ALLOCATE ( ColorValue  )
ScripterExport ColorValue ( AColor  col)
ScripterExport ColorValue ( Color  col)
ScripterExport ColorValue ( COLORREF  col)
ScripterExport ColorValue ( BMM_Color_64 col)
ScripterExport ColorValue ( Point3  col)
ScripterExport ColorValue ( Point3Value col)
ScripterExport ColorValue ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
static ScripterExport Value* intern ( AColor  col)
static
static ScripterExport Value* intern ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
static
static ScripterExport Value* intern ( BMM_Color_64 col)
static
classof_methods ( ColorValue  ,
Value   
)
void collect ( )
ScripterExport void sprin1 ( CharStream s)
351 { s->printf(_M("LabelControl:%s"), name->to_string()); }
Value * name
Definition: structs.h:25
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
virtual const MCHAR * to_string()
Definition: value.h:171