| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | gui |
GUI handle (vkf_viewer_gui) |
||
| character(kind=c_char, len=1), | intent(in) | :: | title(*) |
panel title ("##name": no title bar, e.g. a callout) |
||
| integer(kind=c_int), | value | :: | title_len |
the length of |
||
| real(kind=c_double), | value | :: | x |
position (0 to 1 across the window, y up; x < 0: where ImGui puts it) |
||
| real(kind=c_double), | value | :: | y |
position (0 to 1 across the window, y up; x < 0: where ImGui puts it) |
||
| real(kind=c_double), | value | :: | pivot_x |
the panel's point placed there (0 to 1 across it, from the top left) |
||
| real(kind=c_double), | value | :: | pivot_y |
the panel's point placed there (0 to 1 across it, from the top left) |
||
| integer(kind=c_int), | value | :: | follow |
not 0: placed at (x, y) every frame (and not movable), else only at first |
Begin a panel: the widgets up to vkf_gui_end are in it.