docrst
Member
|
Mini Map question
how can I put a custom frame around the Mini Map?
|
|
10-23-2013 03:48 AM |
|
1991mirec
Member
|
RE: Mini Map question
something like this should work.. not sure if it s made correct way but that s how i got it and it works
ImagePtr SomeImage = your image UID;
SomeImage->drawBorder(rect);
rect is minimap rectangle
|
|
10-23-2013 04:25 PM |
|
docrst
Member
|
RE: Mini Map question
thank you, i will try it out.
would it go here
// draw the image
Image &image=Game.World.mini_map(VecI2(x, y)); // access the image map from the world manager
if( image.is())image.drawMask(WHITE, TRANSPARENT, map_image_rect, *Images(UID(3960408949, 1263566522, 647874702, 859924211)), rect); // if the image map is valid then draw it on the screen using masked drawing
}
rect.center().draw(WHITE);
(This post was last modified: 10-25-2013 03:54 AM by docrst.)
|
|
10-25-2013 03:45 AM |
|