Gnash  0.8.11dev
Namespaces | Macros | 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

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

Macros

#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. More...
 
as_value gnash::key_get_code (const fn_call &fn)
 Returns the keycode of the last key pressed. More...
 
as_value gnash::key_is_down (const fn_call &fn)
 Return true if the specified (first arg keycode) key is pressed. More...
 
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. More...
 
void gnash::registerKeyNative (as_object &global)
 
void gnash::attachKeyInterface (as_object &o)
 
void gnash::key_class_init (as_object &where, const ObjectURI &uri)
 

Macro Definition Documentation

ยง KEY_CONST

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