summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-06-30 21:02:16 (GMT)
committerjoye <joye>2014-06-30 21:02:16 (GMT)
commit833a2f239a4fc780e08124efe75c7b323678e408 (patch)
treeaa461941108ed810c19d5b16583aa43bed702c4e /src
parent556a7dfe9044c5a55c000a481a83eb2c58e01db2 (diff)
downloadblt-833a2f239a4fc780e08124efe75c7b323678e408.zip
blt-833a2f239a4fc780e08124efe75c7b323678e408.tar.gz
blt-833a2f239a4fc780e08124efe75c7b323678e408.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrMisc.h3
-rw-r--r--src/bltGrPenBar.C3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bltGrMisc.h b/src/bltGrMisc.h
index 7273bfc..b2d644d 100644
--- a/src/bltGrMisc.h
+++ b/src/bltGrMisc.h
@@ -88,13 +88,14 @@ namespace Blt {
} Dashes;
extern char* dupstr(const char*);
+ extern Graph* getGraphFromWindowData(Tk_Window tkwin);
+
extern int pointInPolygon(Point2d *samplePtr, Point2d *screenPts,
int nScreenPts);
extern int polyRectClip(Region2d *extsPtr, Point2d *inputPts,
int nInputPts, Point2d *outputPts);
extern int lineRectClip(Region2d *regionPtr, Point2d *p, Point2d *q);
extern Point2d getProjection (int x, int y, Point2d *p, Point2d *q);
- extern Graph* getGraphFromWindowData(Tk_Window tkwin);
};
#endif
diff --git a/src/bltGrPenBar.C b/src/bltGrPenBar.C
index b9e3ed4..ea6a3b3 100644
--- a/src/bltGrPenBar.C
+++ b/src/bltGrPenBar.C
@@ -43,8 +43,7 @@ static Tk_OptionSpec barPenOptionSpecs[] = {
{TK_OPTION_PIXELS, "-borderwidth", "borderWidth", "BorderWidth",
STD_BORDERWIDTH, -1, Tk_Offset(BarPenOptions, borderWidth), 0, NULL, CACHE},
{TK_OPTION_BORDER, "-color", "color", "Color",
- STD_NORMAL_FOREGROUND, -1, Tk_Offset(BarPenOptions, fill),
- TK_OPTION_NULL_OK, NULL, CACHE},
+ STD_NORMAL_FOREGROUND, -1, Tk_Offset(BarPenOptions, fill), 0, NULL, CACHE},
{TK_OPTION_COLOR, "-errorbarcolor", "errorBarColor", "ErrorBarColor",
NULL, -1, Tk_Offset(BarPenOptions, errorBarColor),
TK_OPTION_NULL_OK, NULL, CACHE},