X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fgleidescope.c;h=2c9fb3de2e517fc22c10ea19697878dcc053147c;hp=7470d3f3888d1584c92645212bcc2fe61fefc1b4;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=9c9d475ff889ed8be02e8ce8c17da28b93278fca diff --git a/hacks/glx/gleidescope.c b/hacks/glx/gleidescope.c index 7470d3f3..2c9fb3de 100644 --- a/hacks/glx/gleidescope.c +++ b/hacks/glx/gleidescope.c @@ -109,33 +109,33 @@ static float rangle_acc = 0.0; /* rotate acceleration */ static XrmOptionDescRec opts[] = { #ifdef GRAB - {"-grab", (char *) ".gleidescope.grab", XrmoptionNoArg, "true"}, + {"-grab", ".gleidescope.grab", XrmoptionNoArg, "true"}, #endif - {"-move", (char *) ".gleidescope.move", XrmoptionNoArg, "true"}, - {"-no-move", (char *) ".gleidescope.nomove", XrmoptionNoArg, "true"}, - {"-rotate", (char *) ".gleidescope.rotate", XrmoptionNoArg, "true"}, - {"-no-rotate", (char *) ".gleidescope.norotate", XrmoptionNoArg, "true"}, - /*{"-size", (char *) ".gleidescope.size", XrmoptionNoArg, "-1"},*/ - {"-zoom", (char *) ".gleidescope.zoom", XrmoptionNoArg, "true"}, - {"-no-zoom", (char *) ".gleidescope.nozoom", XrmoptionNoArg, "true"}, - {"-image", (char *) ".gleidescope.image", XrmoptionSepArg, "DEFAULT"}, - {"-duration", (char *) ".gleidescope.duration", XrmoptionSepArg, "30"}, + {"-move", ".gleidescope.move", XrmoptionNoArg, "true"}, + {"-no-move", ".gleidescope.nomove", XrmoptionNoArg, "true"}, + {"-rotate", ".gleidescope.rotate", XrmoptionNoArg, "true"}, + {"-no-rotate", ".gleidescope.norotate", XrmoptionNoArg, "true"}, + /*{"-size", ".gleidescope.size", XrmoptionNoArg, "-1"},*/ + {"-zoom", ".gleidescope.zoom", XrmoptionNoArg, "true"}, + {"-no-zoom", ".gleidescope.nozoom", XrmoptionNoArg, "true"}, + {"-image", ".gleidescope.image", XrmoptionSepArg, "DEFAULT"}, + {"-duration", ".gleidescope.duration", XrmoptionSepArg, "30"}, }; static argtype vars[] = { #ifdef GRAB - {(caddr_t *) &grab, "grab", "Grab", "False", t_Bool}, + {&grab, "grab", "Grab", "False", t_Bool}, #endif - {(caddr_t *) &move, "move", "Move", "False", t_Bool}, - {(caddr_t *) &nomove, "nomove", "noMove", "False", t_Bool}, - {(caddr_t *) &rotate, "rotate", "Rotate", "False", t_Bool}, - {(caddr_t *) &norotate, "norotate", "noRotate", "False", t_Bool}, - /*{(caddr_t *) &size, "size", "Size", "-1", t_Int},*/ - {(caddr_t *) &zoom, "zoom", "Zoom", "False", t_Bool}, - {(caddr_t *) &nozoom, "nozoom", "noZoom", "False", t_Bool}, - {(caddr_t *) &image, "image", "Image", "DEFAULT", t_String}, - {(caddr_t *) &duration, "duration", "Duration", "30", t_Int}, + {&move, "move", "Move", "False", t_Bool}, + {&nomove, "nomove", "noMove", "False", t_Bool}, + {&rotate, "rotate", "Rotate", "False", t_Bool}, + {&norotate, "norotate", "noRotate", "False", t_Bool}, + /*{&size, "size", "Size", "-1", t_Int},*/ + {&zoom, "zoom", "Zoom", "False", t_Bool}, + {&nozoom, "nozoom", "noZoom", "False", t_Bool}, + {&image, "image", "Image", "DEFAULT", t_String}, + {&duration, "duration", "Duration", "30", t_Int}, }; static OptionStruct desc[] = {