Home
last modified time | relevance | path

Searched refs:num_brushes_max (Results 1 – 1 of 1) sorted by relevance

/dports/games/tuxpaint/tuxpaint-0.9.26/src/
H A Dtuxpaint.c1807 static int num_brushes, num_brushes_max, shape_brush = 0; variable
6890 if (num_brushes == num_brushes_max) in loadbrush_callback()
6892 num_brushes_max = num_brushes_max * 5 / 4 + 4; in loadbrush_callback()
6893 img_brushes = realloc(img_brushes, num_brushes_max * sizeof *img_brushes); in loadbrush_callback()
6894 … img_brushes_thumbs = realloc(img_brushes_thumbs, num_brushes_max * sizeof *img_brushes_thumbs); in loadbrush_callback()
6895 brushes_frames = realloc(brushes_frames, num_brushes_max * sizeof(int)); in loadbrush_callback()
6896 brushes_directional = realloc(brushes_directional, num_brushes_max * sizeof(short)); in loadbrush_callback()
6897 brushes_spacing = realloc(brushes_spacing, num_brushes_max * sizeof(int)); in loadbrush_callback()