set_text Subroutine

private subroutine set_text(self, text)

Set the text (up to 256 characters, or twice the first text's length; see the module documentation).

Type Bound

HUDText

Arguments

Type IntentOptional Attributes Name
class(HUDText), intent(inout) :: self
character(len=*), intent(in) :: text

the text


Source Code

    subroutine set_text(self, text)
        class(HUDText), intent(inout) :: self
        character(len=*), intent(in) :: text    !! the text
        self%text_ = text
        self%revision_ = self%revision_ + 1
    end subroutine set_text