Set the font (the text is made again when next drawn).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(HUDText), | intent(inout) | :: | self | |||
| character(len=*), | intent(in) | :: | font |
font file |
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