Xarxus
March 30th, 2025, 09:50
Hey guys, I’ve got a question for you.
I’ve got a genericcontrol defined in a template. Right now, the template doesn’t have a frame, but I’d like to add
one dynamically. The idea is to add a bitmap rotated 90 degrees to the frame. I’ve got a bunch of potential images
I can use. Since there are quite a few, I’d rather not create rotated copies of all of them beforehand, along with the
framedefs—I’d prefer to handle it directly in the code when needed.
One idea was to create a standard framedef (since all the images have the same size) and then dynamically load
the image while rotating it.
Do you think this is doable? And if so, how?
I’ve got a genericcontrol defined in a template. Right now, the template doesn’t have a frame, but I’d like to add
one dynamically. The idea is to add a bitmap rotated 90 degrees to the frame. I’ve got a bunch of potential images
I can use. Since there are quite a few, I’d rather not create rotated copies of all of them beforehand, along with the
framedefs—I’d prefer to handle it directly in the code when needed.
One idea was to create a standard framedef (since all the images have the same size) and then dynamically load
the image while rotating it.
Do you think this is doable? And if so, how?