diff options
author | joye <joye> | 2014-03-17 19:19:01 (GMT) |
---|---|---|
committer | joye <joye> | 2014-03-17 19:19:01 (GMT) |
commit | e397c807bc33cf9af19714912ffb69a30b4014b6 (patch) | |
tree | 063b3bbb60e1a22a588a5a4618c03e0f77553f01 /src/bltGrElemBar.C | |
parent | 2527bdab80ea7441b9066941dd8f5abd433c86ab (diff) | |
download | blt-e397c807bc33cf9af19714912ffb69a30b4014b6.zip blt-e397c807bc33cf9af19714912ffb69a30b4014b6.tar.gz blt-e397c807bc33cf9af19714912ffb69a30b4014b6.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrElemBar.C')
-rw-r--r-- | src/bltGrElemBar.C | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C index b808d11..28f956c 100644 --- a/src/bltGrElemBar.C +++ b/src/bltGrElemBar.C @@ -230,8 +230,7 @@ static Tk_ObjCustomOption styleObjOption = extern Tk_ObjCustomOption barPenObjOption; extern Tk_ObjCustomOption pairsObjOption; extern Tk_ObjCustomOption valuesObjOption; -extern Tk_ObjCustomOption xAxisObjOption; -extern Tk_ObjCustomOption yAxisObjOption; +extern Tk_ObjCustomOption axisObjOption; static Tk_OptionSpec optionSpecs[] = { {TK_OPTION_CUSTOM, "-activepen", "activePen", "ActivePen", @@ -272,9 +271,9 @@ static Tk_OptionSpec optionSpecs[] = { {TK_OPTION_RELIEF, "-legendrelief", "legendRelief", "LegendRelief", "flat", -1, Tk_Offset(BarElement, legendRelief), 0, NULL, 0}, {TK_OPTION_CUSTOM, "-mapx", "mapX", "MapX", - "x", -1, Tk_Offset(BarElement, axes.x), 0, &xAxisObjOption, MAP_ITEM}, + "x", -1, Tk_Offset(BarElement, axes.x), 0, &axisObjOption, MAP_ITEM}, {TK_OPTION_CUSTOM, "-mapy", "mapY", "MapY", - "y", -1, Tk_Offset(BarElement, axes.y), 0, &yAxisObjOption, MAP_ITEM}, + "y", -1, Tk_Offset(BarElement, axes.y), 0, &axisObjOption, MAP_ITEM}, {TK_OPTION_SYNONYM, "-outline", NULL, NULL, NULL, -1, 0, 0, "-foreground", 0}, {TK_OPTION_CUSTOM, "-pen", "pen", "Pen", NULL, -1, Tk_Offset(BarElement, normalPenPtr), |