I ran into a few things I wanted to do just now, but alpha transparency isn't possible with mini windows. Seeing how I can't fake the problem with a fancy loop over the miniwindows or a clever pre-prepared image, I'd like to request either (or both) of the following:
1a) Add flag 8 to WindowCreate, which essentially adds processing of the alphamask (fourth channel next to r, g and b) when drawing the miniwindow to final output.
1b) Make WindowImageFromWindow("mywindow", "text", "") possible. When SourceWindow is empty, it would get the visible TextRectangle, plus any backgrounds. This would make it possible to affect the text with the various blending operations. Also, a GetBackgroundAtRectangle() or something so I could blend the two together. I'd calculate what the background would look like there, but with all the different modi that is nearly impossible.
Likewise, if you want to affect the text while blending and such, it would be annoying if the miniwindows themselves got in the way of selecting, clicking etc. As such I'd also like to suggest
2) a flag 16 for WindowCreate - passive. It would essentially behave like it was underneath all other text+miniwindows, except be drawn in front of the text.
The idea is that this will make it possible to allow the text to fade out as it hits the top of the scrolling area, while I could still click and select it without problems where I might hit invisible miniwindow edges otherwise.
I am open for other ideas on how to implement this fading thing, but this is the only way I can imagine so far - none of the current functions seem to give me the information/control I need to pull it off. Maybe I am missing something? :D
1a) Add flag 8 to WindowCreate, which essentially adds processing of the alphamask (fourth channel next to r, g and b) when drawing the miniwindow to final output.
1b) Make WindowImageFromWindow("mywindow", "text", "") possible. When SourceWindow is empty, it would get the visible TextRectangle, plus any backgrounds. This would make it possible to affect the text with the various blending operations. Also, a GetBackgroundAtRectangle() or something so I could blend the two together. I'd calculate what the background would look like there, but with all the different modi that is nearly impossible.
Likewise, if you want to affect the text while blending and such, it would be annoying if the miniwindows themselves got in the way of selecting, clicking etc. As such I'd also like to suggest
2) a flag 16 for WindowCreate - passive. It would essentially behave like it was underneath all other text+miniwindows, except be drawn in front of the text.
The idea is that this will make it possible to allow the text to fade out as it hits the top of the scrolling area, while I could still click and select it without problems where I might hit invisible miniwindow edges otherwise.
I am open for other ideas on how to implement this fading thing, but this is the only way I can imagine so far - none of the current functions seem to give me the information/control I need to pull it off. Maybe I am missing something? :D