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

ob::MouseData Class Reference

#include <python.hh>

Collaboration diagram for ob::MouseData:

Collaboration graph
[legend]
List of all members.

Public Methods

 MouseData (int screen, Client *client, Time time, unsigned int state, unsigned int button, MouseContext::MC context, MouseAction::MA action, int xroot, int yroot, const otk::Point &initpos, const otk::Rect &initarea)
 MouseData (int screen, Client *client, Time time, unsigned int state, unsigned int button, MouseContext::MC context, MouseAction::MA action)

Public Attributes

int screen
Clientclient
Time time
unsigned int state
unsigned int button
MouseContext::MC context
MouseAction::MA action
int xroot
int yroot
int pressx
int pressy
int press_clientx
int press_clienty
int press_clientwidth
int press_clientheight

Constructor & Destructor Documentation

ob::MouseData::MouseData int    screen,
Client   client,
Time    time,
unsigned int    state,
unsigned int    button,
MouseContext::MC    context,
MouseAction::MA    action,
int    xroot,
int    yroot,
const otk::Point   initpos,
const otk::Rect   initarea
[inline]
 

Definition at line 147 of file python.hh.

References otk::Rect::height(), otk::Rect::width(), otk::Rect::x(), otk::Point::x(), otk::Rect::y(), and otk::Point::y().

00150                                                               {
00151     this->screen = screen;
00152     this->client = client;
00153     this->time   = time;
00154     this->state  = state;
00155     this->button = button;
00156     this->context= context;
00157     this->action = action;
00158     this->xroot  = xroot;
00159     this->yroot  = yroot;
00160     this->pressx = initpos.x();
00161     this->pressy = initpos.y();
00162     this->press_clientx      = initarea.x();
00163     this->press_clienty      = initarea.y();
00164     this->press_clientwidth  = initarea.width();
00165     this->press_clientheight = initarea.height();
00166   }

ob::MouseData::MouseData int    screen,
Client   client,
Time    time,
unsigned int    state,
unsigned int    button,
MouseContext::MC    context,
MouseAction::MA    action
[inline]
 

Definition at line 167 of file python.hh.

00169                                   {
00170     this->screen = screen;
00171     this->client = client;
00172     this->time   = time;
00173     this->state  = state;
00174     this->button = button;
00175     this->context= context;
00176     this->action = action;
00177     this->xroot  = xroot;
00178     this->yroot  = yroot;
00179     this->pressx = 0;
00180     this->pressy = 0;
00181     this->press_clientx      = 0;
00182     this->press_clienty      = 0;
00183     this->press_clientwidth  = 0;
00184     this->press_clientheight = 0;
00185   }


Member Data Documentation

MouseAction::MA ob::MouseData::action
 

Definition at line 137 of file python.hh.

Referenced by ob::Actions::buttonReleaseHandler(), and ob::Bindings::fireButton().

unsigned int ob::MouseData::button
 

Definition at line 135 of file python.hh.

Referenced by ob::Bindings::fireButton().

Client* ob::MouseData::client
 

Definition at line 132 of file python.hh.

MouseContext::MC ob::MouseData::context
 

Definition at line 136 of file python.hh.

Referenced by ob::Bindings::fireButton().

int ob::MouseData::press_clientheight
 

Definition at line 145 of file python.hh.

int ob::MouseData::press_clientwidth
 

Definition at line 144 of file python.hh.

int ob::MouseData::press_clientx
 

Definition at line 142 of file python.hh.

int ob::MouseData::press_clienty
 

Definition at line 143 of file python.hh.

int ob::MouseData::pressx
 

Definition at line 140 of file python.hh.

int ob::MouseData::pressy
 

Definition at line 141 of file python.hh.

int ob::MouseData::screen
 

Definition at line 131 of file python.hh.

unsigned int ob::MouseData::state
 

Definition at line 134 of file python.hh.

Referenced by ob::Bindings::fireButton().

Time ob::MouseData::time
 

Definition at line 133 of file python.hh.

Referenced by ob::Bindings::fireButton().

int ob::MouseData::xroot
 

Definition at line 138 of file python.hh.

int ob::MouseData::yroot
 

Definition at line 139 of file python.hh.


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