1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15 
16 #ifndef __CURRENT_FIGURE_H__
17 #define __CURRENT_FIGURE_H__
18 
19 #include "dynlib_graphic_objects.h"
20 /**
21  * Returns UID of the current selected figure.
22  */
23 GRAPHIC_OBJECTS_IMPEXP int getCurrentFigure(void);
24 
25 /**
26  * Modify the current figure if needed.
27  */
28 GRAPHIC_OBJECTS_IMPEXP void setCurrentFigure(int iUID);
29 
30 /**
31  * To know if a figure is the selected one.
32  */
33 GRAPHIC_OBJECTS_IMPEXP BOOL isCurrentFigure(int iUID);
34 
35 #endif /* !__CURRENT_FIGURE_H__ */
36