[Delete] old Object selection related functions. 18/7918/1
Bruno JOFRET [Fri, 13 Jul 2012 10:06:58 +0000 (12:06 +0200)]
Change-Id: I1dea3bd78f4372793ce2674348623e96657b5afb

20 files changed:
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/graphics/graphics.vcxproj
scilab/modules/graphics/graphics.vcxproj.filters
scilab/modules/graphics/includes/ObjectSelection.h [deleted file]
scilab/modules/graphics/sci_gateway/c/sci_delete.c
scilab/modules/graphics/sci_gateway/c/sci_xclick.c
scilab/modules/graphics/sci_gateway/c/sci_xget.c
scilab/modules/graphics/sci_gateway/c/sci_xgetmouse.c
scilab/modules/graphics/sci_gateway/c/sci_xset.c
scilab/modules/graphics/src/c/BuildObjects.c
scilab/modules/graphics/src/c/DrawObjects.c
scilab/modules/graphics/src/c/GetProperty.c
scilab/modules/graphics/src/c/HandleManagement.c
scilab/modules/graphics/src/c/InitObjects.c
scilab/modules/graphics/src/c/ObjectSelection.c [deleted file]
scilab/modules/graphics/src/c/SetProperty.c
scilab/modules/graphics/src/nographics/nographics.c
scilab/modules/gui/src/c/CreateUIControl.h
scilab/modules/gui/src/c/CreateUimenu.h

index aeefe65..a83780d 100644 (file)
@@ -323,7 +323,6 @@ src/c/Interaction.c \
 src/c/StringBox.c \
 src/c/axesScale.c \
 src/c/TerminateGraphics.c \
-src/c/ObjectSelection.c \
 src/c/periEmpty.c \
 src/c/scitokenize.c \
 src/c/get_ticks_utils.c
index f256d9b..7573850 100644 (file)
@@ -423,7 +423,6 @@ am__objects_1 = libscigraphics_algo_la-GetCommandArg.lo \
        libscigraphics_algo_la-StringBox.lo \
        libscigraphics_algo_la-axesScale.lo \
        libscigraphics_algo_la-TerminateGraphics.lo \
-       libscigraphics_algo_la-ObjectSelection.lo \
        libscigraphics_algo_la-periEmpty.lo \
        libscigraphics_algo_la-scitokenize.lo \
        libscigraphics_algo_la-get_ticks_utils.lo
@@ -1080,7 +1079,6 @@ src/c/Interaction.c \
 src/c/StringBox.c \
 src/c/axesScale.c \
 src/c/TerminateGraphics.c \
-src/c/ObjectSelection.c \
 src/c/periEmpty.c \
 src/c/scitokenize.c \
 src/c/get_ticks_utils.c
@@ -1424,7 +1422,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-Gray.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-InitObjects.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-Interaction.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-ObjectSelection.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-Plo2dEch.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-Plo2dn.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphics_algo_la-SetHashTable.Plo@am__quote@
@@ -3881,13 +3878,6 @@ libscigraphics_algo_la-TerminateGraphics.lo: src/c/TerminateGraphics.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscigraphics_algo_la-TerminateGraphics.lo `test -f 'src/c/TerminateGraphics.c' || echo '$(srcdir)/'`src/c/TerminateGraphics.c
 
-libscigraphics_algo_la-ObjectSelection.lo: src/c/ObjectSelection.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscigraphics_algo_la-ObjectSelection.lo -MD -MP -MF $(DEPDIR)/libscigraphics_algo_la-ObjectSelection.Tpo -c -o libscigraphics_algo_la-ObjectSelection.lo `test -f 'src/c/ObjectSelection.c' || echo '$(srcdir)/'`src/c/ObjectSelection.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscigraphics_algo_la-ObjectSelection.Tpo $(DEPDIR)/libscigraphics_algo_la-ObjectSelection.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/ObjectSelection.c' object='libscigraphics_algo_la-ObjectSelection.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscigraphics_algo_la-ObjectSelection.lo `test -f 'src/c/ObjectSelection.c' || echo '$(srcdir)/'`src/c/ObjectSelection.c
-
 libscigraphics_algo_la-periEmpty.lo: src/c/periEmpty.c
 @am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscigraphics_algo_la-periEmpty.lo -MD -MP -MF $(DEPDIR)/libscigraphics_algo_la-periEmpty.Tpo -c -o libscigraphics_algo_la-periEmpty.lo `test -f 'src/c/periEmpty.c' || echo '$(srcdir)/'`src/c/periEmpty.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscigraphics_algo_la-periEmpty.Tpo $(DEPDIR)/libscigraphics_algo_la-periEmpty.Plo
index d5b8084..61f5b9f 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
@@ -357,7 +357,6 @@ lib /DEF:"$(ProjectDir)elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MA
     <ClCompile Include="src\c\math_graphics.c">
       <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MinSpace</Optimization>
     </ClCompile>
-    <ClCompile Include="src\c\ObjectSelection.c" />
     <ClCompile Include="src\c\pixel_mode.c" />
     <ClCompile Include="src\c\Plo2dEch.c" />
     <ClCompile Include="src\c\Plo2dn.c" />
@@ -594,7 +593,6 @@ lib /DEF:"$(ProjectDir)elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MA
     <ClInclude Include="includes\InitObjects.h" />
     <ClInclude Include="includes\Interaction.h" />
     <ClInclude Include="includes\math_graphics.h" />
-    <ClInclude Include="includes\ObjectSelection.h" />
     <ClInclude Include="includes\ObjectStructure.h" />
     <ClInclude Include="includes\pixel_mode.h" />
     <ClInclude Include="includes\PloEch.h" />
index 34d7239..c011701 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup>
     <Filter Include="Source Files">
     <ClCompile Include="src\c\math_graphics.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="src\c\ObjectSelection.c">
-      <Filter>Source Files</Filter>
-    </ClCompile>
     <ClCompile Include="src\c\pixel_mode.c">
       <Filter>Source Files</Filter>
     </ClCompile>
     <ClInclude Include="includes\math_graphics.h">
       <Filter>Header Files</Filter>
     </ClInclude>
-    <ClInclude Include="includes\ObjectSelection.h">
-      <Filter>Header Files</Filter>
-    </ClInclude>
     <ClInclude Include="includes\ObjectStructure.h">
       <Filter>Header Files</Filter>
     </ClInclude>
diff --git a/scilab/modules/graphics/includes/ObjectSelection.h b/scilab/modules/graphics/includes/ObjectSelection.h
deleted file mode 100644 (file)
index 189cd4a..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2007 - INRIA - Jean-Baptiste Silvy
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution.  The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-/*------------------------------------------------------------------------*/
-/* file: ObjectSelection.h                                                */
-/* desc : Set of functions to select children of an object                */
-/*------------------------------------------------------------------------*/
-
-#ifndef _OBJECT_SELECTION_H_
-#define _OBJECT_SELECTION_H_
-
-#include "dynlib_graphics.h"
-#include "ObjectStructure.h"
-#include "BOOL.h"
-#include "DoublyLinkedList.h"
-
-/**
- * The set of selected sons is lade as follow:
- * Every selected sons is put in a list with every element
- * of its type.
- * Then the lists are put in a main list wich regroup every
- * list with objects with the same type.
- * Moreover each element of the main contains also the type of objects wich will be stored in.
- * Consequentely, the selected sons are stored in a list of typedSonsList.
- */
-typedef struct
-{
-  sciEntityType      sonType   ; /* type of the sons in the list */
-  DoublyLinkedList * typedSons ; /* list of all selected sons with type sonType */
-} TypedSonsList ;
-
-/**
- * Initialize the set of sons
- */
-GRAPHICS_IMPEXP void sciInitSelectedSons( sciPointObj * pObj ) ;
-
-/**
- * Return the first son found in the set of selected sons.
- */
-GRAPHICS_IMPEXP sciPointObj * sciGetFirstSelectedSon( sciPointObj * pObj ) ;
-
-/**
- * Return the first son with a certain type found in the set of selected sons
- */
-GRAPHICS_IMPEXP sciPointObj * sciGetFirstTypedSelectedSon( sciPointObj * pObj, sciEntityType objType ) ;
-
-/**
- * Get the list of selected sons with a certain type.
- * This is a list of sciPointObj *.
- * Be careful, the value is the direct pointer on the data.
- */
-GRAPHICS_IMPEXP DoublyLinkedList * sciGetTypedSelectedSons( sciPointObj * pObj, sciEntityType objType ) ;
-
-/**
- * Remove a selected object from the set.
- */
-GRAPHICS_IMPEXP int sciRemoveSelectedSon( sciPointObj * pParent, sciPointObj * pObj ) ;
-
-/**
- * Free the set of sons
- */
-GRAPHICS_IMPEXP void sciUnselectSons( sciPointObj * pParent ) ;
-
-/**
- * Remove all selected sons from a certain type
- */
-GRAPHICS_IMPEXP void sciUnselectTypedSons( sciPointObj * pParent, sciEntityType sonsType ) ;
-
-/**
- * To know if an object is selected
- */
-GRAPHICS_IMPEXP BOOL sciGetIsSelected( sciPointObj * pObj ) ;
-
-/*------------------------------------------------------------------------*/
-/* Internal use */
-GRAPHICS_IMPEXP TypedSonsList * sciGetTypedList( sciPointObj * pObj, sciEntityType objType ) ;
-
-GRAPHICS_IMPEXP TypedSonsList * newTypedSonList( sciEntityType type, DoublyLinkedList * typedSons ) ;
-
-/**
- * Void * to be used directly by the list object
- */
-GRAPHICS_IMPEXP void deleteTypedSonList( void * typedSonsList ) ;
-
-/*------------------------------------------------------------------------*/
-
-#endif /* _OBJECT_SELECTION_H_ */
index 84c1d6a..270670b 100644 (file)
@@ -26,7 +26,6 @@
 #include "GetProperty.h"
 #include "DrawObjects.h"
 #include "Interaction.h"
-#include "ObjectSelection.h"
 #include "localization.h"
 #include "Scierror.h"
 #include "HandleManagement.h"
index bb8c19b..674463a 100644 (file)
@@ -21,7 +21,6 @@
 #include "stack-c.h"
 #include "CallJxclick.h"
 #include "GetProperty.h"
-#include "ObjectSelection.h"
 #include "FigureList.h"
 #include "axesScale.h"
 #include "HandleManagement.h"
index 04ca297..88a5a75 100644 (file)
@@ -27,7 +27,6 @@
 #include "GetProperty.h"
 #include "Format.h"
 #include "Scierror.h"
-#include "ObjectSelection.h"
 #include "localization.h"
 #include "returnProperty.h"
 #include "HandleManagement.h"
index 019e6d3..14fee64 100644 (file)
@@ -22,7 +22,6 @@
 #include "stack-c.h"
 #include "GetProperty.h" /* sciGetNum */
 #include "CallJxgetmouse.h"
-#include "ObjectSelection.h"
 #include "FigureList.h"
 #include "axesScale.h"
 #include "sciprint.h"
index d2d0fb0..5a216ec 100644 (file)
@@ -25,7 +25,6 @@
 #include "InitObjects.h"
 #include "XsetXgetParameters.h"
 #include "Format.h"
-#include "ObjectSelection.h"
 #include "msgs.h"
 #include "localization.h"
 #include "Scierror.h"
index fdf09e6..21dbe08 100644 (file)
@@ -37,7 +37,6 @@
 #include "StringMatrix.h"
 #include "Scierror.h"
 #include "CurrentFigure.h"
-#include "ObjectSelection.h"
 #include "FigureList.h"
 #include "localization.h"
 #include "Interaction.h"
index 5014997..4cd0a03 100644 (file)
@@ -37,7 +37,6 @@
 #include "DestroyObjects.h"
 #include "PloEch.h"
 #include "sciprint.h"
-#include "ObjectSelection.h"
 #include "math_graphics.h"
 #include "Format.h"
 #include "HandleManagement.h"
index 4bf3912..9c4f38d 100644 (file)
@@ -31,7 +31,6 @@
 #include "Scierror.h"
 #include "InitObjects.h"
 #include "CurrentFigure.h"
-#include "ObjectSelection.h"
 #include "GetJavaProperty.h"
 #include "BasicAlgos.h"
 #include "localization.h"
@@ -465,37 +464,8 @@ sciGetParentFigure (sciPointObj * pobj)
 sciPointObj *
 sciGetParentSubwin (sciPointObj * pobj)
 {
-    sciPointObj *subwin = NULL;
-
-    subwin = pobj;
-    switch (sciGetEntityType (pobj))
-    {
-        case SCI_FIGURE:
-            return sciGetFirstTypedSelectedSon( pobj, SCI_SUBWIN );
-            break;
-        case SCI_SUBWIN:
-        case SCI_TEXT:
-        case SCI_LEGEND:
-        case SCI_ARC:
-        case SCI_SEGS:
-        case SCI_FEC:
-        case SCI_GRAYPLOT:
-        case SCI_POLYLINE:
-        case SCI_RECTANGLE:
-        case SCI_SURFACE:
-        case SCI_AXES:
-        case SCI_AGREG:
-        case SCI_LABEL: /* F.Leray 28.05.04 */
-        case SCI_UIMENU:
-            while (sciGetEntityType(subwin) != SCI_SUBWIN)
-                subwin = sciGetParent(subwin);
-            return (sciPointObj *) subwin;
-            break;
-        default:
-            return NULL;
-            break;
-    }
-    return (sciPointObj *) NULL;
+    abort();
+    return NULL;
 }
 
 /**sciGetNumfigure
index 37514ac..c2628a7 100644 (file)
@@ -25,7 +25,6 @@
 #include "GetProperty.h"
 #include "BuildObjects.h"
 #include "WindowList.h"
-#include "ObjectSelection.h"
 #include "BuildDrawingObserver.h"
 #include "SetJavaProperty.h"
 #include "DrawingBridge.h"
index 82d6204..7f423fd 100644 (file)
@@ -38,7 +38,6 @@
 #include "CloneObjects.h"
 #include "BuildObjects.h"
 #include "sciprint.h"
-#include "ObjectSelection.h"
 #include "HandleManagement.h"
 #include "BasicAlgos.h"
 
diff --git a/scilab/modules/graphics/src/c/ObjectSelection.c b/scilab/modules/graphics/src/c/ObjectSelection.c
deleted file mode 100644 (file)
index 5670fab..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2007 - INRIA - Jean-Baptiste Silvy
- *
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution.  The terms
- * are also available at
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- */
-
-/*------------------------------------------------------------------------*/
-/* file: ObjectSelection.c                                                */
-/* desc : Set of functions to select children of an object                */
-/*------------------------------------------------------------------------*/
-
-#include <stdlib.h>
-
-#include "ObjectSelection.h"
-#include "MALLOC.h"
-#include "GetProperty.h"
-#include "HandleManagement.h"
-
-/*--------------------------------------------------------------------------*/
-void sciInitSelectedSons( sciPointObj * pObj )
-{
-    abort();
-// ???
-//  sciGetRelationship(pObj)->pSelectedSon = DoublyLinkedList_new() ;
-}
-/*--------------------------------------------------------------------------*/
-sciPointObj * sciGetFirstSelectedSon( sciPointObj * pObj )
-{
-    abort();
-//  return (sciPointObj *) List_data(((TypedSonsList*)List_data(sciGetRelationship(pObj)->pSelectedSon))->typedSons ) ;
-    return NULL;
-}
-/*--------------------------------------------------------------------------*/
-sciPointObj * sciGetFirstTypedSelectedSon( sciPointObj * pObj, sciEntityType objType )
-{
-    abort();
-    return NULL;
-// ???
-//return (sciPointObj *) List_data( sciGetTypedSelectedSons( pObj, objType ) ) ;
-}
-/*--------------------------------------------------------------------------*/
-DoublyLinkedList * sciGetTypedSelectedSons( sciPointObj * pObj, sciEntityType objType )
-{
-    abort();
-    return NULL;
-//???
-#if 0
-  TypedSonsList * curList = sciGetTypedList( pObj, objType ) ;
-  if ( curList == NULL )
-  {
-    return NULL ;
-  }
-  return curList->typedSons ;
-#endif
-}
-/*--------------------------------------------------------------------------*/
-int sciRemoveSelectedSon( sciPointObj * pParent, sciPointObj * pObj )
-{
-    abort();
-//???
-#if 0
-  TypedSonsList * curList = sciGetTypedList( pParent, sciGetEntityType(pObj) ) ;
-  curList->typedSons = List_free_item( curList->typedSons, pObj ) ;
-#endif
-  return 0 ;
-}
-/*--------------------------------------------------------------------------*/
-void sciUnselectSons( sciPointObj * pParent )
-{
-    abort();
-//???
-//  List_free_full( sciGetRelationship(pParent)->pSelectedSon, deleteTypedSonList ) ;
-//  sciGetRelationship(pParent)->pSelectedSon = DoublyLinkedList_new() ;
-}
-/*--------------------------------------------------------------------------*/
-void sciUnselectTypedSons( sciPointObj * pParent, sciEntityType sonsType )
-{
-    abort();
-// ???
-#if 0
-  /* first search if there are already objects with the specified type */
-  TypedSonsList * typedList = sciGetTypedList( pParent, sonsType ) ;
-
-  if ( typedList == NULL ) { return ; } /* no item with this type */
-
-  /* remove the input for this type in the main list */
-  sciGetRelationship(pParent)->pSelectedSon = List_free_item( sciGetRelationship(pParent)->pSelectedSon, typedList ) ;
-
-  /* free the input and the list of object with this type */
-  deleteTypedSonList( typedList ) ;
-#endif
-}
-/*--------------------------------------------------------------------------*/
-BOOL sciGetIsSelected( sciPointObj * pObj )
-{
-    abort();
-    return FALSE;
-// ???
-//  DoublyLinkedList * curList = sciGetTypedSelectedSons( sciGetParent(pObj), sciGetEntityType(pObj) ) ;
-//  return ( curList != NULL && List_find( curList, pObj ) != NULL ) ;
-}
-/*--------------------------------------------------------------------------*/
-TypedSonsList * sciGetTypedList( sciPointObj * pObj, sciEntityType objType )
-{
-    abort();
-    return NULL;
-// ???
-#if 0
-  TypedSonsList refType = { objType, NULL } ; /* just for comparison with type */
-  DoublyLinkedList * foundList = List_find_full( sciGetRelationship(pObj)->pSelectedSon, &refType, hasSameType ) ;
-  if ( foundList == NULL ) { return NULL ; }
-  return (TypedSonsList *) List_data( foundList ) ;
-#endif
-}
-/*--------------------------------------------------------------------------*/
-TypedSonsList * newTypedSonList( sciEntityType type, DoublyLinkedList * typedSons )
-{
-  TypedSonsList * newList = MALLOC(sizeof(TypedSonsList)) ;
-  newList->sonType   = type ;
-  newList->typedSons = typedSons ;
-
-  return newList ;
-}
-/*--------------------------------------------------------------------------*/
-void deleteTypedSonList( void * typedSonsList )
-{
-  if ( ((TypedSonsList *)typedSonsList)->typedSons != NULL )
-  {
-    List_free( ((TypedSonsList *)typedSonsList)->typedSons ) ;
-  }
-  FREE(typedSonsList) ;
-}
-/*--------------------------------------------------------------------------*/
index 7909c4d..1219dde 100644 (file)
@@ -48,7 +48,6 @@
 #include "math_graphics.h"
 #include "Scierror.h"
 #include "CurrentFigure.h"
-#include "ObjectSelection.h"
 #include "BasicAlgos.h"
 #include "FigureList.h"
 #include "localization.h"
index a50adb0..740719d 100644 (file)
@@ -22,7 +22,6 @@
 #include "getDictionaryGetProperties.h"
 #include "getDictionarySetProperties.h"
 #include "DrawObjects.h"
-#include "ObjectSelection.h"
 #include "GetProperty.h"
 #include "SetProperty.h"
 #include "math_graphics.h"
@@ -157,12 +156,6 @@ int sciAddNewHandle(sciPointObj * pobj)
 }
 
 /*--------------------------------------------------------------------------*/
-void sciInitSelectedSons(sciPointObj * pObj)
-{
-
-}
-
-/*--------------------------------------------------------------------------*/
 sciPointObj *sciGetParent(sciPointObj * pobj)
 {
     return NULL;
index 056afc4..1290203 100644 (file)
@@ -14,7 +14,6 @@
 #include "MALLOC.h" /* MALLOC */
 #include "sciprint.h"
 #include "localization.h"
-#include "ObjectSelection.h" /* sciInitSelectedSons... */
 #include "HandleManagement.h" /* sciGetRelationship... */
 #include "SetProperty.h" /* sciInitVisibility... */
 #include "GetProperty.h" /* sciGetPointerToUserData */
index 276de80..76b3733 100644 (file)
@@ -13,7 +13,6 @@
 #include "MALLOC.h"             /* MALLOC */
 #include "sciprint.h"
 #include "localization.h"
-#include "ObjectSelection.h"    /* sciInitSelectedSons... */
 #include "HandleManagement.h"   /* sciGetRelationship... */
 #include "SetProperty.h"        /* sciInitVisibility... */
 #include "GetProperty.h"        /* sciGetPointerToUserData */