1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2011 - Scilab Enterprises - Clément DAVID
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 _SCO_UTILS_
17 #define _SCO_UTILS_
18 
19 #include "BOOL.h"
20 
21 /**
22  * Find the child with kind
23  *
24  * \param parent the parent graphic object to search
25  * \param type the type to search
26  * \param position the n child of kind (starting at 0)
27  * \return the found child
28  */
29 int findChildWithKindAt(int parent, int type, const int position);
30 
31 /**
32  * Set the labels of the axe
33  *
34  * \param iAxeUID the axe uid
35  * \param _pstName the property name (eg. __GO_X_AXIS_LABEL__ or __GO_Y_AXIS_LABEL__)
36  * \param label the label to set
37  */
38 BOOL setLabel(int iAxeUID, int _iName, char* pstLabel);
39 
40 #endif /* _SCO_UTILS_ */
41