|
@@ -278,7 +278,7 @@ void _cmGrPlotObjSetSelect( cmGrPlotObj_t* op, bool clearFl )
|
278
|
278
|
}
|
279
|
279
|
|
280
|
280
|
|
281
|
|
-const cmGrColor_t _cmGrPlotColor( cmGrPlotObj_t* op, cmGrColor_t* array )
|
|
281
|
+cmGrColor_t _cmGrPlotColor( cmGrPlotObj_t* op, cmGrColor_t* array )
|
282
|
282
|
{
|
283
|
283
|
if( _cmGrPlotObjIsFocused(op) )
|
284
|
284
|
return array[kFocusPlGrId];
|
|
@@ -1017,7 +1017,7 @@ int cmGrPlotObjLabelAngle( cmGrPlObjH_t oh )
|
1017
|
1017
|
return op->labelAngle;
|
1018
|
1018
|
}
|
1019
|
1019
|
|
1020
|
|
-const cmGrColor_t cmGrPlotObjLabelColor( cmGrPlObjH_t oh )
|
|
1020
|
+cmGrColor_t cmGrPlotObjLabelColor( cmGrPlObjH_t oh )
|
1021
|
1021
|
{
|
1022
|
1022
|
cmGrPlotObj_t* op = _cmGrPlObjHandleToPtr(oh);
|
1023
|
1023
|
return op->labelColor;
|
|
@@ -1175,14 +1175,14 @@ void cmGrPlotObjSetLineColor( cmGrPlObjH_t oh, cmGrPlStateId_t id, c
|
1175
|
1175
|
op->drawColors[ id ] = c;
|
1176
|
1176
|
}
|
1177
|
1177
|
|
1178
|
|
-const cmGrColor_t cmGrPlotObjLineColor( cmGrPlObjH_t oh, cmGrPlStateId_t id )
|
|
1178
|
+cmGrColor_t cmGrPlotObjLineColor( cmGrPlObjH_t oh, cmGrPlStateId_t id )
|
1179
|
1179
|
{
|
1180
|
1180
|
cmGrPlotObj_t* op = _cmGrPlObjHandleToPtr(oh);
|
1181
|
1181
|
assert( id < kMaxPlGrId );
|
1182
|
1182
|
return op->drawColors[id];
|
1183
|
1183
|
}
|
1184
|
1184
|
|
1185
|
|
-const cmGrColor_t cmGrPlotObjCurLineColor( cmGrPlObjH_t h )
|
|
1185
|
+cmGrColor_t cmGrPlotObjCurLineColor( cmGrPlObjH_t h )
|
1186
|
1186
|
{
|
1187
|
1187
|
cmGrPlotObj_t* op = _cmGrPlObjHandleToPtr(h);
|
1188
|
1188
|
return _cmGrPlotColor(op,op->drawColors);
|
|
@@ -1195,14 +1195,14 @@ void cmGrPlotObjSetFillColor( cmGrPlObjH_t oh, cmGrPlStateId_t id, c
|
1195
|
1195
|
op->fillColors[ id ] = c;
|
1196
|
1196
|
}
|
1197
|
1197
|
|
1198
|
|
-const cmGrColor_t cmGrPlotObjFillColor( cmGrPlObjH_t oh, cmGrPlStateId_t id )
|
|
1198
|
+cmGrColor_t cmGrPlotObjFillColor( cmGrPlObjH_t oh, cmGrPlStateId_t id )
|
1199
|
1199
|
{
|
1200
|
1200
|
cmGrPlotObj_t* op = _cmGrPlObjHandleToPtr(oh);
|
1201
|
1201
|
assert( id < kMaxPlGrId );
|
1202
|
1202
|
return op->fillColors[id];
|
1203
|
1203
|
}
|
1204
|
1204
|
|
1205
|
|
-const cmGrColor_t cmGrPlotObjCurFillColor( cmGrPlObjH_t h )
|
|
1205
|
+cmGrColor_t cmGrPlotObjCurFillColor( cmGrPlObjH_t h )
|
1206
|
1206
|
{
|
1207
|
1207
|
cmGrPlotObj_t* op = _cmGrPlObjHandleToPtr(h);
|
1208
|
1208
|
return _cmGrPlotColor(op,op->fillColors);
|