23 #ifndef GNASH_BUTTON_H 24 #define GNASH_BUTTON_H 26 #include <boost/intrusive_ptr.hpp> 59 OVER_DOWN = FLAG_OVER | FLAG_DOWN,
84 virtual bool trackAsMenu();
101 virtual void mouseEvent(
const event_id& event);
104 virtual bool handleFocus();
108 virtual SWFRect getBounds()
const;
111 bool pointInShape(std::int32_t x, std::int32_t y)
const;
124 virtual void construct(
as_object* init =
nullptr);
128 virtual InfoTree::iterator getMovieInfo(InfoTree& tr,
129 InfoTree::iterator it);
135 virtual bool unloadChildren();
144 void markOwnResources()
const;
155 void getActiveCharacters(DisplayObjects& list,
bool includeUnloaded=
false);
163 void getActiveCharacters(ConstDisplayObjects& list)
const;
174 void get_active_records(ActiveRecords& list,
MouseState state);
177 virtual int getDefinitionVersion()
const;
181 const boost::intrusive_ptr<const SWF::DefineButtonTag> _def;
183 DisplayObjects _stateCharacters;
185 DisplayObjects _hitCharacters;
199 #endif // GNASH_BUTTON_H
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
uri
Definition: test.py:12
void button_class_init(as_object &global, const ObjectURI &uri)
Initialize the global Button class.
Definition: Button.cpp:910
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: GnashKey.h:149
The base class for all ActionScript objects.
Definition: as_object.h:161
Definition: GnashKey.h:161
Base class for render handlers.
Definition: Renderer.h:188
A URI for describing as_objects.
Definition: ObjectURI.h:44
code
Definition: GnashKey.h:43
std::ostream & operator<<(std::ostream &o, const ShapeRecord &sh)
Definition: ShapeRecord.cpp:600
void registerButtonNative(as_object &global)
Definition: Button.cpp:923
x
Definition: extensions/fileio/test.as:62
y
Definition: extensions/fileio/test.as:70
The base class for interactive objects.
Definition: InteractiveObject.h:44
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
#define DSOTEXPORT
Definition: dsodefs.h:63
A class to identify 'static' SWF events (system events).
Definition: event_id.h:52
function destroy(Gtk2, data)
Definition: hello.as:43
Definition: GnashKey.h:331