61
61
#define countof(x) (sizeof((x))/sizeof((*x)))
63
63
#define DEF_PLANETARY "False"
67
69
static XrmOptionDescRec opts[] = {
68
70
{"-planetary", ".gears.planetary", XrmoptionNoArg, "true" },
69
71
{"+planetary", ".gears.planetary", XrmoptionNoArg, "false" },
72
{"-spin", ".gears.spin", XrmoptionNoArg, "true" },
73
{"+spin", ".gears.spin", XrmoptionNoArg, "false" },
72
76
static argtype vars[] = {
73
77
{&planetary, "planetary", "Planetary", DEF_PLANETARY, t_Bool},
78
{&spin, "spin", "Spin", DEF_SPIN, t_Bool},
76
81
ModeSpecOpt gears_opts = {countof(opts), opts, countof(vars), vars, NULL};