viewer/sbgtypes.h File Reference

#include "sbgconst.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Enumerations


Define Documentation

#define AWAIT_TIME   999999

Definition at line 31 of file sbgtypes.h.

#define CHECK_TIME   1000

Note:
File: sbgtypes.h (Formerly sbtypes.h)
Structures for the Starbase/X daemon interface.
Author:
Ray Smith
Date:
Wed May 16 09:26:35 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 30 of file sbgtypes.h.

#define EVENT_HEAD   (*(INT32*)((char*)shminfo.shmstart+shminfo.shmsize+2*sizeof(INT32)))

Definition at line 37 of file sbgtypes.h.

Referenced by event_reader(), kick_daemon(), and start_sbdaemon().

#define EVENT_INDEX ( index   )     (((SBD_GRAPHICS_EVENT*)((char*)shminfo.shmstart+shminfo.shmsize+3*sizeof(INT32)))[index])

Definition at line 38 of file sbgtypes.h.

Referenced by event_reader(), and kick_daemon().

#define EVENT_TAIL   (*(INT32*)((char*)shminfo.shmstart+shminfo.shmsize+sizeof(INT32)))

Definition at line 36 of file sbgtypes.h.

Referenced by start_sbdaemon().

#define EVENTSIZE   16

Definition at line 34 of file sbgtypes.h.

Referenced by event_reader(), kick_daemon(), and start_sbdaemon().

#define INFD   0

Definition at line 32 of file sbgtypes.h.

Referenced by cleanup_sbdaemon(), kick_daemon(), and start_sbdaemon().

#define OUTFD   1

Definition at line 33 of file sbgtypes.h.

Referenced by cleanup_sbdaemon(), and kick_daemon().

#define PRIMITIVES   (*(INT32*)((char*)shminfo.shmstart+shminfo.shmsize))

Definition at line 35 of file sbgtypes.h.

Referenced by kick_daemon().


Typedef Documentation

typedef void(*) DELFUNC(void *, INT32)

Definition at line 353 of file sbgtypes.h.

SBD_GRAPHICS_EVENT

Type of sbdgraphicsevent, event type.

SBDWINDOW

Related to Starbase.

Definition at line 359 of file sbgtypes.h.


Enumeration Type Documentation

enum CALL_TYPE

Related to Starbase.

Type of starbase call

Enumerator:
LINECOLOUR 
PERIMETERCOLOUR 
FILLCOLOUR 
MARKERCOLOUR 
TEXTCOLOUR 
TEXTFONT 
CHARHEIGHT 
LINETYPE 
MARKERTYPE 
MARKERSIZE 
MARKERMODE 
INTERIORSTYLE 
EDGESTYLE 
MOVE2D 
DRAW2D 
RECTANGLE 
TEXT_ALIGNMENT 
POLYLINE2D 
POLYGON2D 
POLYMARKER2D 
TEXT2D 
APPENDTEXT 
ELLIPSE 
ARC 
SHOWIMAGE 
SHOWLINE 
CREATE 
DESTROY 
CLEAR 
VDCEXTENT 
MAKECURRENT 
SETSIGNALS 
SETECHO 
SYNCWIN 
RE_COMP_COLMAP 

Definition at line 46 of file sbgtypes.h.

00046              {
00047   LINECOLOUR,                    /*line_color_index */
00048   PERIMETERCOLOUR,               /*perimeter_color_index */
00049   FILLCOLOUR,                    /*fill_color_index */
00050   MARKERCOLOUR,                  /*marker_color_index */
00051   TEXTCOLOUR,                    /*text_color_index */
00052   TEXTFONT,                      /*text_font_index */
00053   CHARHEIGHT,                    /*character_height */
00054   LINETYPE,                      /*line_type */
00055   MARKERTYPE,                    /*marker_type */
00056   MARKERSIZE,                    /*marker_size */
00057   MARKERMODE,                    /*mode in markersize */
00058   INTERIORSTYLE,                 /*interior_style */
00059   EDGESTYLE,                     /*edge in interior_style */
00060 
00061   MOVE2D,                        /*move2d */
00062   DRAW2D,                        /*draw2d */
00063   RECTANGLE,                     /*rectangle */
00064   TEXT_ALIGNMENT,                //alginment
00065   POLYLINE2D,                    /*polyline2d */
00066   POLYGON2D,                     /*polygon2d */
00067   POLYMARKER2D,                  /*polymarker2d */
00068   TEXT2D,                        /*text2d */
00069   APPENDTEXT,                    /*append_text */
00070   ELLIPSE,                       /*ellipse */
00071   ARC,                           /*arc */
00072 
00073   SHOWIMAGE,                     /*display image */
00074   SHOWLINE,                      /*send image line */
00075 
00076   CREATE,                        /*create_window */
00077   DESTROY,                       /*destroy_window */
00078   CLEAR,                         /*clear_view_surface */
00079   VDCEXTENT,                     /*vdc_extent */
00080   MAKECURRENT,                   /*make_picture_current */
00081   SETSIGNALS,                    //add callback
00082   SETECHO,                       //change cursor
00083   SYNCWIN,                       //sychronize
00084   RE_COMP_COLMAP                 //Re-compute colourmap
00085 } CALL_TYPE;


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