summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.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/blurfx.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/blurfx.c')
-rw-r--r--beryl-plugins/src/blurfx.c87
1 files changed, 58 insertions, 29 deletions
diff --git a/beryl-plugins/src/blurfx.c b/beryl-plugins/src/blurfx.c
index e53183f..3499210 100644
--- a/beryl-plugins/src/blurfx.c
+++ b/beryl-plugins/src/blurfx.c
@@ -434,7 +434,8 @@ blurfxDisplayInitOptions (BlurfxDisplay * bd)
CompOption *o;
o = &bd->opt[BLURFX_DISPLAY_OPTION_MOTION_BLUR_TOGGLE];
- o->name = "motion_blur_toggle";
+ o->advanced=False;
+o->name = "motion_blur_toggle";
o->group = N_("Motion Blur");
o->subGroup = N_("Activate");
o->displayHints = "";
@@ -717,7 +718,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
int i;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_DECORATION];
- o->name = "blur_decoration";
+ o->advanced=False;
+o->name = "blur_decoration";
o->group = N_("Blur");
o->subGroup = N_("");
o->displayHints = "";
@@ -727,7 +729,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_BLUR_DECORATION_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_WINDOWS];
- o->name = "blur_windows";
+ o->advanced=False;
+o->name = "blur_windows";
o->group = N_("Blur");
o->subGroup = N_("");
o->displayHints = "";
@@ -737,7 +740,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_BLUR_WINDOWS_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_DECORATION];
- o->name = "reflection_decoration";
+ o->advanced=False;
+o->name = "reflection_decoration";
o->group = N_("Reflection");
o->subGroup = N_("");
o->displayHints = "";
@@ -747,7 +751,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_DECORATION_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_WINDOWS];
- o->name = "reflection_windows";
+ o->advanced=False;
+o->name = "reflection_windows";
o->group = N_("Reflection");
o->subGroup = N_("");
o->displayHints = "";
@@ -757,7 +762,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_WINDOWS_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_ON_TRANSFORMED_SCREEN];
- o->name = "blur_transformed_screen";
+ o->advanced=False;
+o->name = "blur_transformed_screen";
o->group = N_("Blur");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -767,7 +773,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_BLUR_ON_TRANSFORMED_SCREEN_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_TRANSFORMED_WINDOW];
- o->name = "blur_transformed_window";
+ o->advanced=False;
+o->name = "blur_transformed_window";
o->group = N_("Blur");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -777,7 +784,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_BLUR_TRANSFORMED_WINDOW_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_SHADER];
- o->name = "blur_shader";
+ o->advanced=False;
+o->name = "blur_shader";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -789,7 +797,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.s.nString = LIST_SIZE (blurShaderNames);
o = &bs->opt[BLURFX_SCREEN_OPTION_FORCE_NON_FBO_BLUR];
- o->name = "force_non_fbo_blur";
+ o->advanced=False;
+o->name = "force_non_fbo_blur";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -799,7 +808,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_FORCE_NON_FBO_BLUR_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_NON_FBO_BLUR_STRENGTH];
- o->name = "non_fbo_blur_strength";
+ o->advanced=False;
+o->name = "non_fbo_blur_strength";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -811,7 +821,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.i.max = 12;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_CACHE_TEXTURES];
- o->name = "blur_cache";
+ o->advanced=False;
+o->name = "blur_cache";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -821,7 +832,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_BLUR_CACHE_TEXTURES_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_NO_BLUR_CACHE_ON_TRANSFORMED_SCREEN];
- o->name = "no_cache_when_transformed";
+ o->advanced=False;
+o->name = "no_cache_when_transformed";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -833,7 +845,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o = &bs->opt[BLURFX_SCREEN_OPTION_DISABLE_DECORATION_ALPHADEP];
- o->name = "disable_deco_alpha_dep";
+ o->advanced=False;
+o->name = "disable_deco_alpha_dep";
o->group = N_("Blur");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -843,7 +856,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_DISABLE_DECORATION_ALPHADEP_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_DISABLE_BLUR_ON_SCREENGRAB_OF];
- o->name = "disable_blur_on_screengrab_of";
+ o->advanced=False;
+o->name = "disable_blur_on_screengrab_of";
o->group = N_("Blur");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -859,7 +873,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.list.value[i].s = strdup (blurDisable[i]);
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_ON_TRANSFORMED_SCREEN];
- o->name = "reflection_transformed_screen";
+ o->advanced=False;
+o->name = "reflection_transformed_screen";
o->group = N_("Reflection");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -870,7 +885,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
BLURFX_SCREEN_OPTION_REFLECTION_ON_TRANSFORMED_SCREEN_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_TRANSFORMED_WINDOW];
- o->name = "reflection_transformed_window";
+ o->advanced=False;
+o->name = "reflection_transformed_window";
o->group = N_("Reflection");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -880,7 +896,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_TRANSFORMED_WINDOW_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_DISABLE_REFLECTION_ON_SCREENGRAB_OF];
- o->name = "disable_reflection_on_screengrab_of";
+ o->advanced=False;
+o->name = "disable_reflection_on_screengrab_of";
o->group = N_("Reflection");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -894,7 +911,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.list.value = NULL;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_FILE];
- o->name = "reflection_file";
+ o->advanced=False;
+o->name = "reflection_file";
o->group = N_("Reflection");
o->subGroup = N_("Image");
o->displayHints = "file;image;pngonly;";
@@ -906,7 +924,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.s.nString = 0;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_SCALE];
- o->name = "reflection_scale";
+ o->advanced=False;
+o->name = "reflection_scale";
o->group = N_("Reflection");
o->subGroup = N_("Image");
o->displayHints = "";
@@ -916,7 +935,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_SCALE_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_PROPORTIONAL];
- o->name = "reflection_proportional";
+ o->advanced=False;
+o->name = "reflection_proportional";
o->group = N_("Reflection");
o->subGroup = N_("Image");
o->displayHints = "";
@@ -926,7 +946,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_PROPORTIONAL_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_USE_IMAGE_COLOR];
- o->name = "reflection_use_image_colors";
+ o->advanced=False;
+o->name = "reflection_use_image_colors";
o->group = N_("Reflection");
o->subGroup = N_("Image");
o->displayHints = "";
@@ -936,7 +957,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_USE_IMAGE_COLOR_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_REFLECTION_USE_IMAGE_ALPHA];
- o->name = "reflection_use_image_alpha";
+ o->advanced=False;
+o->name = "reflection_use_image_alpha";
o->group = N_("Reflection");
o->subGroup = N_("Image");
o->displayHints = "";
@@ -946,7 +968,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.b = BLURFX_SCREEN_OPTION_REFLECTION_USE_IMAGE_ALPHA_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_MOTION_BLUR_MODE];
- o->name = "motion_blur_mode";
+ o->advanced=False;
+o->name = "motion_blur_mode";
o->group = N_("Motion Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -961,7 +984,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.s.nString = LIST_SIZE (mBlurModes);
o = &bs->opt[BLURFX_SCREEN_OPTION_MOTION_BLUR_ON_SCREENGRAB_OF];
- o->name = "motion_blur_on_screengrab_of";
+ o->advanced=False;
+o->name = "motion_blur_on_screengrab_of";
o->group = N_("Motion Blur");
o->subGroup = N_("Activate");
o->displayHints = "";
@@ -973,7 +997,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->value.list.value = NULL;
o = &bs->opt[BLURFX_SCREEN_OPTION_MOTION_BLUR_ON_TRANSFORMED_SCREEN];
- o->name = "motion_blur_on_transformed_screen";
+ o->advanced=False;
+o->name = "motion_blur_on_transformed_screen";
o->group = N_("Motion Blur");
o->subGroup = N_("Activate");
o->displayHints = "";
@@ -984,7 +1009,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
BLURFX_SCREEN_OPTION_MOTION_BLUR_ON_TRANSFORMED_SCREEN_DEFAULT;
o = &bs->opt[BLURFX_SCREEN_OPTION_MOTION_BLUR_STRENGTH];
- o->name = "motion_blur_strength";
+ o->advanced=False;
+o->name = "motion_blur_strength";
o->group = N_("Motion Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";
@@ -997,7 +1023,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.f.precision = 0.01;
o = &bs->opt[BLURFX_SCREEN_OPTION_DISABLE_BLUR_WINDOW_TYPE];
- o->name = "disable_blur_window_types";
+ o->advanced=False;
+o->name = "disable_blur_window_types";
o->group = N_("Blur");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -1011,7 +1038,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.s.nString = nWindowTypeString;
o = &bs->opt[BLURFX_SCREEN_OPTION_DISABLE_REFLECTION_WINDOW_TYPE];
- o->name = "disable_reflection_window_types";
+ o->advanced=False;
+o->name = "disable_reflection_window_types";
o->group = N_("Reflection");
o->subGroup = N_("Special cases");
o->displayHints = "";
@@ -1025,7 +1053,8 @@ blurfxScreenInitOptions (BlurfxScreen * bs)
o->rest.s.nString = nWindowTypeString;
o = &bs->opt[BLURFX_SCREEN_OPTION_BLUR_SATURATION];
- o->name = "blur_saturation";
+ o->advanced=False;
+o->name = "blur_saturation";
o->group = N_("Blur");
o->subGroup = N_("Visibility/Performance");
o->displayHints = "";