#ifndef _InstanceColor_h_
#define _InstanceColor_h_


enum
{
    INSTEX_INTERNAL=990,
    INSTEX_DISABLED=991,
    INSTANCECOLOR_FILE =1100,
    INSTANCECOLOR_POWER_LNK,
    INSTANCECOLOR_GAMMA,
    INSTANCECOLOR_SCALE,
    INSTANCECOLOR_INVERT,
    INSTANCECOLOR_MODE,
    INSTANCECOLOR_SCALEX,
    INSTANCECOLOR_SCALEY,
    INSTANCECOLOR_FILENAME=1108,
    INSTANCECOLOR_POWER_FLOAT,
    INSTANCECOLOR_TRANSFORM_LINK,
    INSTANCECOLOR_PROJECTION_LINK,
    INSTANCECOLOR_BORDER_MODE,
    INSTANCECOLOR_ASK_IMAGE,
    INSTANCECOLOR_FORCE_RELOADXXXXX,

    INSTANCECOLOR_SOURCE,


    INST_PARTICLE_LNK,
    INST_PARTICLE_GRADIENT,
    INST_PARTICLE_MODE,
    INST_PARTICLE_MIN_VAL,
    INST_PARTICLE_MAX_VAL,

    INSTANCECOLOR_PREVIEW,
    INSTANCECOLOR_RELOADIMAGE,
    INSTANCECOLOR_EDITIMAGE,
    INSTANCECOLOR_PROJECTION_BTN,
    INSTANCECOLOR_TRANSFORM_BTN,
    INSTANCECOLOR_POWER_BTN,
    INSTANCECOLOR_POWER_GRP,
    INSTANCECOLOR_GROUP1,
    INSTANCECOLOR_TILE_GROUP,
    INSTANCECOLOR_TIMER_GRP,
    INSTANCECOLOR_CALCULATE_BTN,
    INSTANCECOLOR_HELP_BTN,
    INSTANCECOLOR_FILE_GRP,
    INSTANCECOLOR_PART_GRP,
    INSTANCECOLOR_PART_PARAMS_GRP1,

    INSTANCECOLOR_MODE1=0,   // color
    INSTANCECOLOR_MODE2=1,   // float
    INSTANCECOLOR_MODE3=2,    // alpha

    INSTANCECOLOR_SOURCE_FILE=0,
    INSTANCECOLOR_SOURCE_PARTICLE=1,

    INST_PARTICLE_COLOR_DISPLAY=0,
    INST_PARTICLE_COLOR_AGE=1,
    INST_PARTICLE_COLOR_RADIUS=2,
    INST_PARTICLE_COLOR_SPEED=3,
    INST_PARTICLE_COLOR_MASS=4,
    INST_PARTICLE_COLOR_DENSITY=5,
    INST_PARTICLE_COLOR_TRAV_DISTANCE=6,
    INST_PARTICLE_COLOR_ROTATION=7,
    INST_PARTICLE_COLOR_SPIN=8,

    INSTANCECOLOR_BORDER_MODE0=0,
    INSTANCECOLOR_BORDER_MODE1=1,
    INSTANCECOLOR_BORDER_MODE2=2,
    INSTANCECOLOR_BORDER_MODE3=3,
    INSTANCECOLOR_BORDER_MODE4=4,

    INSTANCECOLOR_TIMING_FROM			= 2000,
    INSTANCECOLOR_TIMING_TO				= 2001,
    INSTANCECOLOR_TIMING_FPS 			= 2002,
    INSTANCECOLOR_TIMING_LOOPS 	  = 2003,
    INSTANCECOLOR_TIMING_TIMING		= 2004,
        INSTANCECOLOR_TIMING_TIMING_FRAME  = 0,
        INSTANCECOLOR_TIMING_TIMING_SECOND = 1,
        INSTANCECOLOR_TIMING_TIMING_AREA   = 2,

    INSTANCECOLOR_TIMING_MODE    	= 2005,
        INSTANCECOLOR_TIMING_MODE_SIMPLE   = 0,
        INSTANCECOLOR_TIMING_MODE_LOOP     = 1,
        INSTANCECOLOR_TIMING_MODE_PINGPONG = 2,

    INSTANCECOLOR_TIMING_RANGEFROM	= 2006,
    INSTANCECOLOR_TIMING_RANGETO		= 2007,

    INSTANCECOLOR_FORCE_RELOAD=1004,
    INSTANCECOLOR_FORCE_RELOADED=3000,


};

#endif
