Gnash  0.8.11dev
DefineScalingGridTag.h
Go to the documentation of this file.
1 // DefineScalingGridTag.h: Define scale factors for a window, a button, or other similar objects.
2 //
3 // Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 // Free Software Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 //
20 // Based on the public domain work of Mike Shaver <shaver@off.net> 2003,
21 // Vitalij Alexeev <tishka92@mail.ru> 2004.
22 
23 #include "SWF.h"
24 
25 // Forward declarations.
26 namespace gnash {
27  class movie_definition;
28  class SWFStream;
29  class RunResources;
30  class Renderer;
31 }
32 
33 namespace gnash {
34 namespace SWF {
35 
37 //
39 {
40 public:
41 
42  static void loader(SWFStream& in, TagType tag, movie_definition& m,
43  const RunResources& r);
44 
45 private:
46 
47 };
48 
49 } // namespace SWF
50 } // namespace gnash
51 
52 // Local Variables:
53 // mode: C++
54 // c-basic-offset: 8
55 // tab-width: 8
56 // indent-tabs-mode: t
57 // End:
TypesParser.h
gnash::SWF::TagType
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::key::m
@ m
Definition: GnashKey.h:159
utility.h
gnash::SWF::DefineScalingGridTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: DefineScalingGridTag.cpp:35
UNUSED
#define UNUSED(x)
Definition: utility.h:113
gnash::movie_definition
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
gnash::SWFRect
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:45
gnash::key::r
@ r
Definition: GnashKey.h:164
MovieClip.h
GnashNumeric.h
gnash::RunResources
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
gnash::SWF::DefineScalingGridTag
DefineScalingGrid tag.
Definition: DefineScalingGridTag.h:39
IF_VERBOSE_PARSE
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
gnash::log_parse
void log_parse(StringType msg, Args... args)
Definition: log.h:313
SWF.h
gnash::SWFStream::read_u16
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
RunResources.h
DefineScalingGridTag.h
movie_definition.h
gnash::SWFStream
SWF stream wrapper class.
Definition: SWFStream.h:59
gnash::readRect
SWFRect readRect(SWFStream &in)
Read a bit-packed rectangle from an SWF stream.
Definition: TypesParser.cpp:130
gnash::SWFStream::ensureBytes
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag.
Definition: SWFStream.cpp:50
gnash::key::SWF
@ SWF
Definition: GnashKey.h:331
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
SWFStream.h