summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-21 01:15:04 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-21 01:15:04 +0000
commit8821030a538bb3219d1a617161c9dd16c648110a (patch)
tree1c1a79781ce6b5902ab3cc3371f8e516a58da47d /beryl-plugins/src/wobbly.c
parentfe3dc224d501d312d259a5e2f2af4e60eded28cb (diff)
downloadmarex-dev-8821030a538bb3219d1a617161c9dd16c648110a.tar.gz
marex-dev-8821030a538bb3219d1a617161c9dd16c648110a.tar.bz2
add advanced bool to option struct
update all plugins to set it on their options use it in libbs use it in bsm git-svn-id: file:///beryl/trunk@1969 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c108
1 files changed, 72 insertions, 36 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index 0255067..a57d94b 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -481,7 +481,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
int i;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAXIMIZE_FRICTION];
- o->name = "maximize_friction";
+ o->advanced=False;
+o->name = "maximize_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -494,7 +495,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAXIMIZE_SPRING_K];
- o->name = "maximize_spring_k";
+ o->advanced=False;
+o->name = "maximize_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -507,7 +509,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MOVE_FRICTION];
- o->name = "move_friction";
+ o->advanced=False;
+o->name = "move_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -520,7 +523,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MOVE_SPRING_K];
- o->name = "move_spring_k";
+ o->advanced=False;
+o->name = "move_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -533,7 +537,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAP_FRICTION];
- o->name = "map_friction";
+ o->advanced=False;
+o->name = "map_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -546,7 +551,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAP_SPRING_K];
- o->name = "map_spring_k";
+ o->advanced=False;
+o->name = "map_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -559,7 +565,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_GRAB_FRICTION];
- o->name = "grab_friction";
+ o->advanced=False;
+o->name = "grab_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -572,7 +579,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_GRAB_SPRING_K];
- o->name = "grab_spring_k";
+ o->advanced=False;
+o->name = "grab_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -585,7 +593,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_FOCUS_FRICTION];
- o->name = "focus_friction";
+ o->advanced=False;
+o->name = "focus_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -598,7 +607,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_FOCUS_SPRING_K];
- o->name = "focus_spring_k";
+ o->advanced=False;
+o->name = "focus_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -611,7 +621,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_GRID_RESOLUTION];
- o->name = "grid_resolution";
+ o->advanced=False;
+o->name = "grid_resolution";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -623,7 +634,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.i.max = WOBBLY_GRID_RESOLUTION_MAX;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MIN_GRID_SIZE];
- o->name = "min_grid_size";
+ o->advanced=False;
+o->name = "min_grid_size";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -635,7 +647,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.i.max = WOBBLY_MIN_GRID_SIZE_MAX;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAP_EFFECT];
- o->name = "map_effect";
+ o->advanced=False;
+o->name = "map_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -647,7 +660,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.s.nString = NUM_EFFECT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_FOCUS_EFFECT];
- o->name = "focus_effect";
+ o->advanced=False;
+o->name = "focus_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -659,7 +673,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.s.nString = NUM_EFFECT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAP_WINDOW_TYPE];
- o->name = "map_window_types";
+ o->advanced=False;
+o->name = "map_window_types";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -677,7 +692,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
ws->mapWMask = compWindowTypeMaskFromStringList (&o->value);
o = &ws->opt[WOBBLY_SCREEN_OPTION_FOCUS_WINDOW_TYPE];
- o->name = "focus_window_types";
+ o->advanced=False;
+o->name = "focus_window_types";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -693,7 +709,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
ws->focusWMask = compWindowTypeMaskFromStringList (&o->value);
o = &ws->opt[WOBBLY_SCREEN_OPTION_MOVE_WINDOW_TYPE];
- o->name = "move_window_types";
+ o->advanced=False;
+o->name = "move_window_types";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -711,7 +728,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
ws->moveWMask = compWindowTypeMaskFromStringList (&o->value);
o = &ws->opt[WOBBLY_SCREEN_OPTION_GRAB_WINDOW_TYPE];
- o->name = "grab_window_types";
+ o->advanced=False;
+o->name = "grab_window_types";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -727,7 +745,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
ws->grabWMask = compWindowTypeMaskFromStringList (&o->value);
o = &ws->opt[WOBBLY_SCREEN_OPTION_MAXIMIZE_EFFECT];
- o->name = "maximize_effect";
+ o->advanced=False;
+o->name = "maximize_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -738,7 +757,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_MAXIMIZE_EFFECT_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_MOVE_EFFECT];
- o->name = "move_effect";
+ o->advanced=False;
+o->name = "move_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -748,7 +768,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_MOVE_EFFECT_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_BELL_FRICTION];
- o->name = "visual_bell_friction";
+ o->advanced=False;
+o->name = "visual_bell_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -761,7 +782,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_BELL_SPRING_K];
- o->name = "visual_bell_spring_k";
+ o->advanced=False;
+o->name = "visual_bell_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -774,7 +796,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_USE_RELEASE];
- o->name = "release_effect";
+ o->advanced=False;
+o->name = "release_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -784,7 +807,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_RELEASE_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_RELEASE_FRICTION];
- o->name = "release_friction";
+ o->advanced=False;
+o->name = "release_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -797,7 +821,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_RELEASE_SPRING_K];
- o->name = "release_spring_k";
+ o->advanced=False;
+o->name = "release_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -811,7 +836,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_EFFECT];
- o->name = "urgent_effect";
+ o->advanced=False;
+o->name = "urgent_effect";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -821,7 +847,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_URGENT_EFFECT_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_FRICTION];
- o->name = "urgent_friction";
+ o->advanced=False;
+o->name = "urgent_friction";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -834,7 +861,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_FRICTION_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_SPRING_K];
- o->name = "urgent_spring_k";
+ o->advanced=False;
+o->name = "urgent_spring_k";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -847,7 +875,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_VELOCITY];
- o->name = "urgent_velocity";
+ o->advanced=False;
+o->name = "urgent_velocity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -860,7 +889,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_SPRING_K_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_IN];
- o->name = "urgent_effect_in";
+ o->advanced=False;
+o->name = "urgent_effect_in";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -870,7 +900,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_URGENT_IN_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_URGENT_UNIFORM];
- o->name = "urgent_effect_uniform";
+ o->advanced=False;
+o->name = "urgent_effect_uniform";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -880,7 +911,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.b = WOBBLY_URGENT_UNIFORM_DEFAULT;
o = &ws->opt[WOBBLY_SCREEN_OPTION_EDGE_DISTANCE];
- o->name = "edge_distance";
+ o->advanced=False;
+o->name = "edge_distance";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -893,7 +925,8 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->rest.f.precision = WOBBLY_EDGE_DISTANCE_PRECISION;
o = &ws->opt[WOBBLY_SCREEN_OPTION_EDGE_VELOCITY];
- o->name = "edge_velocity";
+ o->advanced=False;
+o->name = "edge_velocity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -3450,7 +3483,8 @@ wobblyDisplayInitOptions (WobblyDisplay * wd)
CompOptionValue *v;
o = &wd->opt[WOBBLY_DISPLAY_OPTION_SNAP];
- o->name = "snap";
+ o->advanced=False;
+o->name = "snap";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -3469,7 +3503,8 @@ wobblyDisplayInitOptions (WobblyDisplay * wd)
o = &wd->opt[WOBBLY_DISPLAY_OPTION_DEFAULT_SNAP];
- o->name = "default_snap";
+ o->advanced=False;
+o->name = "default_snap";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -3479,7 +3514,8 @@ wobblyDisplayInitOptions (WobblyDisplay * wd)
o->value.b = WOBBLY_DEFAULT_SNAP_DEFAULT;
o = &wd->opt[WOBBLY_DISPLAY_OPTION_SHIVER];
- o->name = "shiver";
+ o->advanced=False;
+o->name = "shiver";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";