Gnash  0.8.10
Namespaces | Defines | Functions
Key_as.cpp File Reference
#include "Key_as.h"
#include "log.h"
#include "fn_call.h"
#include "Global_as.h"
#include "movie_root.h"
#include "VM.h"
#include "NativeFunction.h"
#include "AsBroadcaster.h"
#include "namedStrings.h"
#include "GnashKey.h"
#include "GnashException.h"
#include <bitset>

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Defines

#define KEY_CONST(k)   o.init_member(#k, key::codeMap[key::k][key::KEY], flags)

Functions

as_value gnash::key_is_accessible (const fn_call &)
as_value gnash::key_get_ascii (const fn_call &fn)
 Return the ascii number of the last key pressed.
as_value gnash::key_get_code (const fn_call &fn)
 Returns the keycode of the last key pressed.
as_value gnash::key_is_down (const fn_call &fn)
 Return true if the specified (first arg keycode) key is pressed.
as_value gnash::key_is_toggled (const fn_call &)
 Given the keycode of NUM_LOCK or CAPSLOCK, returns true if the associated state is on.
void gnash::registerKeyNative (as_object &global)
void gnash::attachKeyInterface (as_object &o)
void gnash::key_class_init (as_object &where, const ObjectURI &uri)

Define Documentation

#define KEY_CONST (   k)    o.init_member(#k, key::codeMap[key::k][key::KEY], flags)