1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2014 - Scilab Enterprises - Paul Bignier
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
10 // Overload scicos_getvalue and xstringl to customize parameters
11 function [ok,txt,font,siz,exprs] = scicos_getvalue(title, fields, types, exprs)
16 exprs = [txt; string(font); string(siz)];
18 function r = xstringl(a, b, c, d, e)
22 // Allocate an Annotation
24 objectCreated( 1 , ANNOTATION )
25 propertyUpdated( 1 , ANNOTATION , GEOMETRY ) : NO_CHANGES
26 propertyUpdated( 1 , ANNOTATION , GEOMETRY ) : NO_CHANGES
27 propertyUpdated( 1 , ANNOTATION , DESCRIPTION ) : NO_CHANGES
28 propertyUpdated( 1 , ANNOTATION , FONT ) : NO_CHANGES
29 propertyUpdated( 1 , ANNOTATION , FONT_SIZE ) : NO_CHANGES
40 exprs = ["Text";"2";"1"]
54 propertyUpdated( 1 , ANNOTATION , GEOMETRY ) : NO_CHANGES
55 propertyUpdated( 1 , ANNOTATION , GEOMETRY ) : SUCCESS
56 propertyUpdated( 1 , ANNOTATION , DESCRIPTION ) : SUCCESS
57 propertyUpdated( 1 , ANNOTATION , FONT ) : SUCCESS
58 propertyUpdated( 1 , ANNOTATION , FONT_SIZE ) : SUCCESS
70 exprs = ["newText";"3";"4"]