Gnash  0.8.11dev
CSMTextSettingsTag.h
Go to the documentation of this file.
1 // CSMTextSettingsTag.h: parse SWF CSMTextSettings tag
2 //
3 // Copyright (C) 2005, 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 #ifndef GNASH_SWF_CSMTEXTSETTINGSTAG_H
21 #define GNASH_SWF_CSMTEXTSETTINGSTAG_H
22 
23 #include "SWF.h"
24 
25 // Forward declarations
26 namespace gnash {
27  class movie_definition;
28  class SWFStream;
29  class RunResources;
30 }
31 
32 namespace gnash {
33 namespace SWF {
34 
36 public:
37 
39 
40  static void loader(SWFStream& in, TagType tag, movie_definition& m,
41  const RunResources& r);
42 
43 private:
44 
45 };
46 
47 } // namespace gnash::SWF
48 } // namespace gnash
49 
50 
51 #endif // GNASH_SWF_CSMTEXTSETTINGSTAG_H
52 
53 
54 // Local Variables:
55 // mode: C++
56 // indent-tabs-mode: t
57 // End:
gnash::SWF::CSMTEXTSETTINGS
@ CSMTEXTSETTINGS
Definition: SWF.h:104
gnash::SWFStream::read_uint
unsigned read_uint(unsigned short bitcount)
Reads a bit-packed unsigned integer from the stream and returns it. The given bitcount determines the...
Definition: SWFStream.cpp:102
gnash::SWFStream::skip_to_tag_end
void skip_to_tag_end()
Discard all bytes up to end of tag.
Definition: SWFStream.h:354
gnash::SWF::TagType
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
gnash::SWF::CSMTextSettingsTag::loader
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: CSMTextSettingsTag.cpp:40
gnash::SWF::CSMTextSettingsTag
Definition: CSMTextSettingsTag.h:35
LOG_ONCE
#define LOG_ONCE(x)
Definition: log.h:49
_
#define _(String)
Definition: log.h:44
gnash::SWFStream::read_long_float
float read_long_float()
Read a 32bit (1:sign 8:exp 23:mantissa) floating point value.
Definition: SWFStream.cpp:285
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
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::key::r
@ r
Definition: GnashKey.h:164
gnash::RunResources
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
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
log.h
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
gnash::SWFStream::read_u8
std::uint8_t read_u8()
Read a aligned unsigned 8-bit value from the stream.
Definition: SWFStream.cpp:319
movie_definition.h
gnash::SWFStream
SWF stream wrapper class.
Definition: SWFStream.h:59
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
gnash::SWF::CSMTextSettingsTag::CSMTextSettingsTag
CSMTextSettingsTag(movie_definition &m, SWFStream &in)
Definition: CSMTextSettingsTag.cpp:34
CSMTextSettingsTag.h