font Function

private function font(self) result(f)

The font file ('' for the default font).

Type Bound

HUDText

Arguments

Type IntentOptional Attributes Name
class(HUDText), intent(in) :: self

Return Value character(len=:), allocatable


Called by

proc~~font~~CalledByGraph proc~font HUDText%font proc~create_hud create_hud proc~create_hud->proc~font proc~update_huds update_huds proc~update_huds->proc~font proc~update_huds->proc~create_hud proc~add_hud_text WindowProxy%add_hud_text proc~add_hud_text->proc~create_hud proc~create_huds create_huds proc~create_huds->proc~create_hud proc~frame WindowProxy%frame proc~frame->proc~update_huds proc~frame->proc~create_huds proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

Source Code

    function font(self) result(f)
        class(HUDText), intent(in) :: self
        character(len=:), allocatable :: f
        f = ''
        if (allocated(self%font_)) f = self%font_
    end function font