Set where the text is.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(HUDText), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | position(2) |
[x, y] (0 to 1 across the window, y up) |
subroutine set_position(self, position) class(HUDText), intent(inout) :: self real(wp), intent(in) :: position(2) !! [x, y] (0 to 1 across the window, y up) self%position_ = position self%revision_ = self%revision_ + 1 end subroutine set_position