tesseract  4.00.00dev
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
ScrollView * bln_word_window
Definition: pgedit.cpp:114
int y
Definition: scrollview.h:67
int x
Definition: scrollview.h:66
void show_point(PAGE_RES *page_res, float x, float y)
Definition: pgedit.cpp:654
PAGE_RES * current_page_res
Definition: pgedit.cpp:128

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