Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Henry Barta
Fri, 14 Sep 1990 18:43
text colors for 8514/a
Author: Henry Barta
Date: Fri, 14 Sep 1990 18:43
Date: Fri, 14 Sep 1990 18:43
18 lines
1504 bytes
1504 bytes
I am using direct calls to the IBM 8514/A to paint various graphics and text to the screen, generally with the desired results. However, I have been unable to create a desired foreground color: mustard yellow (The program is running full screen under OS/2.) I have defined the color as (255, 160, 0) (red, green, blue) which I believe should produce some sort of yellow. Then I use the HSCOL order to set the foreground to this color (using the corresponding index that was determined when I loaded the palette). The background is set to an index for light grey (200,200,200) using the HSBCOL order and mix for both background and foreground set to overpaint (2) using the HSMIX order. The text is then written using the HCHST order. And it comes out pink. I have tried the default yellow from the palette and adjacent colors in the custom palette with the expected results. As near as I can tell, blue is getting mixed in somehow. Any ideas on what I am doing wrong would be greatly appreciated.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads