Button_SetFont

Prototype: GemRB.SetButtonFont (WindowIndex, ControlIndex, FontResRef)

Metaclass Prototype: SetFont (FontResRef)

Description: Sets font used for drawing button text.

Parameters:

  • WindowIndex, ControlIndex - the control’s reference
  • FontResref - a .bam resref which must be listed in fonts.2da

Return value: N/A

See also: Window_CreateLabel


Back to function index, GUIScript introduction.