1
// SetTabIndexTag.cpp: This tag defines the tab index of any text object (static and dynamic text objects.)
3
// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
// This program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation; either version 3 of the License, or
8
// (at your option) any later version.
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
15
// You should have received a copy of the GNU General Public License
16
// along with this program; if not, write to the Free Software
17
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#include "SetTabIndexTag.h"
21
#include "SWFStream.h"
22
#include "movie_definition.h"
23
#include "MovieClip.h"
24
#include "GnashNumeric.h"
25
#include "RunResources.h"
31
SetTabIndexTag::loader(SWFStream& in, TagType /*tag*/, movie_definition& /*md*/,
32
const RunResources& /*r*/)
35
boost::uint16_t depth = in.read_u16();
38
log_parse("SetTabIndexTag: depth = %d", depth);
42
boost::uint16_t tab_index = in.read_u16();
45
log_unimpl("SetTabIndexTag");
56
// indent-tabs-mode: t