summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/inputzoom.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/inputzoom.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/inputzoom.c')
-rw-r--r--beryl-plugins/src/inputzoom.c27
1 files changed, 18 insertions, 9 deletions
diff --git a/beryl-plugins/src/inputzoom.c b/beryl-plugins/src/inputzoom.c
index 01c717f..9e7071b 100644
--- a/beryl-plugins/src/inputzoom.c
+++ b/beryl-plugins/src/inputzoom.c
@@ -302,7 +302,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
CompOption *o;
o = &zs->opt[ZOOM_SCREEN_OPTION_SPEED];
- o->name = "speed";
+ o->advanced=False;
+o->name = "speed";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -315,7 +316,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->rest.f.precision = ZOOM_SPEED_PRECISION;
o = &zs->opt[ZOOM_SCREEN_OPTION_STEP];
- o->name = "step";
+ o->advanced=False;
+o->name = "step";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -330,7 +332,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->rest.f.precision = ZOOM_STEP_PRECISION;
o = &zs->opt[ZOOM_SCREEN_OPTION_MAX_FACTOR];
- o->name = "max";
+ o->advanced=False;
+o->name = "max";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -343,7 +346,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->rest.f.precision = ZOOM_MAX_FACTOR_PRECISION;
o = &zs->opt[ZOOM_SCREEN_OPTION_TIMESTEP];
- o->name = "timestep";
+ o->advanced=False;
+o->name = "timestep";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -356,7 +360,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->rest.f.precision = ZOOM_TIMESTEP_PRECISION;
o = &zs->opt[ZOOM_SCREEN_OPTION_FILTER_LINEAR];
- o->name = "filter_linear";
+ o->advanced=False;
+o->name = "filter_linear";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -366,7 +371,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->value.b = ZOOM_FILTER_LINEAR_DEFAULT;
o = &zs->opt[ZOOM_SCREEN_OPTION_HIDE_NORMAL_CURSOR];
- o->name = "hide_normal";
+ o->advanced=False;
+o->name = "hide_normal";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -376,7 +382,8 @@ zoomScreenInitOptions (ZoomScreen * zs)
o->value.b = ZOOM_HIDE_NORMAL_CURSOR_DEFAULT;
o = &zs->opt[ZOOM_SCREEN_OPTION_SHOW_SCALED_CURSOR];
- o->name = "show_scaled";
+ o->advanced=False;
+o->name = "show_scaled";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -814,7 +821,8 @@ zoomDisplayInitOptions (ZoomDisplay * zd)
CompOption *o;
o = &zd->opt[ZOOM_DISPLAY_OPTION_IN];
- o->name = "zoom_in";
+ o->advanced=False;
+o->name = "zoom_in";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -832,7 +840,8 @@ zoomDisplayInitOptions (ZoomDisplay * zd)
o->value.action.button.button = ZOOM_IN_BUTTON_DEFAULT;
o = &zd->opt[ZOOM_DISPLAY_OPTION_OUT];
- o->name = "zoom_out";
+ o->advanced=False;
+o->name = "zoom_out";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";