1/***************************************************************************** 2 FILE : $Source: /projects/higgs1/SNNS/CVS/SNNS/xgui/sources/ui_display.ph,v $ 3 SHORTNAME : display.ph 4 SNNS VERSION : 4.2 5 6 PURPOSE : Header file of correspondent '.c' file 7 NOTES : 8 9 AUTHOR : Tilman Sommer 10 DATE : 1.2.1990 11 12 CHANGED BY : 13 RCS VERSION : $Revision: 2.6 $ 14 LAST CHANGE : $Date: 1998/02/25 15:21:32 $ 15 16 Copyright (c) 1990-1995 SNNS Group, IPVR, Univ. Stuttgart, FRG 17 Copyright (c) 1996-1998 SNNS Group, WSI, Univ. Tuebingen, FRG 18 19******************************************************************************/ 20 21 22#ifndef _UI_DISPLAY_DEFINED_ 23#define _UI_DISPLAY_DEFINED_ 24 25 26/* begin global definition section */ 27 28 29struct Ui_DisplayType *ui_currentDisplay; /* current display */ 30struct Ui_DisplayType *ui_displ_listPtr; /* pointer to first item */ 31 32int ui_displ_numberOfItems; /* number of created items */ 33 34 35void ui_displ_initDisplayList(void); 36void ui_displ_freeItem(struct Ui_DisplayType *displayPtr); 37 /* free it */ 38void ui_displ_resetList(void); /* free al items */ 39struct Ui_DisplayType *ui_displ_getFreeItem(void); /* create */ 40Bool ui_displ_isSomeWhereToShowWeights(void); 41Bool ui_displ_isSomeWhereToShowValues(void); 42void ui_displ_freezeDisplay(Widget w, 43 struct Ui_DisplayType *displayPtr, 44 caddr_t call_data); 45 46 47/* end global definition section */ 48 49 50/* begin private definition section */ 51 52 53static struct Ui_DisplayType *ui_displ_freeListPtr; 54 /* pointer to first free item */ 55 56 57static struct Ui_DisplayType *ui_displ_createItem(void); 58 59 60#ifdef _UNUSED_FUNCTIONS_ 61static struct Ui_DisplayType *ui_displ_getDisplayPtrViaFrameWidget(Widget); 62 /* get display via frame widget */ 63static struct Ui_DisplayType *ui_displ_getDisplayPtrViaDrawable(Widget); 64 /* get display via widget */ 65#endif /* _UNUSED_FUNCTIONS_ */ 66 67 68/* end private definition section */ 69 70 71#endif /* _UI_DISPLAY_DEFINED_ */ 72 73 74 75/* end of file */ 76/* lines: 34 */ 77