提交 c4118eb6 编写于 作者: J joregan

change define

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@404 d0cd1f9f-072b-0410-8dd7-cf729c803f20
上级 16db4eb5
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册