def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.image = img.IndexedImage(self, width=mrc.Ref('width'), height=mrc.Ref('height'), source=mrc.Ref('image_data'), frame_count=mrc.Ref('count'), palette=ibm_pc.EGA_DEFAULT_PALETTE) self.mask = img.IndexedImage(self, width=mrc.Ref('width'), height=mrc.Ref('height'), source=mrc.Ref('mask_data'), frame_count=mrc.Ref('count'), palette=ibm_pc.EGA_DEFAULT_PALETTE)
def __init__(self, *argc, **argv): self.image = img.IndexedImage(self, mrc.Ref('_data.data'), mrc.Ref('pitch'), mrc.Ref('initial_rect.height'), palette=DIRECTOR_PALETTE) super().__init__(*argc, **argv)
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.image = img.IndexedImage(self, width=mrc.Ref('width'), height=mrc.Ref('height'), source=mrc.Ref('raw_data'), palette=mrc.Ref('_parent.palette'))
def __init__(self, *args, **kwargs): mrc.Block.__init__(self, *args, **kwargs) self.image = img.IndexedImage(self, width=320, height=200, palette=mrc.Ref('palette'), source=mrc.Ref('image_data'))
def __init__(self, *args, **kwargs): mrc.Block.__init__(self, *args, **kwargs) self.image = img.IndexedImage(self, width=320, height=200, palette=ibm_pc.EGA_DEFAULT_PALETTE, source=mrc.Ref('image_data'))
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.image = img.IndexedImage(self, width=960, height=160, source=mrc.Ref('image_data'), palette=mrc.Ref('palette_vga'))
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.image = img.IndexedImage(self, mrc.Ref('data'), mrc.Ref('width'), mrc.Ref('height'), palette=KLIK_PALETTE)
def __init__( self, *args, **kwargs ): super().__init__( *args, **kwargs ) self.tiles = img.IndexedImage( self, width=32, height=32, source=mrc.Ref( 'image_data' ), frame_count=mrc.Ref( '_parent._parent._egahead.tile32_count' ), palette=ibm_pc.EGA_DEFAULT_PALETTE )
def __init__( self, *args, **kwargs ): super().__init__( *args, **kwargs ) self.image = img.IndexedImage( self, width=32, height=32, source=mrc.Ref( 'data' ), palette=YODA_PALETTE, )
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.image = img.IndexedImage( self, width=mrc.Ref('_parent.width'), height=mrc.Ref('_parent.height'), source=mrc.Ref('image_data'), frame_count=mrc.Ref('_parent.end_frame'), palette=mrc.Ref('_parent._parent.palette'), mask=mrc.Ref('mask_data'))
def __init__(self, width, height, bpp, frame_count, *args, **kwargs): self.width = width self.height = height self.bpp = bpp self.frame_count = frame_count self.image = img.IndexedImage(self, width=width, height=height, source=mrc.Ref('image_data'), frame_count=frame_count, palette=LEMMINGS_VGA_DEFAULT_PALETTE) super().__init__(*args, **kwargs)