summaryrefslogtreecommitdiffstats
path: root/scilab/modules/graphics
diff options
context:
space:
mode:
authorManuel Juliachs <manuel.juliachs@scilab.org>2010-03-04 15:44:21 +0100
committerManuel Juliachs <manuel.juliachs@scilab.org>2010-03-04 15:44:21 +0100
commit2d214412e11c9c96c7105e4e94aeed4f4296f3ab (patch)
treee003996158c3d3fbcb216d9ef80290de2aa6f96c /scilab/modules/graphics
parent0de472da05092ab5ad96adbfea23ab910c68ec33 (diff)
downloadscilab-2d214412e11c9c96c7105e4e94aeed4f4296f3ab.zip
scilab-2d214412e11c9c96c7105e4e94aeed4f4296f3ab.tar.gz
Fixes bug #6531
Diffstat (limited to 'scilab/modules/graphics')
-rw-r--r--scilab/modules/graphics/src/c/SetProperty.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/scilab/modules/graphics/src/c/SetProperty.c b/scilab/modules/graphics/src/c/SetProperty.c
index 6abb8df..887c43d 100644
--- a/scilab/modules/graphics/src/c/SetProperty.c
+++ b/scilab/modules/graphics/src/c/SetProperty.c
@@ -218,10 +218,7 @@ void sciRecursiveUpdateBaW(sciPointObj *pobj, int old_m, int m)
218 sciSetNumColors (pobj,old_m); 218 sciSetNumColors (pobj,old_m);
219 219
220 220
221 if((sciGetEntityType(pobj) != SCI_TEXT) && 221 if((sciGetEntityType(pobj) != SCI_AXES) &&
222 (sciGetEntityType(pobj) != SCI_LEGEND) &&
223 (sciGetEntityType(pobj) != SCI_AXES) &&
224 (sciGetEntityType(pobj) != SCI_LABEL) &&
225 !sciIsAutomaticallyRedrawn(pobj)) 222 !sciIsAutomaticallyRedrawn(pobj))
226 { 223 {
227 if(old_m +1 == sciGetForeground(pobj)) { /* 0 => deals with Foreground */ 224 if(old_m +1 == sciGetForeground(pobj)) { /* 0 => deals with Foreground */
@@ -343,11 +340,11 @@ sciUpdateBaW (sciPointObj * pobj, int flag, int value)
343 case SCI_AXES: 340 case SCI_AXES:
344 case SCI_LABEL: /* F.Leray 28.05.04 */ 341 case SCI_LABEL: /* F.Leray 28.05.04 */
345 case SCI_TEXT: 342 case SCI_TEXT:
343 case SCI_LEGEND:
346 sciSetForeground(pobj,value); 344 sciSetForeground(pobj,value);
347 break; 345 break;
348 case SCI_UIMENU: 346 case SCI_UIMENU:
349 case SCI_AGREG: 347 case SCI_AGREG:
350 case SCI_LEGEND:
351 default: 348 default:
352 return -1; 349 return -1;
353 break; 350 break;
@@ -368,11 +365,11 @@ sciUpdateBaW (sciPointObj * pobj, int flag, int value)
368 case SCI_AXES: 365 case SCI_AXES:
369 case SCI_LABEL: /* F.Leray 28.05.04 */ 366 case SCI_LABEL: /* F.Leray 28.05.04 */
370 case SCI_TEXT: 367 case SCI_TEXT:
368 case SCI_LEGEND:
371 sciSetBackground(pobj,value); 369 sciSetBackground(pobj,value);
372 break; 370 break;
373 case SCI_UIMENU: 371 case SCI_UIMENU:
374 case SCI_AGREG: 372 case SCI_AGREG:
375 case SCI_LEGEND:
376 default: 373 default:
377 return -1; 374 return -1;
378 break; 375 break;