ofwin_createproxy Subroutine

public subroutine ofwin_createproxy(x, y, width, height, nrow, ncol, embedded, id, usevr)

Create a new WindowProxy that will manage drawing onto a window. This new WindowProxy will also become the current active one.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: x

X-coordinate (in pixels) of the screen of the upper-right corner of the window.

integer(kind=int32), intent(in) :: y

Y-coordinate (in pixels) of the screen of the upper-right corner of the window.

integer(kind=int32), intent(in) :: width

Width of the window (in pixels).

integer(kind=int32), intent(in) :: height

Height of the window (in pixels).

integer(kind=int32), intent(in) :: nrow

Number of rows in the window grid.

integer(kind=int32), intent(in) :: ncol

Number of columns in the window grid.

logical, intent(in) :: embedded

True if the user wants to provide their own OpenGL window.

integer(kind=int32), intent(in) :: id

ID of this window.

logical, intent(in) :: usevr

Whether to enable rendering in VR (if OpenFrames is built with OpenVR support)