IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26420


Ignore:
Timestamp:
Dec 15, 2009, 6:17:25 PM (16 years ago)
Author:
eugene
Message:

add function to erase overlays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotVisual.c

    r26317 r26420  
    5858    }
    5959    psAbort ("unknown kapa channel");
     60}
     61
     62bool psphotVisualEraseOverlays (int channel, char *overlay) {
     63
     64    int myKapa = psphotKapaChannel (channel);
     65    if (!(strcasecmp (overlay, "all"))) {
     66      KiiEraseOverlay (myKapa, "red");
     67      KiiEraseOverlay (myKapa, "green");
     68      KiiEraseOverlay (myKapa, "blue");
     69      KiiEraseOverlay (myKapa, "yellow");
     70      return true;
     71    }
     72    KiiEraseOverlay (myKapa, overlay);
     73    return true;
    6074}
    6175
Note: See TracChangeset for help on using the changeset viewer.