image/src/moz.build
author Joe Drew <joe@drew.ca>
Mon, 15 Jul 2013 14:38:59 -0400
changeset 150823 ea8d855c4edb57c2c45cdda9d67168701e804363
parent 150163 a96a7eed6741a6133c11acea835b23ce3b076bbc
child 156667 9fb5b1f56c2177d2cb6a3f908a11dc8dd71759f4
permissions -rw-r--r--
Bug 717872 - Move all image animation logic into a new class, FrameAnimator, and use it from RasterImage. r=seth This patch moves the logic of moving from one frame to another (and tracking what frame is current, etc) to a separate class, FrameAnimator. Deciding *whether* to animate, and actually calling that animation code, is left to RasterImage, but the animation itself is driven by FrameAnimator.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MODULE = 'imglib2'

EXPORTS += [
    'ImageOps.h',
    'imgLoader.h',
    'imgRequest.h',
    'imgRequestProxy.h',
]

CPP_SOURCES += [
    'ClippedImage.cpp',
    'Decoder.cpp',
    'DiscardTracker.cpp',
    'FrameAnimator.cpp',
    'FrameBlender.cpp',
    'FrameSequence.cpp',
    'FrozenImage.cpp',
    'Image.cpp',
    'ImageFactory.cpp',
    'ImageMetadata.cpp',
    'ImageOps.cpp',
    'ImageWrapper.cpp',
    'RasterImage.cpp',
    'SVGDocumentWrapper.cpp',
    'ScriptedNotificationObserver.cpp',
    'VectorImage.cpp',
    'imgFrame.cpp',
    'imgLoader.cpp',
    'imgRequest.cpp',
    'imgRequestProxy.cpp',
    'imgStatusTracker.cpp',
    'imgTools.cpp',
]