Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ob::Binding Struct Reference

#include <bindings.hh>

List of all members.

Public Methods

bool operator== (struct Binding &b2)
bool operator!= (struct Binding &b2)
 Binding (unsigned int mod, unsigned int k)

Public Attributes

unsigned int modifiers
unsigned int key


Constructor & Destructor Documentation

ob::Binding::Binding unsigned int    mod,
unsigned int    k
[inline]
 

Definition at line 35 of file bindings.hh.

00035 { modifiers = mod; key = k; }


Member Function Documentation

bool ob::Binding::operator!= struct Binding &    b2 [inline]
 

Definition at line 33 of file bindings.hh.

References key, and modifiers.

00033                                       { return key != b2.key ||
00034             modifiers != b2.modifiers; }

bool ob::Binding::operator== struct Binding &    b2 [inline]
 

Definition at line 31 of file bindings.hh.

References key, and modifiers.

00031                                       { return key == b2.key &&
00032             modifiers == b2.modifiers; }


Member Data Documentation

unsigned int ob::Binding::key
 

Definition at line 29 of file bindings.hh.

Referenced by ob::Bindings::addButton(), ob::Bindings::fireKey(), ob::Bindings::grabButton(), ob::Bindings::grabKeys(), operator!=(), operator==(), ob::Bindings::setResetKey(), and ob::Bindings::translate().

unsigned int ob::Binding::modifiers
 

Definition at line 28 of file bindings.hh.

Referenced by ob::Bindings::addButton(), ob::Bindings::fireKey(), ob::Bindings::grabButton(), ob::Bindings::grabKeys(), operator!=(), operator==(), ob::Bindings::setResetKey(), and ob::Bindings::translate().


The documentation for this struct was generated from the following file:
Generated on Tue Feb 4 23:00:12 2003 for Openbox by doxygen1.3-rc2