vkf_gui_begin Interface

interface


Called by

interface~~vkf_gui_begin~~CalledByGraph interface~vkf_gui_begin vkf_gui_begin proc~begin_panel Gui%begin_panel proc~begin_panel->interface~vkf_gui_begin

public subroutine vkf_gui_begin(gui, title, title_len, x, y, pivot_x, pivot_y, follow) bind(C, name="vkf_gui_begin")

Arguments

Type IntentOptional 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 title

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

Description

Begin a panel: the widgets up to vkf_gui_end are in it.