19 #ifndef GNASH_SWF_DEFINEEDITTEXTTAG_H 20 #define GNASH_SWF_DEFINEEDITTEXTTAG_H 28 #include <boost/intrusive_ptr.hpp> 36 class movie_definition;
172 bool html()
const {
return _html; }
200 std::string _variableName;
258 boost::intrusive_ptr<Font> _font;
264 std::uint16_t _textHeight;
273 unsigned int _maxChars;
278 std::uint16_t _leftMargin;
281 std::uint16_t _rightMargin;
284 std::uint16_t _indent;
289 std::uint16_t _leading;
292 std::string _defaultText;
TextField::TextAlignment alignment() const
Get text alignment.
Definition: DefineEditTextTag.h:138
std::uint16_t rightMargin() const
Get right margin in twips.
Definition: DefineEditTextTag.h:96
bool password() const
Definition: DefineEditTextTag.h:133
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
bool getUseEmbeddedGlyphs() const
Return true if this DisplayObject definition requested use of device fonts.
Definition: DefineEditTextTag.h:178
boost::intrusive_ptr< Font > getFont() const
Definition: DefineEditTextTag.h:183
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Load an SWF::DEFINEEDITTEXT (37) tag.
Definition: DefineEditTextTag.cpp:34
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
std::uint16_t leftMargin() const
Get left margin in twips.
Definition: DefineEditTextTag.h:101
Immutable data representing the definition of a movie display element.
Definition: DefinitionTag.h:47
std::uint16_t textHeight() const
Get height of font in twips.
Definition: DefineEditTextTag.h:112
bool noSelect() const
Definition: DefineEditTextTag.h:166
const SWFRect & bounds() const
Definition: DefineEditTextTag.h:67
bool readOnly() const
Definition: DefineEditTextTag.h:161
const rgba & color() const
Get color of the text.
Definition: DefineEditTextTag.h:117
unsigned int maxChars() const
Return the maximum length of text this widget can hold.
Definition: DefineEditTextTag.h:91
std::uint16_t leading() const
Get extra space between lines (in twips).
Definition: DefineEditTextTag.h:125
Definition: GnashKey.h:164
const std::string & defaultText() const
Definition: DefineEditTextTag.h:74
bool hasText() const
Has text defined ?
Definition: DefineEditTextTag.h:157
~DefineEditTextTag()
Definition: DefineEditTextTag.h:61
TextAlignment
Text alignment values.
Definition: TextField.h:64
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
bool autoSize() const
Definition: DefineEditTextTag.h:147
bool multiline() const
Definition: DefineEditTextTag.h:129
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:49
SWF Tag DefineEditText (37).
Definition: DefineEditTextTag.h:56
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
bool html() const
Return true if HTML was allowed by definition.
Definition: DefineEditTextTag.h:172
bool border() const
Is border requested ?
Definition: DefineEditTextTag.h:143
Definition: GnashKey.h:159
DisplayObject * createDisplayObject(Global_as &gl, DisplayObject *parent) const
Create a DisplayObject with the given parent.
Definition: DefineEditTextTag.cpp:48
bool wordWrap() const
Word wrap requested ?
Definition: DefineEditTextTag.h:152
Definition: GnashKey.h:331
SWF stream wrapper class.
Definition: SWFStream.h:58
const std::string & variableName() const
Definition: DefineEditTextTag.h:83
std::uint16_t indent() const
Get indentation in twips.
Definition: DefineEditTextTag.h:106
A basic RGBA type.
Definition: RGBA.h:35