1 #ifndef MYPAINTBRUSHSETTINGS_H
2 #define MYPAINTBRUSHSETTINGS_H
MyPaintBrushInput
Definition: mypaint-brush-settings-gen.h:5
MyPaintBrushSetting
Definition: mypaint-brush-settings-gen.h:27
gint gboolean
Definition: mypaint-glib-compat.h:25
char gchar
Definition: mypaint-glib-compat.h:23
#define G_END_DECLS
Definition: mypaint-glib-compat.h:14
#define G_BEGIN_DECLS
Definition: mypaint-glib-compat.h:13
Holds information about a single MyPaintBrushSetting.
Definition: mypaint-brush-settings.h:29
float min
Mininmum base value.
Definition: mypaint-brush-settings.h:40
const gchar * mypaint_brush_setting_info_get_tooltip(const MyPaintBrushSettingInfo *self)
Get the translated tooltip for the given setting.
gboolean constant
Indicates whether the setting supports dynamics or not.
Definition: mypaint-brush-settings.h:38
const gchar * mypaint_brush_setting_info_get_name(const MyPaintBrushSettingInfo *self)
Get the translated display name for the given setting.
const gchar * cname
Canonical name - uniquely identifies the setting.
Definition: mypaint-brush-settings.h:31
float def
Default base value.
Definition: mypaint-brush-settings.h:42
const gchar * tooltip
Tooltip - description of the setting.
Definition: mypaint-brush-settings.h:49
MyPaintBrushSetting mypaint_brush_setting_from_cname(const char *cname)
Get the MyPaintBrushSetting id matching the given canonical name.
float max
Maximum base value.
Definition: mypaint-brush-settings.h:44
const gchar * name
Display name - descriptive name of the setting.
Definition: mypaint-brush-settings.h:36
const MyPaintBrushSettingInfo * mypaint_brush_setting_info(MyPaintBrushSetting id)
Get a pointer to the constant info struct for the given setting id.