tesseract  4.0.0-1-g2a2b
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 150 of file pgedit.cpp.

Member Function Documentation

◆ Notify()

void BlnEventHandler::Notify ( const SVEvent sv_event)
inlinevirtual

Reimplemented from SVEventHandler.

Definition at line 152 of file pgedit.cpp.

152  {
153  if (sv_event->type == SVET_DESTROY)
154  bln_word_window = nullptr;
155  else if (sv_event->type == SVET_CLICK)
156  show_point(current_page_res, sv_event->x, sv_event->y);
157  }
PAGE_RES * current_page_res
Definition: pgedit.cpp:121
int x
Definition: scrollview.h:66
void show_point(PAGE_RES *page_res, float x, float y)
Definition: pgedit.cpp:653
SVEventType type
Definition: scrollview.h:64
int y
Definition: scrollview.h:67

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