Skip to content

MUI_Fontpanel

Thore Böckelmann edited this page Oct 11, 2021 · 4 revisions

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 V20 I.. 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-2021 by Thore Böckelmann, Jens Maus
MUI for AmigaOS Homepage
MUI for AmigaOS Wiki
Updated: 11-Oct-2021
Clone this wiki locally