tesseract v5.3.3.20231005
tesseract::TabEventHandler< G > Class Template Reference

#include <bbgrid.h>

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

Public Member Functions

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

Detailed Description

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

Definition at line 617 of file bbgrid.h.

Constructor & Destructor Documentation

◆ TabEventHandler()

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

Definition at line 619 of file bbgrid.h.

619: grid_(grid) {}

Member Function Documentation

◆ Notify()

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

Reimplemented from tesseract::SVEventHandler.

Definition at line 620 of file bbgrid.h.

620 {
621 if (sv_event->type == SVET_CLICK) {
622 grid_->HandleClick(sv_event->x, sv_event->y);
623 }
624 }
@ SVET_CLICK
Definition: scrollview.h:56

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