double xspeed; /* A factor to modify the horizontal movement */
double yspeed; /* A factor to modify vertical movement */
double xamplitude;
double xspeed; /* A factor to modify the horizontal movement */
double yspeed; /* A factor to modify vertical movement */
double xamplitude;
fgc = XCreateGC (display, b, GCForeground, &gcv);
gcv.foreground = get_pixel_resource("background", "Background", display, xgwa.colormap);
bgc = XCreateGC (display, b, GCForeground, &gcv);
fgc = XCreateGC (display, b, GCForeground, &gcv);
gcv.foreground = get_pixel_resource("background", "Background", display, xgwa.colormap);
bgc = XCreateGC (display, b, GCForeground, &gcv);
- make_uniform_colormap (display, xgwa.visual, xgwa.colormap, colors, &ncolors, True, &info->writable, True);
+ {
+ Bool writable_p = False;
+ make_uniform_colormap (display, xgwa.visual, xgwa.colormap, colors, &ncolors, True, &writable_p, True);
+ }
if (ba) XFillRectangle (display, ba, bgc, 0, 0, xgwa.width, xgwa.height);
/* info is a structure holding all the random pieces of information I may want to
pass to my baby functions -- much of it I may never use, but it is nice to
have around just in case I want it to make a funky function funkier */
if (ba) XFillRectangle (display, ba, bgc, 0, 0, xgwa.width, xgwa.height);
/* info is a structure holding all the random pieces of information I may want to
pass to my baby functions -- much of it I may never use, but it is nice to
have around just in case I want it to make a funky function funkier */
info->xspeed = get_float_resource("xspeed" , "Float");
info->yspeed = get_float_resource("yspeed" , "Float");
info->xamplitude = get_float_resource("xamplitude", "Float");
info->xspeed = get_float_resource("xspeed" , "Float");
info->yspeed = get_float_resource("yspeed" , "Float");
info->xamplitude = get_float_resource("xamplitude", "Float");