Definition at line 40 of file svpaint.cpp.
◆ SVPaint()
tesseract::SVPaint::SVPaint |
( |
const char * |
server_name | ) |
|
|
explicit |
Definition at line 188 of file svpaint.cpp.
189 window_ =
new ScrollView(
"ScrollView Paint Example",
203 has_start_point_ =
false;
207 SVMenuNode *popup_menu = BuildPopupMenu();
208 popup_menu->BuildMenu(window_,
false);
210 SVMenuNode *bar_menu = BuildMenuBar();
211 bar_menu->BuildMenu(window_,
true);
void SetVisible(bool visible)
void AddEventHandler(SVEventHandler *listener)
Add an Event Listener to this ScrollView Window.
SVEvent * AwaitEvent(SVEventType type)
◆ Notify()
void tesseract::SVPaint::Notify |
( |
const SVEvent * |
sv_event | ) |
|
|
overridevirtual |
Reimplemented from tesseract::SVEventHandler.
Definition at line 173 of file svpaint.cpp.
175 ClickHandler(sv_event);
177 SelectionHandler(sv_event);
178 }
else if (sv_event->type ==
SVET_MENU) {
179 MenuBarHandler(sv_event);
181 PopupHandler(sv_event);
The documentation for this class was generated from the following file: