Changeset 38461
- Timestamp:
- Jun 12, 2015, 10:25:10 PM (11 years ago)
- Location:
- trunk/Ohana/src/libkapa
- Files:
-
- 2 edited
-
include/kapa.h (modified) (1 diff)
-
src/KiiPicture.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libkapa/include/kapa.h
r35761 r38461 146 146 int KiiSetChannel (int fd, int channel); 147 147 int KiiSetColormap (int fd, char *colormap); 148 int KiiSetNanColor (int fd, int red, int green, int blue); 148 149 int KiiNewPicture1D (int fd, KiiImage *image, KapaImageData *data, Coords *coords); 149 150 int KiiNewPicture2D (int fd, KiiImage *image, KapaImageData *data, Coords *coords); -
trunk/Ohana/src/libkapa/src/KiiPicture.c
r36833 r38461 14 14 KiiSendCommand (fd, 4, "CMAP"); /* tell kapa to look for the incoming image */ 15 15 KiiSendMessage (fd, "%s", colormap); 16 17 KiiWaitAnswer (fd, "DONE"); 18 return (TRUE); 19 } 20 21 int 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); 16 25 17 26 KiiWaitAnswer (fd, "DONE");
Note:
See TracChangeset
for help on using the changeset viewer.
