Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_masks_form_info_t Struct Reference

What a form IS, BY VALUE: identity, kind, and – for a group – how many members. More...

#include <masks_types.h>

+ Collaboration diagram for dt_masks_form_info_t:

Data Fields

int formid
 
dt_masks_type_t type
 
int version
 
gboolean is_group
 
gboolean is_retouch
 
guint member_count
 
char name [128]
 

Detailed Description

What a form IS, BY VALUE: identity, kind, and – for a group – how many members.

name is COPIED rather than borrowed. A borrowed const char * into a refcounted form is exactly the hazard develop/blend_gui.c already trips, caching the pointer across a call that can clone the form underneath it.

member_count is NOT recursive: it counts the group's own rows, which is what every caller that asks means, and what the compositing order is defined over.

Definition at line 190 of file masks_types.h.

Field Documentation

◆ formid

◆ is_group

◆ is_retouch

gboolean dt_masks_form_info_t::is_retouch

Definition at line 196 of file masks_types.h.

Referenced by _form_info_describes_a_shape().

◆ member_count

guint dt_masks_form_info_t::member_count

◆ name

char dt_masks_form_info_t::name[128]

◆ type

dt_masks_type_t dt_masks_form_info_t::type

Definition at line 193 of file masks_types.h.

Referenced by _forms_json(), _menu_append_existing_shapes(), and dt_supervisor_form().

◆ version

int dt_masks_form_info_t::version

Definition at line 194 of file masks_types.h.

Referenced by _form_info_describes_a_shape(), and dt_supervisor_form().


The documentation for this struct was generated from the following file: