tesseract  3.05.02
BlnEventHandler Class Reference
Inheritance diagram for BlnEventHandler:
SVEventHandler

Public Member Functions

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

Detailed Description

Definition at line 157 of file pgedit.cpp.

Member Function Documentation

◆ Notify()

void BlnEventHandler::Notify ( const SVEvent sv_event)
inlinevirtual

Reimplemented from SVEventHandler.

Definition at line 159 of file pgedit.cpp.

159  {
160  if (sv_event->type == SVET_DESTROY)
161  bln_word_window = NULL;
162  else if (sv_event->type == SVET_CLICK)
163  show_point(current_page_res, sv_event->x, sv_event->y);
164  }
SVEventType type
Definition: scrollview.h:64
void show_point(PAGE_RES *page_res, float x, float y)
Definition: pgedit.cpp:655
PAGE_RES * current_page_res
Definition: pgedit.cpp:128
int y
Definition: scrollview.h:67
int x
Definition: scrollview.h:66
ScrollView * bln_word_window
Definition: pgedit.cpp:114

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