The node of HUD text k, added to the window (compiled if it runs).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(WindowProxy), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | k |
index in huds |
subroutine create_hud(self, k) type(WindowProxy), intent(inout) :: self integer, intent(in) :: k !! index in huds type(HUDText), pointer :: h h => self%huds(k)%p self%huds(k)%node = label_create(h%text(), [h%position(), 0.0_wp], h%color(), h%size(), 0.0_wp, & h%alignment(), h%font()) self%huds(k)%font = h%font() if (.not. c_associated(self%huds(k)%node)) return if (vkf_viewer_hud_add(self%viewer_, self%huds(k)%node) /= 0) write(*, '(a)') 'vkframes: could not add HUD text' self%huds(k)%revision = h%revision() end subroutine create_hud