summaryrefslogtreecommitdiffstats
path: root/src/bltGrElemBar.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGrElemBar.C')
-rw-r--r--src/bltGrElemBar.C18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C
index bdea07a..f2fe6d2 100644
--- a/src/bltGrElemBar.C
+++ b/src/bltGrElemBar.C
@@ -234,7 +234,7 @@ int BarElement::configure()
return TCL_ERROR;
// Point to the static normal pen if no external pens have been selected.
- Blt_ChainLink link = Chain_FirstLink(ops->stylePalette);
+ ChainLink link = Chain_FirstLink(ops->stylePalette);
if (!link) {
link = Chain_AllocLink(sizeof(BarStyle));
Chain_LinkAfter(ops->stylePalette, link, NULL);
@@ -446,7 +446,7 @@ void BarElement::map()
size = bars->width;
// Set the symbol size of all the pen styles
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
BarPen* penPtr = stylePtr->penPtr;
@@ -669,7 +669,7 @@ void BarElement::draw(Drawable drawable)
return;
int count = 0;
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle* stylePtr = (BarStyle*)Chain_GetValue(link);
@@ -753,7 +753,7 @@ void BarElement::print(PSOutput* psPtr)
psPtr->format("\n%% Element \"%s\"\n\n", name_);
int count = 0;
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
@@ -840,7 +840,7 @@ void BarElement::printSymbol(PSOutput* psPtr, double x, double y, int size)
void BarElement::ResetStylePalette(Blt_Chain stylePalette)
{
- for (Blt_ChainLink link = Chain_FirstLink(stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
stylePtr->xeb.length = 0;
@@ -882,7 +882,7 @@ void BarElement::mergePens(BarStyle** dataToStyle)
BarElementOptions* ops = (BarElementOptions*)ops_;
if (Chain_GetLength(ops->stylePalette) < 2) {
- Blt_ChainLink link = Chain_FirstLink(ops->stylePalette);
+ ChainLink link = Chain_FirstLink(ops->stylePalette);
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
stylePtr->nBars = nBars_;
stylePtr->bars = bars_;
@@ -900,7 +900,7 @@ void BarElement::mergePens(BarStyle** dataToStyle)
int* barToData = new int[nBars_];
XRectangle* bp = bars;
int* ip = barToData;
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
stylePtr->symbolSize = bp->width / 2;
@@ -925,7 +925,7 @@ void BarElement::mergePens(BarStyle** dataToStyle)
Segment2d *sp = bars;
int* map = new int[xeb_.length];
int* ip = map;
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette);
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette);
link; link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
stylePtr->xeb.segments = sp;
@@ -949,7 +949,7 @@ void BarElement::mergePens(BarStyle** dataToStyle)
Segment2d* sp = bars;
int* map = new int[yeb_.length];
int* ip = map;
- for (Blt_ChainLink link = Chain_FirstLink(ops->stylePalette); link;
+ for (ChainLink link = Chain_FirstLink(ops->stylePalette); link;
link = Chain_NextLink(link)) {
BarStyle *stylePtr = (BarStyle*)Chain_GetValue(link);
stylePtr->yeb.segments = sp;