Show view i (1 to num_views), flying there over duration s (default:
the view transition, set_view_transition; 0: a cut).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | i |
1 to num_views |
||
| real(kind=wp), | intent(in), | optional | :: | duration |
s (default: the view transition; 0: a cut) |
subroutine select_view(self, i, duration) class(WindowProxy), intent(inout) :: self integer, intent(in) :: i !! 1 to num_views real(wp), intent(in), optional :: duration !! s (default: the view transition; 0: a cut) if (i < 1 .or. i > self%n_views .or. i == self%current) return self%current = i if (present(duration)) self%switch_duration = max(0.0_wp, duration) end subroutine select_view