changeset 26125:df1cf0f7883a

Deprecate "fontangle" property value "oblique" in version 7. * NEWS: Announce deprecation of "oblique" value to "fontangle" property. * graphics.in.h (text, uibuttongroup, uicontrol, uipanel, uitable): Add FIXME comments to remove "oblique" property value in version 7.
author Rik <rik@octave.org>
date Thu, 22 Nov 2018 13:02:34 -0800
parents 0623e298891a
children f6f16b842d5d
files NEWS libinterp/corefcn/graphics.in.h
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Nov 22 12:41:06 2018 -0800
+++ b/NEWS	Thu Nov 22 13:02:34 2018 -0800
@@ -176,7 +176,11 @@
 
       Object               | Property                | Value
       ---------------------|-------------------------|-------------------
-                           |                         |
+      text                 | fontangle               | "oblique"
+      uibuttongroup        | fontangle               | "oblique"
+      uicontrol            | fontangle               | "oblique"
+      uipanel              | fontangle               | "oblique"
+      uitable              | fontangle               | "oblique"
 
  ** The following properties or allowed corresponding values were
     deprecated in Octave 4.2 and have been removed from Octave 5.0:
--- a/libinterp/corefcn/graphics.in.h	Thu Nov 22 12:41:06 2018 -0800
+++ b/libinterp/corefcn/graphics.in.h	Thu Nov 22 13:02:34 2018 -0800
@@ -4355,6 +4355,7 @@
       color_property edgecolor , color_property (radio_values ("{none}"), color_values (0, 0, 0))
       bool_property editing , "off"
       array_property extent rG , Matrix (1, 4, 0.0)
+      // FIXME: DEPRECATED: Remove "oblique" in version 7.
       radio_property fontangle u , "{normal}|italic|oblique"
       string_property fontname u , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize u , 10
@@ -5455,6 +5456,7 @@
       bool_property clipping , "on"
       radio_property enable , "{on}|inactive|off"
       array_property extent rG , Matrix (1, 4, 0.0)
+      // FIXME: DEPRECATED: Remove "oblique" in version 7.
       radio_property fontangle u , "{normal}|italic|oblique"
       string_property fontname u , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize u , 10
@@ -5567,6 +5569,7 @@
       radio_property bordertype , "none|{etchedin}|etchedout|beveledin|beveledout|line"
       double_property borderwidth , 1
       bool_property clipping , "on"
+      // FIXME: DEPRECATED: Remove "oblique" in version 7.
       radio_property fontangle , "{normal}|italic|oblique"
       string_property fontname , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize , 10
@@ -5663,6 +5666,7 @@
       color_property backgroundcolor , color_values (0.94, 0.94, 0.94)
       radio_property bordertype , "none|{etchedin}|etchedout|beveledin|beveledout|line"
       double_property borderwidth , 1
+      // FIXME: DEPRECATED: Remove "oblique" in version 7.
       radio_property fontangle , "{normal}|italic|oblique"
       string_property fontname , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize , 10
@@ -5760,6 +5764,7 @@
       any_property data u , Matrix ()
       bool_property enable , "on"
       array_property extent rG , Matrix (1, 4, 0.0)
+      // FIXME: DEPRECATED: Remove "oblique" in version 7.
       radio_property fontangle u , "{normal}|italic|oblique"
       string_property fontname u , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize u , 10