Palette & Blink

QNX4:

Program is draw text and line in a PhImage_t which is displayed in a PtRaw
via PhDrawImagemx, that work file.

I need to certain object to blink. I assume I could do it by changing the
palette but just can’t figure out how.

I planned on drawing non blinking object with lets say color 10 from the
palette and object that blink with color 11. The palette would be setup up
to have color 10 and 11 be the same, but the color 11 would be change to
support blinking. The way I understand the palette stuff is that when the
image is drawn each pixel color is obtain from the palette when render, but
once the image is render it’s color cannot be changed. I assume I could do
it with HARD palette but all my attemps failed.

I look at the documentation of 6.3 hoping to find some more clarification
has how palette work but could find the information that would help me
understand what is it that I am missing.

  • Mario

Sorry long day, this version has less typo and better grammar.

QNX4:

Program is drawing text and lines in a PhImage_t which is displayed in a
PtRaw
via PhDrawImagemx, that works fine.

Some of the objects in the image must blink. I assume I could do it by
changing the
palette but just can’t figure out how.

I planned on drawing non blinking object with lets say color 10 from the
palette and object that blink with color 11. The palette would be setup up
to have color 10 and 11 be the same, but the color 11 would be “toggle” to
support blinking. The way I understand the palette stuff is that when the
image is drawn each pixel color is obtain from the palette when rendered,
but
once the image is render its color cannot be changed. I assume I could do
it with HARD palette but all my attemps failed.

I look at the documentation of 6.3 hoping to find some more clarification
has how palette work but could find the information that would help me
understand what is it that I am missing.

  • Mario