MCPcopy Create free account
hub / github.com/creatale/node-dv / AddMessage

Method AddMessage

deps/tesseract/viewer/scrollview.cpp:567–581  ·  view source on GitHub ↗

Adds a message entry to the message box.

Source from the content-addressed store, hash-verified

565
566// Adds a message entry to the message box.
567void ScrollView::AddMessage(const char* format, ...) {
568 va_list args;
569 char message[kMaxMsgSize];
570 char form[kMaxMsgSize];
571
572 va_start(args, format); // variable list
573 vsnprintf(message, kMaxMsgSize, format, args);
574 va_end(args);
575
576 snprintf(form, kMaxMsgSize, "w%u:%s", window_id_, message);
577
578 char* esc = AddEscapeChars(form);
579 SendMsg("addMessage(\"%s\")", esc);
580 delete[] esc;
581}
582
583// Set a messagebox.
584void ScrollView::AddMessageBox() {

Callers 7

NotifyMethod · 0.80
WriteParamsMethod · 0.80
pgeditor_msgFunction · 0.80
pgeditor_show_pointFunction · 0.80
process_cmd_win_eventMethod · 0.80
process_image_eventMethod · 0.80
show_pointFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected