From: Sylvestre Ledru Date: Thu, 6 Dec 2012 17:02:36 +0000 (+0100) Subject: * getfont() tagged as obsolete. Will be removed for Scilab 5.5.0. X-Git-Tag: 5.4.1~689 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=ef034c9b0e16d47fc102f2cfa778ed7a6962e04a * getfont() tagged as obsolete. Will be removed for Scilab 5.5.0. Use ged() Change-Id: I40729f53c03f29e31fead76a38f35eb687544c49 --- diff --git a/scilab/CHANGES_5.4.X b/scilab/CHANGES_5.4.X index d7c9963..f2c0bc0 100644 --- a/scilab/CHANGES_5.4.X +++ b/scilab/CHANGES_5.4.X @@ -61,6 +61,9 @@ Obsolete functions * getsymbol() tagged as obsolete. Will be removed for Scilab 5.5.0. Use ged() instead. +* getfont() tagged as obsolete. Will be removed for Scilab 5.5.0. + Use ged() instead. + Xcos ===== diff --git a/scilab/modules/graphics/help/en_US/text/getfont.xml b/scilab/modules/graphics/help/en_US/text/getfont.xml index 32162de..4a94c80 100644 --- a/scilab/modules/graphics/help/en_US/text/getfont.xml +++ b/scilab/modules/graphics/help/en_US/text/getfont.xml @@ -60,10 +60,8 @@ Description - This function designed to work with the xset function is also - obsolete - - .Use the property editor ged instead. + This function designed to work with the xset function is also obsolete. + Use the property editor ged instead. getfont opens a graphic window to select a font. @@ -88,6 +86,17 @@ xstring(5,5,"string") --> + + History + + + 5.4.1 + + Function tagged obsolete. Will be removed in 5.5.0. Please use ged instead. + + + + See Also diff --git a/scilab/modules/graphics/macros/getfont.sci b/scilab/modules/graphics/macros/getfont.sci index b700a24..1167df0 100644 --- a/scilab/modules/graphics/macros/getfont.sci +++ b/scilab/modules/graphics/macros/getfont.sci @@ -11,6 +11,8 @@ function [fontId,fontSize]=getfont(S,v1) //returns the clicked font id and font size. fontId=[];fontSize=[]; + + warnobsolete('ged', '5.5.0'); if exists('S','local')==0 then S="a";end if type(S)<>10 then