pike.git / lib / modules / _Image_XCF.pmod

version» Context lines:

pike.git/lib/modules/_Image_XCF.pmod:80:      class Guide   //! A single guideline   {    int pos;   //!       int vertical;   //!    -  void create(string data) +  protected void create(string data)    {    sscanf(data, "%4c%c", pos,vertical);vertical--;    SIGNED(pos);    }   }      //!   class Parasite( string name, int flags, string data ) { }      array(Parasite) decode_parasites( mixed data )
pike.git/lib/modules/_Image_XCF.pmod:200:    break;       case PROP_PARASITES:    parasites = decode_parasites( (string)p->data );    break;    }    }    }       -  void create( mapping d, object p ) +  protected void create( mapping d, object p )    {       parent = p;    name = (string)d->name;    width = d->width;    height = d->height;    image_data = decode_image_data( d->image_data, parent );    if(d->properties) decode_properties( d->properties );    }   }
pike.git/lib/modules/_Image_XCF.pmod:290:    FLAG(SHOW_MASK,show_mask);    INT(MODE,mode);    INT(TATTOO,tattoo);    case PROP_PARASITES:    parasites = decode_parasites( (string)p->data );    break;    }    }    }    -  void create( mapping data, object pa ) +  protected void create( mapping data, object pa )    {    parent = pa;    name = (string)data->name;    type = data->type;    width = data->width;    height = data->height;    decode_properties( data->properties );    image = decode_image_data( data->image_data, pa );    if(data->mask)    mask = LayerMask( data->mask, pa );
pike.git/lib/modules/_Image_XCF.pmod:467:    case PROP_PATHS:    paths = decode_paths( (string)p->data );    break;    case PROP_USER_UNIT:    /* NYI */    break;    }    }    }    -  void create( mapping data ) +  protected void create( mapping data )    {    type = data->type;    decode_properties( data->properties );    width = data->width;    height = data->height;    foreach(data->layers, mapping l )    layers += ({ Layer( l, this ) });    foreach(data->channels, mapping c )    channels += ({ Channel( c, this ) });    }