diff options
Diffstat (limited to 'gtk/gtkfontchooser.h')
-rw-r--r-- | gtk/gtkfontchooser.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h index f21d391f38..f4bdaae2c4 100644 --- a/gtk/gtkfontchooser.h +++ b/gtk/gtkfontchooser.h @@ -49,6 +49,7 @@ typedef gboolean (*GtkFontFilterFunc) (const PangoFontFamily *family, * @GTK_FONT_CHOOSER_LEVEL_FAMILY: Allow selecting a font family * @GTK_FONT_CHOOSER_LEVEL_STYLE: Allow selecting a specific font face * @GTK_FONT_CHOOSER_LEVEL_SIZE: Allow selecting a specific font size + * @GTK_FONT_CHOOSER_LEVEL_VARIATION: Allow changing OpenType font variation axes * @GTK_FONT_CHOOSER_LEVEL_FEATURES: Allow selecting specific OpenType font features * * This enumeration specifies the granularity of font selection @@ -58,10 +59,11 @@ typedef gboolean (*GtkFontFilterFunc) (const PangoFontFamily *family, * ignore unknown values. */ typedef enum { - GTK_FONT_CHOOSER_LEVEL_FAMILY = 0, - GTK_FONT_CHOOSER_LEVEL_STYLE = 1 << 0, - GTK_FONT_CHOOSER_LEVEL_SIZE = 1 << 1, - GTK_FONT_CHOOSER_LEVEL_FEATURES = 1 << 2 + GTK_FONT_CHOOSER_LEVEL_FAMILY = 0, + GTK_FONT_CHOOSER_LEVEL_STYLE = 1 << 0, + GTK_FONT_CHOOSER_LEVEL_SIZE = 1 << 1, + GTK_FONT_CHOOSER_LEVEL_VARIATIONS = 1 << 2, + GTK_FONT_CHOOSER_LEVEL_FEATURES = 1 << 3 } GtkFontChooserLevel; #define GTK_TYPE_FONT_CHOOSER (gtk_font_chooser_get_type ()) |