• 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
NTUI code for loading icons is in NTUI/bitmap.ab3/_ntui_LoadBitMapViaIcon{filename.s,*tpa.tuiPixelArray}

The screenshot looks good. FillPixelArray has worked correctly, you can see this on the black and white background in image #2 and #3.
The alpha channel is also extracted correctly. What went wrong is to extract the correct colors. I think I know why. OS4 has swapped the Bitmap to GFX memory. All manipulations in the RAM don't show up in image #5. If you comment the blitting of image #4 out, imgae #5 should show some pink.
Let me change the icontest accordingly.

Another problem when loading icons is that "old" icons don't work if they don't have a screen associated with them. Does anyone care about this?
I can change this, but the downside is that 24bit icons will be remapped if the screen is not 24bit, and this wastes a lot of pens.

EDIT: discussion moved to <!-- l --><a class="postlink-local" href="">viewtopic.php?f=21&t=68#p457</a><!-- l -->

Nachrichten in diesem Thema

Gehe zu:

Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste