"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/viewer/scrollview.h" between
tesseract-5.0.0-rc2.tar.gz and tesseract-5.0.0-rc3.tar.gz

About: Tesseract is an Optical Character Recognition (OCR) engine. Release candidate.

scrollview.h  (tesseract-5.0.0-rc2):scrollview.h  (tesseract-5.0.0-rc3)
skipping to change at line 72 skipping to change at line 72
SVET_MENU, // A command selected through the menubar. SVET_MENU, // A command selected through the menubar.
SVET_ANY, // Any of the above. SVET_ANY, // Any of the above.
SVET_COUNT // Array sizing. SVET_COUNT // Array sizing.
}; };
struct SVEvent { struct SVEvent {
~SVEvent() { ~SVEvent() {
delete[] parameter; delete[] parameter;
} }
SVEvent *copy(); SVEvent *copy() const;
SVEventType type = SVET_DESTROY; // What kind of event. SVEventType type = SVET_DESTROY; // What kind of event.
ScrollView *window = nullptr; // Window event relates to. ScrollView *window = nullptr; // Window event relates to.
char *parameter = nullptr; // Any string that might have been passed as argument. char *parameter = nullptr; // Any string that might have been passed as argument.
int x = 0; // Coords of click or selection. int x = 0; // Coords of click or selection.
int y = 0; int y = 0;
int x_size = 0; // Size of selection. int x_size = 0; // Size of selection.
int y_size = 0; int y_size = 0;
int command_id = 0; // The ID of the possibly associated event (e.g. MENU) int command_id = 0; // The ID of the possibly associated event (e.g. MENU)
int counter = 0; // Used to detect which kind of event to process next. int counter = 0; // Used to detect which kind of event to process next.
skipping to change at line 375 skipping to change at line 375
void Initialize(const char *name, int x_pos, int y_pos, int x_size, int y_size , int x_canvas_size, void Initialize(const char *name, int x_pos, int y_pos, int x_size, int y_size , int x_canvas_size,
int y_canvas_size, bool y_axis_reversed, const char *server_na me); int y_canvas_size, bool y_axis_reversed, const char *server_na me);
// Send the current buffered polygon (if any) and clear it. // Send the current buffered polygon (if any) and clear it.
void SendPolygon(); void SendPolygon();
// Start the message receiving thread. // Start the message receiving thread.
static void MessageReceiver(); static void MessageReceiver();
// Place an event into the event_table (synchronized). // Place an event into the event_table (synchronized).
void SetEvent(SVEvent *svevent); void SetEvent(const SVEvent *svevent);
// Wake up the semaphore. // Wake up the semaphore.
void Signal(); void Signal();
// Returns the unique, shared network stream. // Returns the unique, shared network stream.
static SVNetwork *GetStream() { static SVNetwork *GetStream() {
return stream_; return stream_;
} }
// Starts a new event handler. // Starts a new event handler.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)