Tesseract  3.02
tesseract::TabEventHandler< G > Class Template Reference

#include <bbgrid.h>

Inheritance diagram for tesseract::TabEventHandler< G >:
SVEventHandler

List of all members.

Public Member Functions

 TabEventHandler (G *grid)
void Notify (const SVEvent *sv_event)

Detailed Description

template<class G>
class tesseract::TabEventHandler< G >

Definition at line 573 of file bbgrid.h.


Constructor & Destructor Documentation

template<class G >
tesseract::TabEventHandler< G >::TabEventHandler ( G *  grid) [inline, explicit]

Definition at line 575 of file bbgrid.h.

                                    : grid_(grid) {
  }

Member Function Documentation

template<class G >
void tesseract::TabEventHandler< G >::Notify ( const SVEvent sv_event) [inline, virtual]

Reimplemented from SVEventHandler.

Definition at line 577 of file bbgrid.h.

                                       {
    if (sv_event->type == SVET_CLICK) {
      grid_->HandleClick(sv_event->x, sv_event->y);
    }
  }

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