IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38461


Ignore:
Timestamp:
Jun 12, 2015, 10:25:10 PM (11 years ago)
Author:
eugene
Message:

merge changes from EAM branch ipp-20150419

Location:
trunk/Ohana/src/libkapa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libkapa/include/kapa.h

    r35761 r38461  
    146146int KiiSetChannel (int fd, int channel);
    147147int KiiSetColormap (int fd, char *colormap);
     148int KiiSetNanColor (int fd, int red, int green, int blue);
    148149int KiiNewPicture1D (int fd, KiiImage *image, KapaImageData *data, Coords *coords);
    149150int KiiNewPicture2D (int fd, KiiImage *image, KapaImageData *data, Coords *coords);
  • trunk/Ohana/src/libkapa/src/KiiPicture.c

    r36833 r38461  
    1414  KiiSendCommand (fd, 4, "CMAP"); /* tell kapa to look for the incoming image */
    1515  KiiSendMessage (fd, "%s", colormap);
     16 
     17  KiiWaitAnswer (fd, "DONE");
     18  return (TRUE);
     19}
     20
     21int KiiSetNanColor (int fd, int red, int green, int blue) {
     22
     23  KiiSendCommand (fd, 4, "CNAN"); /* tell kapa to look for the incoming image */
     24  KiiSendMessage (fd, "%d %d %d ", red, green, blue);
    1625 
    1726  KiiWaitAnswer (fd, "DONE");
Note: See TracChangeset for help on using the changeset viewer.