Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Short question: OnScreenDisplay => x,y parameter
#1
When pressing [F1] on the 'OnScreenDisplay' command, the X Y part states the following:

(x = marked green)
Quote:x, y - coordinates. If flag 16 or 32 not used:
If 0 (default), screen center.
If > 0, relative to the work area.
If < 0, relative to bottom/right of the work area.
The OSD is displayed on the monitor specified by the <help>_monitor variable.

If 0 ....
if > 0 ...
if < 0 ...
To what part does the above 'if ...' apply? X or Y?
At the moment I use (x) 0 and (y) -1 to display the message at the center bottom of my screen.
I works perfectly on my screen, but I do not know if this is actually correct.
#2
To x and y separately. For example can be x -1 and y 1, then OSD will be at the top-right corner.

Quote:At the moment I use (x) 0 and (y) -1 to display the message at the center bottom of my screen.
I works perfectly on my screen, but I do not know if this is actually correct.
It is correct.
#3
This makes it clear! Thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)