00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include "ObjectStructure.h"
00016 #include "HandleManagement.h"
00017
00018
00019 #ifndef __SCI_DESTROY__
00020 #define __SCI_DESTROY__
00021
00022
00023
00024 extern int DestroyAllGraphicsSons (sciPointObj * pthis);
00025 void AllGraphWinDelete( void ) ;
00026
00027 #define SciGerase() { if( C2F(scigerase)() !=0 ) { Scierror(999,"%s :Requested figure cannot be created \r\n",fname) ; return 0 ; } }
00028 int C2F(scigerase)( void ) ;
00029
00030 extern int DestroyFigure (sciPointObj * pthis);
00031 extern int DestroyStatusBar (sciPointObj * pthis);
00032 extern int DestroySubWin (sciPointObj * pthis);
00033 extern int DestroyScrollV (sciPointObj * pthis);
00034 extern int DestroyScrollH (sciPointObj * pthis);
00035 extern int deallocateText( sciPointObj * pthis ) ;
00036 extern int DestroyText (sciPointObj * pthis);
00037 extern int DestroyTitle (sciPointObj * pthis);
00038 extern int DestroyLegend (sciPointObj * pthis);
00039 extern int DestroyPolyline (sciPointObj * pthis);
00040 extern int DestroyArc (sciPointObj * pthis);
00041 extern int DestroyRectangle (sciPointObj * pthis);
00042 extern int DestroySurface (sciPointObj * pthis);
00043 extern int DestroyMerge (sciPointObj * pthis);
00044 extern int DestroyGrayplot (sciPointObj * pthis);
00045 extern int DestroyAxes (sciPointObj * pthis);
00046 extern int DestroyFec (sciPointObj * pthis);
00047 extern int DestroySegs (sciPointObj * pthis);
00048 extern int DestroyCompound (sciPointObj * pthis);
00049
00050 extern void DeleteObjs(int win);
00051 extern int sciUnCompound (sciPointObj * pobj);
00052
00053 extern int sciDelGraphicObj (sciPointObj * pthis);
00054
00055 extern int DestroyLabel (sciPointObj * pthis);
00056 extern int DestroyUimenu (sciPointObj * pthis);
00057 int sciDestroyConsole( sciPointObj * pthis ) ;
00058 int sciDestroyFrame( sciPointObj * pThis ) ;
00059 int sciDestroyWindow( sciPointObj * pThis ) ;
00060 int sciDestroyWindowFrame( sciPointObj * pThis ) ;
00061 int sciDestroyScreen( sciPointObj * pThis ) ;
00062
00063
00064 extern int sciDelLabelsMenu (sciPointObj * pthis);
00065 extern int DestroyMenuContext (sciPointObj * pthis);
00066 extern int DestroySciMenu (sciPointObj * pthis);
00067
00068
00069
00070 extern void delete_sgwin_entities(int win_num);
00071
00072
00073 extern void clearUserData( sciPointObj * pObj ) ;
00074
00075 extern void sciDeleteWindow( int winNum ) ;
00076
00077 extern int updateMerge( sciPointObj * pSubwin ) ;
00078
00079 void CleanPlots(char *unused, integer *winnumber, integer *v3, integer *v4, integer *v5, integer *v6, integer *v7, double *dx1, double *dx2, double *dx3, double *dx4) ;
00080
00081 int sciStandardDestroyOperations( sciPointObj * pThis ) ;
00082
00083 #endif