wiki:Documentation/API/MUI_Fontpanel

Fontpanel.mui

Super class

Panel.mui

Background

Fontpanel class is MUI's replacement for ASL font requesters to provide the extended font styles, sizing and coloring. Furthermore it offers the possibility to sort the fonts into several font families, including user defined families.

Attributes

Attribute Version ISG Type
MUIA_Fontpanel_ShowCollection V20I..LONG


MUIA_Fontpanel_ShowCollection

NAME

MUIA_Fontpanel_ShowCollection — V20 [I..], LONG, 0x804225ea

SPECIAL INPUTS

  • MUIV_Fontpanel_ShowCollection_All
  • MUIV_Fontpanel_ShowCollection_FixedWidth
  • MUIV_Fontpanel_ShowCollection_Bitmap
  • MUIV_Fontpanel_ShowCollection_TrueType
  • MUIV_Fontpanel_ShowCollection_User

FUNCTION

Usually a font panel will allow the user to select a font from all standard and user defined font families. However, sometimes it might be necessary to restrict this selection to i.e. TrueType fonts when bitmap fonts cannot be used for application specific reasons.

This attribute allows to specify the types of font families to select from. Just pass a logical OR of the suitable MUIV_Fontpanel_ShowCollection_#? values.

EXAMPLE

/* let the user choose TrueType fonts only */
FontpanelObject,
  MUIA_Fontpanel_ShowCollection, MUIV_Fontpanel_ShowCollection_TrueType,
  End;




Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2017 by Thore Böckelmann, Jens Maus

MUI for AmigaOS - MUI-Autodocs

Updated: 13-Jul-2017

Last modified 5 months ago Last modified on Apr 4, 2017, 4:17:48 PM