CurrentObjectsManagement.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------*/
00002 /* file: CurrentObjectsManagement.h                                       */
00003 /* Copyright INRIA 2007                                                   */
00004 /* Authors : Jean-Baptiste Silvy                                          */
00005 /* desc : Set of functions to set and get current objects                 */
00006 /*------------------------------------------------------------------------*/
00007 
00008 #ifndef _GET_CURRENT_OBJECTS_H_
00009 #define _GET_CURRENT_OBJECTS_H_
00010 
00011 #include "ObjectStructure.h"
00012 #include "bcg.h"
00013 
00017 int  get_cf_type( void ) ;
00018 void set_cf_type( int val ) ;
00019 /*-----------------------------------------------------------------------------*/
00023 sciPointObj * sciGetCurrentFigure( void ) ;
00024 
00025 int sciInitCurrentFigure( sciPointObj * mafigure ) ;
00026 int sciSetCurrentFigure(  sciPointObj * mafigure ) ;
00027 
00031 sciPointObj * sciGetCurPointedFigure( void ) ;
00032 /*-----------------------------------------------------------------------------*/
00036 struct BCG * sciGetCurrentScilabXgc( void ) ;
00037 /*-----------------------------------------------------------------------------*/
00041 sciPointObj * sciGetCurrentObj( void ) ;
00042 
00043 void sciSetCurrentObj( sciPointObj * pobj ) ;
00044 
00048 long sciGetCurrentHandle( void ) ;
00049 /*-----------------------------------------------------------------------------*/
00050 sciPointObj * sciGetCurrentFrame( void ) ;
00051 /*-----------------------------------------------------------------------------*/
00052 sciPointObj * sciGetCurrentWindow( void ) ;
00053 /*-----------------------------------------------------------------------------*/
00054 sciPointObj * sciGetCurrentWindowFrame( void ) ;
00055 /*-----------------------------------------------------------------------------*/
00056 sciPointObj * sciGetCurrentScreen( void ) ;
00057 /*-----------------------------------------------------------------------------*/
00058 sciPointObj * sciGetCurrentSubWin( void ) ;
00059 /*-----------------------------------------------------------------------------*/
00060 sciPointObj * sciGetCurrentConsole( void ) ;
00061 /*-----------------------------------------------------------------------------*/
00062 
00063 #endif /* _GET_CURRENT_OBJECTS_H_ */

Generated on Sun Mar 4 15:03:49 2007 for Scilab [trunk] by  doxygen 1.5.1