Just curious if this is a bug in the WindowResize helpfile.
the prototype is:
but in your example on there you have 6 arguments and there is no explanation as to what the other 2 arguments stand for
So in your example the 2nd and 3rd parameter is width, height, whats the 4th, 5th?
the 4th seems to affect the colour brightness. I cant figure out the 5th.
And it also states
So from that unless I misunderstand it, it should only color in the new pixles that are made. For me its fills the whole window even when i make it smaller.
example making window 1 pixel smaller on width and height
Am I missing something? Or is this info wrong?
the prototype is:
long WindowResize(BSTR WindowName, long Width, long Height, long BackgroundColour);
but in your example on there you have 6 arguments and there is no explanation as to what the other 2 arguments stand for
WindowResize ("inventory", 0, 0, 300, 300, ColourNameToRGB ("red")) -- resize window
So in your example the 2nd and 3rd parameter is width, height, whats the 4th, 5th?
the 4th seems to affect the colour brightness. I cant figure out the 5th.
And it also states
BackgroundColour - this is the RGB code for the colour is used to replace any pixels which are now visible, which were not previously (if the new size is larger than the old one).
So from that unless I misunderstand it, it should only color in the new pixles that are made. For me its fills the whole window even when i make it smaller.
example making window 1 pixel smaller on width and height
win_size = WindowInfo(eq, 4) -- height
win_width = WindowInfo(eq, 3) -- width
WindowResize (eq, win_width - 1, win_size - 1, ColourNameToRGB ("red")) -- resize window
Am I missing something? Or is this info wrong?