All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::TabEventHandler< G > Class Template Reference

#include <bbgrid.h>

Inheritance diagram for tesseract::TabEventHandler< G >:

Public Member Functions

 TabEventHandler (G *grid)
void Notify (const SVEvent *sv_event)
- Public Member Functions inherited from SVEventHandler
virtual ~SVEventHandler ()

Detailed Description

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

Definition at line 576 of file bbgrid.h.

Constructor & Destructor Documentation

template<class G >
tesseract::TabEventHandler< G >::TabEventHandler ( G *  grid)

Definition at line 578 of file bbgrid.h.

578  : grid_(grid) {
579  }

Member Function Documentation

template<class G >
void tesseract::TabEventHandler< G >::Notify ( const SVEvent sv_event)

Reimplemented from SVEventHandler.

Definition at line 580 of file bbgrid.h.

580  {
581  if (sv_event->type == SVET_CLICK) {
582  grid_->HandleClick(sv_event->x, sv_event->y);
583  }
584  }
int y
Definition: scrollview.h:67
SVEventType type
Definition: scrollview.h:64
int x
Definition: scrollview.h:66

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