viewer/sbgconst.h File Reference

#include "host.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Enumerations


Define Documentation

#define ANY_EVENT   6

Definition at line 135 of file sbgconst.h.

Referenced by display_image(), display_images(), COMMAND_WINDOW::internal_prompt(), pgeditor_main(), search_single_queue(), and window_wait().

#define DCWIN   3

Definition at line 37 of file sbgconst.h.

#define DESTROY_EVENT   7

Definition at line 136 of file sbgconst.h.

Referenced by add_event(), await_click(), await_key(), await_selection(), def_await_event(), and search_single_queue().

#define DOWN_EVENT   1

Definition at line 130 of file sbgconst.h.

Referenced by add_event(), await_click(), COMMAND_WINDOW::event(), process_image_event(), and search_single_queue().

#define FULLSIZEWIN   2

Definition at line 36 of file sbgconst.h.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), and COMMAND_WINDOW::update_menu_tree().

#define KEYPRESS_EVENT   4

Definition at line 133 of file sbgconst.h.

Referenced by add_event(), await_key(), COMMAND_WINDOW::event(), COMMAND_WINDOW::internal_prompt(), and window_wait().

#define M_ASTERISK   2

Definition at line 41 of file sbgconst.h.

#define M_CIRCLE   3

Definition at line 42 of file sbgconst.h.

#define M_CROSS   4

Definition at line 43 of file sbgconst.h.

#define M_CROSSED_SQUARE   8

Definition at line 47 of file sbgconst.h.

#define M_DIAMOND   7

Definition at line 46 of file sbgconst.h.

#define M_DOT   0

Definition at line 39 of file sbgconst.h.

#define M_PLUS   1

Definition at line 40 of file sbgconst.h.

#define M_SQUARE   6

Definition at line 45 of file sbgconst.h.

#define M_TRIANGLE   5

Definition at line 44 of file sbgconst.h.

#define MAXWINDOWNAME   1024

Definition at line 31 of file sbgconst.h.

Referenced by WINFD::create().

#define MAXWINDOWS   64

Definition at line 30 of file sbgconst.h.

Referenced by WINFD::create().

#define MOVE_EVENT   2

Definition at line 131 of file sbgconst.h.

#define NO_WINDOW   0

Definition at line 33 of file sbgconst.h.

Referenced by bln_word_window_handle(), build_image_window(), classify_word_pass2(), cleanup_rows(), close_to_win(), compute_fixed_pitch(), WINFD::create(), edges_and_textord(), expand_rows(), filter_blobs(), get_outlines(), make_initial_textrows(), pgeditor_msg(), pre_associate_blobs(), print_pitch_sd(), and try_doc_fixed().

#define QUEUE_CLEAR   0

Starbase event types

Definition at line 129 of file sbgconst.h.

Referenced by event_reader(), and kick_daemon().

#define SCROLLINGWIN   1

Definition at line 35 of file sbgconst.h.

Referenced by bln_word_window_handle(), build_image_window(), c_create_window(), COMMAND_WINDOW::COMMAND_WINDOW(), create_edges_window(), create_fx_win(), create_to_win(), display_clip_image(), display_image(), display_images(), and COMMAND_WINDOW::update_menu_tree().

#define SELECT_EVENT   5

Definition at line 134 of file sbgconst.h.

Referenced by await_selection(), process_image_event(), and search_single_queue().

#define SMDWINDOW   0

Definition at line 34 of file sbgconst.h.

Referenced by create_to_win(), and smd_cmd().

#define UP_EVENT   3

Definition at line 132 of file sbgconst.h.

Referenced by add_event(), process_image_event(), and search_single_queue().

#define WINDOWNAMESIZE   13

Note:
File: sbgconst.h (Formerly sbconst.h)
Header file of constants needed by graphics code.
Author:
Ray Smith
Date:
Thu May 24 14:19:43 BST 1990
 * (C) Copyright 1990, Hewlett-Packard Ltd.
 ** 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 29 of file sbgconst.h.

Referenced by display_cluster_prototypes().


Typedef Documentation

typedef void(*) EVENT_HANDLER(GRAPHICS_EVENT *)

Definition at line 157 of file sbgconst.h.

GRAPHICS_EVENT

Type of graphicsevent, event type.

WINDOW

Compatible with old code.

Definition at line 55 of file sbgconst.h.


Enumeration Type Documentation

enum COLOUR

Starbase colors.

Enumerator:
BLACK 
WHITE 
RED 
YELLOW 
GREEN 
CYAN 
BLUE 
MAGENTA 
AQUAMARINE 
DARK_SLATE_BLUE 
LIGHT_BLUE 
MEDIUM_BLUE 
MIDNIGHT_BLUE 
NAVY_BLUE 
SKY_BLUE 
SLATE_BLUE 
STEEL_BLUE 
CORAL 
BROWN 
SANDY_BROWN 
GOLD 
GOLDENROD 
DARK_GREEN 
DARK_OLIVE_GREEN 
FOREST_GREEN 
LIME_GREEN 
PALE_GREEN 
YELLOW_GREEN 
LIGHT_GREY 
DARK_SLATE_GREY 
DIM_GREY 
GREY 
KHAKI 
MAROON 
ORANGE 
ORCHID 
PINK 
PLUM 
INDIAN_RED 
ORANGE_RED 
VIOLET_RED 
SALMON 
TAN 
TURQUOISE 
DARK_TURQUOISE 
VIOLET 
WHEAT 
GREEN_YELLOW 

Definition at line 61 of file sbgconst.h.

00061              {
00062   BLACK,
00063   WHITE,
00064   RED,
00065   YELLOW,
00066   GREEN,
00067   CYAN,
00068   BLUE,
00069   MAGENTA,
00070   AQUAMARINE,
00071   DARK_SLATE_BLUE,
00072   LIGHT_BLUE,
00073   MEDIUM_BLUE,
00074   MIDNIGHT_BLUE,
00075   NAVY_BLUE,
00076   SKY_BLUE,
00077   SLATE_BLUE,
00078   STEEL_BLUE,
00079   CORAL,
00080   BROWN,
00081   SANDY_BROWN,
00082   GOLD,
00083   GOLDENROD,
00084   DARK_GREEN,
00085   DARK_OLIVE_GREEN,
00086   FOREST_GREEN,
00087   LIME_GREEN,
00088   PALE_GREEN,
00089   YELLOW_GREEN,
00090   LIGHT_GREY,
00091   DARK_SLATE_GREY,
00092   DIM_GREY,
00093   GREY,
00094   KHAKI,
00095   MAROON,
00096   ORANGE,
00097   ORCHID,
00098   PINK,
00099   PLUM,
00100   INDIAN_RED,
00101   ORANGE_RED,
00102   VIOLET_RED,
00103   SALMON,
00104   TAN,
00105   TURQUOISE,
00106   DARK_TURQUOISE,
00107   VIOLET,
00108   WHEAT,
00109   GREEN_YELLOW
00110 } COLOUR;                        /*starbase colours */

enum ECHO_TYPE

Something starbase related.

Enumerator:
NO_ECHO 
BEST_ECHO 
CROSS_HAIR_ECHO 
SMALL_X_ECHO 
RUBBER_LINE_ECHO 
RUBBER_BOX_ECHO 
ALPHA_ECHO 

Definition at line 117 of file sbgconst.h.

00118 {
00119   NO_ECHO,
00120   BEST_ECHO,
00121   CROSS_HAIR_ECHO,
00122   SMALL_X_ECHO,
00123   RUBBER_LINE_ECHO,
00124   RUBBER_BOX_ECHO,
00125   ALPHA_ECHO
00126 };


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