1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
/*------------------------------------------------------------------------
* Graphic library
* Copyright INRIA
* newGraph Library header
* Matthieu PHILIPPE, INRIA 2001-2002
* Djalel ABDEMOUCHE, INRIA 2002-2004
* Fabrice Leray, INRIA 2004-xxxx
* Comment:
* This file contains all functions used to BUILD new objects :
- break the binding between the deleted object and its parent in the
existing hierarchy
- freeing memory
--------------------------------------------------------------------------*/
#include "ObjectStructure.h"
#include "HandleManagement.h"
#ifndef __SCI_DESTROY__
#define __SCI_DESTROY__
extern int DestroyAllGraphicsSons (sciPointObj * pthis); /* DESTROY */
extern int DestroyFigure (sciPointObj * pthis); /* DESTROY */
extern int DestroyStatusBar (sciPointObj * pthis); /* DESTROY */
extern int DestroySubWin (sciPointObj * pthis); /* DESTROY */
extern int DestroyScrollV (sciPointObj * pthis); /* DESTROY */
extern int DestroyScrollH (sciPointObj * pthis); /* DESTROY */
extern int DestroyText (sciPointObj * pthis); /* DESTROY */
extern int DestroyTitle (sciPointObj * pthis); /* DESTROY */
extern int DestroyLegend (sciPointObj * pthis); /* DESTROY */
extern int DestroyPolyline (sciPointObj * pthis); /* DESTROY */
extern int DestroyArc (sciPointObj * pthis); /* DESTROY */
extern int DestroyRectangle (sciPointObj * pthis); /* DESTROY */
extern int DestroySurface (sciPointObj * pthis); /* DESTROY */
extern int DestroyMerge (sciPointObj * pthis); /* DESTROY */
extern int DestroyGrayplot (sciPointObj * pthis); /* DESTROY */
extern int DestroyAxes (sciPointObj * pthis); /* DESTROY */
extern int DestroyFec (sciPointObj * pthis); /* DESTROY */
extern int DestroySegs (sciPointObj * pthis); /* DESTROY */
extern int DestroyCompound (sciPointObj * pthis);
extern void DeleteObjs(int win); /* DESTROY */
extern int sciUnCompound (sciPointObj * pobj); /* DESTROY */
extern int sciDelGraphicObj (sciPointObj * pthis); /* DESTROY */
extern int DestroyLabel (sciPointObj * pthis); /* DESTROY */
extern int DestroyUimenu (sciPointObj * pthis); /* DESTROY */
/* UNUSED : */
extern int sciDelLabelsMenu (sciPointObj * pthis);
extern int DestroyMenuContext (sciPointObj * pthis);
extern int DestroySciMenu (sciPointObj * pthis);
/* ADDED */
extern void delete_sgwin_entities(int win_num,int v_flag);
#endif /* __SCI_DESTROY__ */
|