Keeping an image in from

BlitzMax Forums/BlitzMax Programming/Keeping an image in from

Newbie(Posted 2007) [#1]
I have browsed through the docs; I want to have my mousepointer in front of all other images on my display. right now the mouse pointer is on top of the background, but behind all other drawimage() commands.

I have looked in the docs, and did not see any settings for drawimage() that would enforce the specific image to be in front of other images.

any ideas?


FlameDuck(Posted 2007) [#2]
any ideas?
Draw it last. Like just before Flip.


Newbie(Posted 2007) [#3]
Good one, Flameduck! That actually solved it. I was in a different mental state thinking there might be a command to control which images are in front of others


FlameDuck(Posted 2007) [#4]
That actually solved it.
Imagine that.


SculptureOfSoul(Posted 2007) [#5]
There is no inherent z-ordering to images, no. Z-ordering is controlled via the order of your calls to Draw* - so any z-ordering you want to do has to be done manually and prior to draw (sorting a list of items to be drawn based on some type field value, for instance.)