#define COUNT (1 << NSTEPS)
#define CELL(c, r) cell[((unsigned int)(c)) + ((unsigned int) (r)) * xmax]
#define COUNT (1 << NSTEPS)
#define CELL(c, r) cell[((unsigned int)(c)) + ((unsigned int) (r)) * xmax]
-static enum mode_t { MODE_H, MODE_S, MODE_V, MODE_RANDOM } mode;
+static enum imsmap_mode { MODE_H, MODE_S, MODE_V, MODE_RANDOM } mode;
int fg_h, bg_h;
double fg_s, fg_v, bg_s, bg_v;
int fg_h, bg_h;
double fg_s, fg_v, bg_s, bg_v;
}
if (mono_p)
/* in mono-mode, we do all the drawing at the end */
floyd_steinberg (dpy, window);
free (cell);
}
if (mono_p)
/* in mono-mode, we do all the drawing at the end */
floyd_steinberg (dpy, window);
free (cell);
rotate_colors (dpy, cmap, colors, ncolors,
cycle_direction);
if (cycle_delay) usleep(cycle_delay);
rotate_colors (dpy, cmap, colors, ncolors,
cycle_direction);
if (cycle_delay) usleep(cycle_delay);