get_backlight_max_brightness Subroutine

private impure elemental subroutine get_backlight_max_brightness(this, max_brightness)

Type Bound

linux_backlight

Arguments

Type IntentOptional Attributes Name
class(linux_backlight), intent(inout) :: this
integer, intent(out), optional :: max_brightness

Contents


Source Code

   elemental impure subroutine get_backlight_max_brightness(this, max_brightness)
      class(linux_backlight), intent(inout)          :: this
      integer,                intent(out),  optional :: max_brightness

      if (present(max_brightness)) max_brightness = this%max_brightness
      if (this%debug=='on') print'(a,i0)', 'max brightness:         ', this%max_brightness
   end subroutine get_backlight_max_brightness