summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.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/cube.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/cube.c')
-rw-r--r--beryl-plugins/src/cube.c90
1 files changed, 60 insertions, 30 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 406ec7f..07636c3 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -1242,7 +1242,8 @@ cubeScreenInitOptions (CubeScreen * cs)
int i;
o = &cs->opt[CUBE_SCREEN_OPTION_COLOR];
- o->name = "color";
+ o->advanced=False;
+o->name = "color";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1255,7 +1256,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.c[3] = 0xffff;
o = &cs->opt[CUBE_SCREEN_OPTION_IN];
- o->name = "in";
+ o->advanced=False;
+o->name = "in";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1265,7 +1267,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_IN_DEFAULT;
o = &cs->opt[CUBE_TRANSPARENT_MANUALONLY];
- o->name = "manualonly";
+ o->advanced=False;
+o->name = "manualonly";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1276,7 +1279,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = FALSE;
o = &cs->opt[CUBE_SCREEN_OPTION_SCALE_IMAGE_TOP];
- o->name = "scale_image_top";
+ o->advanced=False;
+o->name = "scale_image_top";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1286,7 +1290,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_SCALE_IMAGE_TOP_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_IMAGES_TOP];
- o->name = "images_top";
+ o->advanced=False;
+o->name = "images_top";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "file;image;";
@@ -1304,7 +1309,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.s.nString = 0;
o = &cs->opt[CUBE_SCREEN_OPTION_SCALE_IMAGE_BOTTOM];
- o->name = "scale_image_bottom";
+ o->advanced=False;
+o->name = "scale_image_bottom";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1314,7 +1320,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_SCALE_IMAGE_BOTTOM_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_IMAGES_ROTATE_MODE];
- o->name = "images_rotate_mode";
+ o->advanced=False;
+o->name = "images_rotate_mode";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1327,7 +1334,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.s.nString = NUM_IMAGES_ROTATE_MODES;
o = &cs->opt[CUBE_SCREEN_OPTION_IMAGES_BOTTOM];
- o->name = "images_bottom";
+ o->advanced=False;
+o->name = "images_bottom";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "file;image;";
@@ -1345,7 +1353,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.s.nString = 0;
o = &cs->opt[CUBE_SCREEN_OPTION_SKYDOME];
- o->name = "skydome";
+ o->advanced=False;
+o->name = "skydome";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1355,7 +1364,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_SKYDOME_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_SKYDOME_IMG];
- o->name = "skydome_image";
+ o->advanced=False;
+o->name = "skydome_image";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "file;image;pngonly;";
@@ -1367,7 +1377,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.s.nString = 0;
o = &cs->opt[CUBE_SCREEN_OPTION_SKYDOME_ANIM];
- o->name = "skydome_animated";
+ o->advanced=False;
+o->name = "skydome_animated";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1379,7 +1390,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_SKYDOME_ANIMATE_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_SKYDOME_GRAD_START];
- o->name = "skydome_gradient_start_color";
+ o->advanced=False;
+o->name = "skydome_gradient_start_color";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1394,7 +1406,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.c[3] = 0xffff;
o = &cs->opt[CUBE_SCREEN_OPTION_SKYDOME_GRAD_END];
- o->name = "skydome_gradient_end_color";
+ o->advanced=False;
+o->name = "skydome_gradient_end_color";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1409,7 +1422,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.c[3] = 0xffff;
o = &cs->opt[CUBE_SCREEN_OPTION_ACCELERATION];
- o->name = "acceleration";
+ o->advanced=False;
+o->name = "acceleration";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1422,7 +1436,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.f.precision = CUBE_ACCELERATION_PRECISION;
o = &cs->opt[CUBE_SCREEN_OPTION_SPEED];
- o->name = "speed";
+ o->advanced=False;
+o->name = "speed";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1435,7 +1450,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.f.precision = CUBE_SPEED_PRECISION;
o = &cs->opt[CUBE_SCREEN_OPTION_TIMESTEP];
- o->name = "timestep";
+ o->advanced=False;
+o->name = "timestep";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1448,7 +1464,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.f.precision = CUBE_TIMESTEP_PRECISION;
o = &cs->opt[CUBE_SCREEN_OPTION_MIPMAP];
- o->name = "mipmap";
+ o->advanced=False;
+o->name = "mipmap";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1460,7 +1477,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o = &cs->opt[CUBE_SCREEN_OPTION_VIEWPORT_SLIDE];
- o->name = "change_viewport_slide";
+ o->advanced=False;
+o->name = "change_viewport_slide";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1470,7 +1488,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_VIEWPORT_SLIDE_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_VIEWPORT_SLIDE_NO3D];
- o->name = "change_viewport_slide_no3d";
+ o->advanced=False;
+o->name = "change_viewport_slide_no3d";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1480,7 +1499,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_VIEWPORT_SLIDE_NO3D_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_DRAW_CAPS];
- o->name = "draw_caps";
+ o->advanced=False;
+o->name = "draw_caps";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1491,7 +1511,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_DRAW_CAPS_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_MULTIMONITOR];
- o->name = "multimonitor_mode";
+ o->advanced=False;
+o->name = "multimonitor_mode";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1504,7 +1525,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o = &cs->opt[CUBE_SCREEN_OPTION_TRANSPARENT];
- o->name = "transparent";
+ o->advanced=False;
+o->name = "transparent";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1514,7 +1536,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CUBE_TRANSPARENT_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_CAP_TRANSPARENT];
- o->name = "cap_transparent_snap";
+ o->advanced=False;
+o->name = "cap_transparent_snap";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1526,7 +1549,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->value.b = CAP_TRANSPARENT_DEFAULT;
o = &cs->opt[CUBE_SCREEN_OPTION_FADE_TIME];
- o->name = "fade_time";
+ o->advanced=False;
+o->name = "fade_time";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1539,7 +1563,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.f.precision = CUBE_FADE_TIME_PRECISION;
o = &cs->opt[CUBE_SCREEN_OPTION_ACTIVE_OPACITY];
- o->name = "active_opacity";
+ o->advanced=False;
+o->name = "active_opacity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1551,7 +1576,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.i.max = 100;
o = &cs->opt[CUBE_SCREEN_OPTION_INACTIVE_OPACITY];
- o->name = "inactive_opacity";
+ o->advanced=False;
+o->name = "inactive_opacity";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -1563,7 +1589,8 @@ cubeScreenInitOptions (CubeScreen * cs)
o->rest.i.max = 100;
o = &cs->opt[CUBE_SCREEN_OPTION_UNFOLD_ZOOM_DISTANCE];
- o->name = "unfold_distancee";
+ o->advanced=False;
+o->name = "unfold_distancee";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -2831,7 +2858,8 @@ cubeDisplayInitOptions (CubeDisplay * cd)
CompOption *o;
o = &cd->opt[CUBE_DISPLAY_OPTION_UNFOLD];
- o->name = "unfold";
+ o->advanced=False;
+o->name = "unfold";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -2850,7 +2878,8 @@ cubeDisplayInitOptions (CubeDisplay * cd)
o->value.action.key.keysym = XStringToKeysym (CUBE_UNFOLD_KEY_DEFAULT);
o = &cd->opt[CUBE_DISPLAY_OPTION_NEXT];
- o->name = "next_slide";
+ o->advanced=False;
+o->name = "next_slide";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
@@ -2869,7 +2898,8 @@ cubeDisplayInitOptions (CubeDisplay * cd)
o->value.action.key.keysym = XStringToKeysym (CUBE_NEXT_KEY_DEFAULT);
o = &cd->opt[CUBE_DISPLAY_OPTION_PREV];
- o->name = "prev_slide";
+ o->advanced=False;
+o->name = "prev_slide";
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";