Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::ShortcutDefs Class Reference
Inheritance diagram for Laxkit::ShortcutDefs:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int Add (unsigned int key, unsigned int state, int a, int m=-1)
virtual ShortcutDefFindShortcutFromAction (int action, int startingfrom)
 Return the shortcut with the given action.
- Public Member Functions inherited from Laxkit::PtrStack< ShortcutDef >
 PtrStack (char nar=1)
virtual ShortcutDefoperator[] (int i)
virtual void flush ()
virtual int howmany ()
virtual void swap (int i1, int i2)
virtual int push (ShortcutDef *nd, char local=-1, int where=-1)
virtual int popp (ShortcutDef *topop, int *local=NULL)
virtual int pop (ShortcutDef *&popped, int which=-1, int *local=NULL)
virtual ShortcutDefpop (int which=-1, int *local=NULL)
virtual int findindex (ShortcutDef *t)
virtual int remove (int which=-1)
virtual int pushnodup (ShortcutDef *nd, char local, int where=-1)
virtual void Delta (int ndelta)
virtual int Delta ()
virtual ShortcutDef ** extractArrays (char **local=NULL, int *nn=NULL)
virtual int insertArrays (ShortcutDef **a, char *nl, int nn)
- Public Member Functions inherited from Laxkit::anObject
 anObject ()
 Set object_id=getUniqueNumber().
virtual ~anObject ()
 Empty virtual destructor.
virtual const charwhattype ()
 Returns the type of anObject.
virtual anObjectduplicate (anObject *ref=NULL)
virtual int inc_count ()
 Increment the data's count by 1. Returns count.
virtual int dec_count ()
 Decrement the count of the data, deleting if count is less than or equal to 0.
virtual int the_count ()

Public Attributes

charname
chardescription
- Public Attributes inherited from Laxkit::PtrStack< ShortcutDef >
charislocal
int n
ShortcutDef ** e
- Public Attributes inherited from Laxkit::anObject
int suppress_debug
DeleteRefCountedFunc deleteMe
 Called when the count is decremented to 0.
unsigned long object_id
charobject_idstr

Additional Inherited Members

- Protected Attributes inherited from Laxkit::PtrStack< ShortcutDef >
int max
int delta
char arrays
- Protected Attributes inherited from Laxkit::anObject
int _count
 The reference count of the object.

Member Function Documentation

ShortcutDef * Laxkit::ShortcutDefs::FindShortcutFromAction ( int  action,
int  startingfrom 
)
virtual

Return the shortcut with the given action.

If startingfrom>=0, then start from that index, rather than 0.

References Laxkit::PtrStack< ShortcutDef >::e, and Laxkit::PtrStack< ShortcutDef >::n.

Referenced by Laxkit::ShortcutManager::dump_out().


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:53:00, Laxkit