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
|
#ifndef __CALLFIGURE_H__
#define __CALLFIGURE_H__
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2008 - INRIA - Vincent COUVERT
*
* 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
*
*/
#include "dynlib_gui.h"
#include "BOOL.h"
/**
* Set the event handler of a figure
*
* @param ID the ID of the figure
* @param command the name of the event handling function
*/
GUI_IMPEXP void setFigureEventHandler(int ID, char * command);
/**
* Enable or Disable the event handler of a figure
*
* @param ID the ID of the figure
* @param status true to set the event handler enabled
*/
GUI_IMPEXP void setFigureEventHandlerEnabled(int ID, BOOL status);
/**
* Create a new graphic window
* @param ID id of the figure to create
* @return id of the created figure
*/
GUI_IMPEXP int newFigure(int ID);
#endif /* !__CALLFIGURE_H__ */
|