2
// Copyright (C) 2007, 2008 Free Software Foundation, Inc.
4
// This program is free software; you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation; either version 3 of the License, or
7
// (at your option) any later version.
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
14
// You should have received a copy of the GNU General Public License
15
// along with this program; if not, write to the Free Software
16
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
/* $Id: BitmapMovieInstance.h,v 1.7 2008/01/21 20:55:46 rsavoye Exp $ */
20
#ifndef GNASH_BITMAPMOVIEINSTANCE_H
21
#define GNASH_BITMAPMOVIEINSTANCE_H
24
#include "gnashconfig.h"
27
#include "movie_instance.h" // for inheritance
29
// Forward declarations
32
class BitmapMovieDefinition;
39
/// Instance of a BitmapMovieDefinition
40
class BitmapMovieInstance : public movie_instance
45
BitmapMovieInstance(BitmapMovieDefinition* def, character* parent=0);
47
virtual ~BitmapMovieInstance() {}
49
/// Do nothing on restart. Especially don't trash the DisplayList
51
/// TODO: this is needed due to the implementation detail of
52
/// using the DisplayList to store our bitmap-filled
53
/// shape. Using the _drawable instead, or overriding
54
/// ::display to simply display our definition is likely
55
/// the best way to go instead (we'd also reuse the same
56
/// bitmap info rather then creating new instances..)
61
} // end of namespace gnash
63
#endif // GNASH_BITMAPMOVIEINSTANCE_H