mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
change define
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@404 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
16db4eb573
commit
c4118eb6cb
@ -1652,7 +1652,7 @@ void TessBaseAPI::GetFeatures(INT_FEATURE_ARRAY int_features,
|
||||
for (block_it.mark_cycle_pt (); !block_it.cycled_list ();
|
||||
block_it.forward ()) {
|
||||
BLOCK* block = block_it.data();
|
||||
#ifndef GRAPHICS_DISABLED
|
||||
#ifndef SCROLLVIEW_DISABLED
|
||||
extract_edges(NULL, // Scrollview window.
|
||||
&page_image, // Image.
|
||||
&page_image, // Thresholded image.
|
||||
|
@ -174,7 +174,7 @@ bool AlignedBlob::WithinTestRegion(int detail_level, int x, int y) {
|
||||
// Display the tab codes of the BLOBNBOXes in this grid.
|
||||
ScrollView* AlignedBlob::DisplayTabs(const char* window_name,
|
||||
ScrollView* tab_win) {
|
||||
#ifndef GRAPHICS_DISABLED
|
||||
#ifndef SCROLLVIEW_DISABLED
|
||||
if (tab_win == NULL)
|
||||
tab_win = MakeWindow(0, 50, window_name);
|
||||
// For every tab in the grid, display it.
|
||||
@ -213,7 +213,7 @@ ScrollView* AlignedBlob::DisplayTabs(const char* window_name,
|
||||
}
|
||||
}
|
||||
tab_win->Update();
|
||||
#endif
|
||||
#endif
|
||||
return tab_win;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user