HWND rmauxCreateW32Window (const RMpipe *useMe,
HWND parent,
int xpos,
int ypos,
int width,
int height,
char *wtitle,
HINSTANCE hInstance,
void *event_loop_fptr)
const RMpipe *useMe - a handle to an initialized RMpipe object. HWND parent - the Win32 window handle to the parent window. NULL is
OK. int xpos, ypos - integer values specifying the (x,y) pixel coordinate
of the new window. int width, height - integer values specifying the pixel width and
height of the new window. char *wtitle - a character string used as the title of the
window. This string will appear in the title bar painted around
your window by Wxx. HINSTANCE hInstance - an HINSTANCE handle. this handle is provided to
your WinMain routine by Windows. void *event_loop_fptr - A function pointer, cast to a (void *), of
your WndProc (event loop).
librmaux library source file: rmcreatw.c
HWND rmauxCreateOffscreenDrawable (const RMpipe *pipe,
int width,
int height,
int depth,
HINSTANCE hCurrentInst,
void *eventLoopFuncPtr)
const RMpipe *pipe - a handle to an RMpipe object (input). int width, height - integer values that specify the pixel dimensions
of the new offscreen drawable. int depth - integer value that specifies the pixel depth of the new
drawable. This value is used for both color planes and depth buffer. HINSTANCE hInstance - an HINSTANCE handle. this handle is provided to
your WinMain routine by Windows. void *event_loop_fptr - A function pointer, cast to a (void *), of
your WndProc (event loop).
librmaux library source file: rmcreatw.c
Window rmauxCreateXWindow (RMpipe *pipe,
Window parent,
int xPosition,
int yPosition,
int width,
int height,
const char *winTitle,
const char *iconTitle,
RMenum managed)
RMpipe *pipe - a handle to an RMpipe (input, possibly modified). Window parent - an X11 Window handle to the parent window (NULL is OK). int xPosition, yPosition - integer values specifying the pixel
location of the upper left corner of the new window. int width, height - integer values specifying the pixel width and
height of the new window. const char *winTitle, *iconTitle - character strings containing the
window title and icon title, respectively. The ultimate use of
these strings is implementation and window-system specific. RMenum managed - an RMenum value indicating whether or not this
window will be managed by the window manager. When not managed,
the window will be drawn with no decorations, title bars, etc. and
all window events will bypass the window manager and go directly
to the window. RM_TRUE or RM_FALSE. Unmanaged windows are useful
in VR applications.
librmaux library source file: rmcreatw.c
GLXPixmap rmauxCreateOffscreenDrawable (const RMpipe *pipe,
int width,
int height,
int depth)
const RMpipe *pipe - a handle to an RMpipe object (input). int width, height - integer values that specify the pixel dimensions
of the new offscreen drawable. int depth - integer value that specifies the pixel depth of the new
drawable. This value is used for both color planes and depth buffer.
librmaux library source file: rmcreatw.c