wordrec/msmenus.cpp File Reference

#include <stdio.h>
#include <signal.h>
#include "msmenus.h"
#include "debug.h"
#include "sigmenu.h"
#include "plotseg.h"
#include "baseline.h"
#include "bestfirst.h"
#include "split.h"
#include "associate.h"
#include "chop.h"
#include "tordvars.h"
#include "permute.h"

Go to the source code of this file.

Functions


Function Documentation

handle_menu_4 handle_menu_6 handle_menu ( ,
handle_menu_7   
)

handle_menu_4 handle_menu ( ,
handle_menu_5   
)

handle_menu ( ,
handle_menu_3   
)

Initialize the traps for handling the splitter debug stuff.

int handle_menu_3 (  ) 

Note:
File: msmenus.cpp (Formerly msmenus.c)
Menu creation and initialization
Author:
Mark Seaman, OCR Technology
Date:
Thu Jul 27 08:59:01 1989 Fri Jul 12 16:04:50 1991 (Mark Seaman) marks
 * (c) Copyright 1989, Hewlett-Packard Company.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** http://www.apache.org/licenses/LICENSE-2.0
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.

Referenced by init_ms_debug().

int handle_menu_4 (  ) 

Referenced by init_ms_debug().

int handle_menu_5 (  ) 

Referenced by init_ms_debug().

int handle_menu_6 (  ) 

Referenced by init_ms_debug().

int handle_menu_7 (  ) 

Referenced by init_ms_debug().

int handle_menu_8 (  ) 

Referenced by init_ms_debug().

int handle_menu_9 (  ) 

Referenced by init_ms_debug().

void init_ms_debug (  ) 

Initialize the traps for handling the splitter debug stuff.

Note:
File: msmenus.h (Formerly msmenus.h)
Create and initialize menus
Author:
Mark Seaman, OCR Technology
Date:
Mon Sep 24 09:34:21 1990 Mon Sep 24 09:34:34 1990 (Mark Seaman) marks
 * (c) Copyright 1990, Hewlett-Packard Company.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** http://www.apache.org/licenses/LICENSE-2.0
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.

Definition at line 59 of file msmenus.cpp.

References AddSignalMenuItem(), handle_menu_3(), handle_menu_4(), handle_menu_5(), handle_menu_6(), handle_menu_7(), handle_menu_8(), handle_menu_9(), init_associate_vars(), init_baseline(), init_bestfirst_vars(), init_chop(), init_permute(), init_plotseg(), init_render_vars(), init_splitter_vars(), and init_textord_vars().

Referenced by program_editup().

00059                      { 
00060   static int first_time = 1;
00061 
00062   if (first_time) {
00063     first_time = 0;
00064     /* Set up the interrupts */
00065     #ifndef GRAPHICS_DISABLED
00066     #ifndef SECURE_NAMES
00067     AddSignalMenuItem (SIGINT, 3, "Chopper", handle_menu_3);
00068     AddSignalMenuItem (SIGINT, 4, "Text Order", handle_menu_4);
00069     AddSignalMenuItem (SIGINT, 5, "Graphics", handle_menu_5);
00070     AddSignalMenuItem (SIGINT, 6, "Text Display", handle_menu_6);
00071     AddSignalMenuItem (SIGINT, 7, "Similarity Matcher", handle_menu_7);
00072     AddSignalMenuItem (SIGINT, 8, "Context", handle_menu_8);
00073     AddSignalMenuItem (SIGINT, 9, "Joiner", handle_menu_9);
00074     #endif
00075 
00076     init_plotseg(); 
00077     init_render_vars(); 
00078     #endif
00079     
00080     init_baseline(); 
00081     init_bestfirst_vars(); 
00082     init_splitter_vars(); 
00083     init_associate_vars(); 
00084     init_chop(); 
00085     
00086     init_textord_vars(); 
00087     init_permute(); 
00088   }
00089 }


Generated on Wed Feb 28 19:49:28 2007 for Tesseract by  doxygen 1.5.1