change define

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@404 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
joregan 2010-06-27 15:27:10 +00:00
parent 16db4eb573
commit c4118eb6cb
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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;
}