summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/bench.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-30 02:17:16 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-30 02:17:16 +0000
commitbce2b26a717d668f5e1667eae891f173f27d014c (patch)
tree49e744a33e92a14cec49af743f8f713a5e069ed2 /beryl-plugins/src/bench.c
parentd4d22dfc8c4fbd2ff320ec136af9e84dcc6485a3 (diff)
downloadmarex-dev-bce2b26a717d668f5e1667eae891f173f27d014c.tar.gz
marex-dev-bce2b26a717d668f5e1667eae891f173f27d014c.tar.bz2
beryl-core, beryl-vidcap, beryl-plugins:
-add new groups system for options -add hints to options -still none of these are filled out -beryl-settings isn't converted to use the new hint checking function yet git-svn-id: file:///beryl/trunk@1462 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/bench.c')
-rw-r--r--beryl-plugins/src/bench.c35
1 files changed, 28 insertions, 7 deletions
diff --git a/beryl-plugins/src/bench.c b/beryl-plugins/src/bench.c
index 40d2926..0a49476 100644
--- a/beryl-plugins/src/bench.c
+++ b/beryl-plugins/src/bench.c
@@ -558,7 +558,10 @@ benchDisplayInitOptions (BenchDisplay * bd)
o = &bd->opt[BENCH_DISPLAY_OPTION_INITIATE];
o->name = "initiate";
- o->shortDesc = N_("Initiate");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Initiate");
o->longDesc = N_("Start benchmark");
o->type = CompOptionTypeAction;
o->value.action.initiate = benchInitiate;
@@ -574,21 +577,30 @@ benchDisplayInitOptions (BenchDisplay * bd)
o = &bd->opt[BENCH_DISPLAY_OPTION_OUTPUT_SCREEN];
o->name = "output_screen";
- o->shortDesc = N_("Output Screen");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Output Screen");
o->longDesc = N_("Display FPS on screen");
o->type = CompOptionTypeBool;
o->value.b = BENCH_DISPLAY_OPTION_OUTPUT_SCREEN_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_OUTPUT_CONSOLE];
o->name = "output_console";
- o->shortDesc = N_("Output Console");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Output Console");
o->longDesc = N_("Print FPS to console");
o->type = CompOptionTypeBool;
o->value.b = BENCH_DISPLAY_OPTION_OUTPUT_CONSOLE_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_CONSOLE_UPDATE_TIME];
o->name = "console_update_time";
- o->shortDesc = N_("Console Update Time");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Console Update Time");
o->longDesc = N_("Console output update time");
o->type = CompOptionTypeInt;
o->value.i = BENCH_DISPLAY_OPTION_CONSOLE_UPDATE_TIME_DEFAULT;
@@ -597,14 +609,20 @@ benchDisplayInitOptions (BenchDisplay * bd)
o = &bd->opt[BENCH_DISPLAY_OPTION_DISABLE_LIMIT];
o->name = "disable_limiter";
- o->shortDesc = N_("Disable limiter");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Disable limiter");
o->longDesc = N_("Disable beryl integrated FPS limiter");
o->type = CompOptionTypeBool;
o->value.b = BENCH_DISPLAY_OPTION_DISABLE_LIMIT_DEFAULT;
o = &bd->opt[BENCH_DISPLAY_OPTION_POS_X];
o->name = "position_x";
- o->shortDesc = N_("Position x");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Position x");
o->longDesc = N_("X Position of benchmark window");
o->type = CompOptionTypeInt;
o->value.i = BENCH_DISPLAY_OPTION_POS_X_DEFAULT;
@@ -613,7 +631,10 @@ benchDisplayInitOptions (BenchDisplay * bd)
o = &bd->opt[BENCH_DISPLAY_OPTION_POS_Y];
o->name = "position_y";
- o->shortDesc = N_("Position y");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Position y");
o->longDesc = N_("Y Position of benchmark window");
o->type = CompOptionTypeInt;
o->value.i = BENCH_DISPLAY_OPTION_POS_X_DEFAULT;