set_font Subroutine

private subroutine set_font(self, font)

Set the font (the text is made again when next drawn).

Type Bound

HUDText

Arguments

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

font file


Source Code

    subroutine set_font(self, font)
        class(HUDText), intent(inout) :: self
        character(len=*), intent(in) :: font    !! font file
        self%font_ = font
        self%revision_ = self%revision_ + 1
    end subroutine set_font