This function opens the window.
Parameter | Description |
---|---|
title |
A valid pointer to the standard ANSI C/C++ string which represents the title of the window. |
x |
The x coordinate of the window, in pixels. |
y |
The y coordinate of the window, in pixels. |
w |
The width of the window, in pixels. |
h |
The height of the window, in pixels. |
flags |
A bitmask of special flags. The following bit values are currently supported:
Note that flags is a bitmask. Use the OR ("|") operation to combine several bit values. For example, to open a centered and resizable window, set flags to DV_WINDOW_HINT_RESIZE|DV_WINDOW_HINT_CENTER. |
If the function was successful, the return value is 1. Otherwise, the function returns 0.