summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/bench.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/bench.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/bench.c')
-rw-r--r--beryl-plugins/src/bench.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/beryl-plugins/src/bench.c b/beryl-plugins/src/bench.c
index d027d5e..8a05584 100644
--- a/beryl-plugins/src/bench.c
+++ b/beryl-plugins/src/bench.c
@@ -558,7 +558,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
CompOption *o;
o = &bd->opt[BENCH_DISPLAY_OPTION_INITIATE];
- o->name = "initiate";
+ o->advanced=False;
+o->name = "initiate";
o->group = N_("Main");
o->subGroup = N_("");
o->displayHints = "";
@@ -576,7 +577,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
XStringToKeysym (BENCH_DISPLAY_OPTION_INITIATE_KEY);
o = &bd->opt[BENCH_DISPLAY_OPTION_OUTPUT_SCREEN];
- o->name = "output_screen";
+ o->advanced=False;
+o->name = "output_screen";
o->group = N_("Main");
o->subGroup = N_("Screen Output");
o->displayHints = "";
@@ -586,7 +588,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
o->value.b = BENCH_DISPLAY_OPTION_OUTPUT_SCREEN_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_OUTPUT_CONSOLE];
- o->name = "output_console";
+ o->advanced=False;
+o->name = "output_console";
o->group = N_("Main");
o->subGroup = N_("Console Output");
o->displayHints = "";
@@ -596,7 +599,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
o->value.b = BENCH_DISPLAY_OPTION_OUTPUT_CONSOLE_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_CONSOLE_UPDATE_TIME];
- o->name = "console_update_time";
+ o->advanced=False;
+o->name = "console_update_time";
o->group = N_("Main");
o->subGroup = N_("Console Output");
o->displayHints = "";
@@ -608,7 +612,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
o->rest.i.max = 60;
o = &bd->opt[BENCH_DISPLAY_OPTION_DISABLE_LIMIT];
- o->name = "disable_limiter";
+ o->advanced=False;
+o->name = "disable_limiter";
o->group = N_("Main");
o->subGroup = N_("");
o->displayHints = "";
@@ -618,7 +623,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
o->value.b = BENCH_DISPLAY_OPTION_DISABLE_LIMIT_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_POS_X];
- o->name = "position_x";
+ o->advanced=False;
+o->name = "position_x";
o->group = N_("Main");
o->subGroup = N_("Screen Output");
o->displayHints = "";
@@ -630,7 +636,8 @@ benchDisplayInitOptions (BenchDisplay * bd)
o->rest.i.max = 4096;
o = &bd->opt[BENCH_DISPLAY_OPTION_POS_Y];
- o->name = "position_y";
+ o->advanced=False;
+o->name = "position_y";
o->group = N_("Main");
o->subGroup = N_("Screen Output");
o->displayHints = "";