* getfont() tagged as obsolete. Will be removed for Scilab 5.5.0. 51/9951/4
Sylvestre Ledru [Thu, 6 Dec 2012 17:02:36 +0000 (18:02 +0100)]
  Use ged()

Change-Id: I40729f53c03f29e31fead76a38f35eb687544c49

scilab/CHANGES_5.4.X
scilab/modules/graphics/help/en_US/text/getfont.xml
scilab/modules/graphics/macros/getfont.sci

index d7c9963..f2c0bc0 100644 (file)
@@ -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
 =====
index 32162de..4a94c80 100644 (file)
     <refsection>
         <title>Description</title>
         <para>
-            This function designed to work with the <link linkend="xset">xset</link> function <emphasis role="bold">is also
-                obsolete
-            </emphasis>
-            .Use the property editor <link linkend="ged">ged</link> instead.
+            This function designed to work with the <link linkend="xset">xset</link> function <emphasis role="bold">is also obsolete</emphasis>.
+            Use the property editor <link linkend="ged">ged</link> instead.
         </para>
         <para>
             <literal>getfont</literal> opens a graphic window to select a font.
@@ -88,6 +86,17 @@ xstring(5,5,"string")
 -->
         
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0. Please use <link linkend="ged">ged</link> instead.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
index b700a24..1167df0 100644 (file)
@@ -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