Commit Graph
2 Commits
Author SHA1 Message Date
Einar Johan Trøan Sømåen b355ff7469 DIRECTOR: Don't assume that palette exists based on paletteColorCount 2023-03-26 21:40:15 +02:00
Einar Johan Trøan Sømåen c3b1baf906 DIRECTOR: Refactor BitmapCastMember to store a Picture instead of decoder
This is in preparation for allowing for Lingo to get/set the picture
of BitmapCastMember.

In particular, storing a Picture lets us easily replace the existing
image (instead of having to rely on ImageDecoder as source).

Also, having Picture instances that are easy to copy will make lifetime
management easier if pictures are copied into longer-living things such
as globals.
2023-03-26 19:11:46 +02:00