Back to index

easystroke  0.5.5.1
Classes | Defines | Typedefs | Functions
gesture.h File Reference
#include "stroke.h"
#include <gdkmm/pixbuf.h>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boost/serialization/access.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/split_member.hpp>
#include <X11/X.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Triple
class  Stroke
struct  Stroke::Point
class  PreStroke

Defines

#define STROKE_SIZE   64

Typedefs

typedef boost::shared_ptr< StrokeRStroke
typedef boost::shared_ptr
< PreStroke
RPreStroke
typedef boost::shared_ptr< TripleRTriple

Functions

int get_default_button ()
void update_triple (RTriple e, float x, float y, Time t)
RTriple create_triple (float x, float y, Time t)

Class Documentation

struct Triple

Definition at line 39 of file gesture.h.

Class Members
Time t
float x
float y

Define Documentation

#define STROKE_SIZE   64

Definition at line 29 of file gesture.h.


Typedef Documentation

typedef boost::shared_ptr<PreStroke> RPreStroke

Definition at line 35 of file gesture.h.

typedef boost::shared_ptr<Stroke> RStroke

Definition at line 32 of file gesture.h.

typedef boost::shared_ptr<Triple> RTriple

Definition at line 44 of file gesture.h.


Function Documentation

RTriple create_triple ( float  x,
float  y,
Time  t 
)

Definition at line 25 of file gesture.cc.

                                                {
       RTriple e(new Triple);
       update_triple(e, x, y, t);
       return e;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 515 of file grabber.cc.

                         {
       if (grabber)
              return grabber->get_default_button();
       else
              return prefs.button.get().button;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void update_triple ( RTriple  e,
float  x,
float  y,
Time  t 
)

Definition at line 19 of file gesture.cc.

                                                        {
       e->x = x;
       e->y = y;
       e->t = t;
}

Here is the caller graph for this function: